What is the worst / weirdest way a client has not understood how websites work? web developers |
- What is the worst / weirdest way a client has not understood how websites work?
- How to prevent burn out?
- Chrome 76 does not display https or www in address bar
- thinking of telling my client to just use W*x and get rid of my headache
- How to setup CORS for a Single Page App
- Is it good to use sqlpostgres or sqllite as database with express and sequelize as a backend?
- There are many sites that, on full page reload/refresh, only visibly reloads a few elements, like some images, while things like backgrounds and text do not flicker at all. How is this done?
- Any good books/articles/courses for a self learner to get their HTML markup structuring to a professional level?
- 502 (Server Hangup) for just one user?
- In this HTML mark-up, would it be better to use "section" or "article" ?
- Where to upload my work?
- Uploadifive Out of memory error in Firefox on files over 15MB
- Converting obj file into an interactive web element?
- Do you always develop mobile first?
- Is there a Chrome Extension that will allow me to change a specific style component of a page?
- How you should organize your code anyway?
- How to use my laravel server as a proxy to retrieve private s3 files and display them publicly?
- Today's JavaScript React Developer Interview! Phew!
- How much should I ask for this site.
- Need help with CORS when deployed to Heroku
- A practical guide to CSS transitions and animations
- Desperately need career advice! Please Help!
- After one year of holding the title of "web developer" I need clues about where to focus
- [Question] Building a review site by myself, will you please help with pros and cons and what questions I should be considering for these two architectures?
What is the worst / weirdest way a client has not understood how websites work? Posted: 02 Aug 2019 02:31 AM PDT I sent an email to a client yesterday with a typo in a URL inside the email (her website uses "4sale" in the domain and I had typed "forsale"). She messaged me back immediately saying that the link brought her to a different website and that I had to rebuild the page immediately so that it wouldn't be on her competitor's website. So first of all, she didn't realize that she could have just corrected the typo in her browser's address bar. And second, and more bizarre, she thought that somehow I was able to plant content on her competitor's website without them knowing? I'm sure there are worse stories out there... [link] [comments] | ||
Posted: 01 Aug 2019 09:51 PM PDT Hey all. I've been programming for 4 years now. Been a professional engineer for the last 3. In a good, stable job, yada yada. But lately I've felt so burned out. I don't hate work, but I sit down at my desk and reading code just feels so boring. I still want to learn more and I am occasionally in a positive mood about getting work done, but most of the time it just feels like a slog. It's been like this for about 6 months now. I have projects I want to work on too, and there's tech that looks exciting, but I just don't have it in me to open up the editor. So any advice to prevent the burn out? Edit:: wow. I was not expecting so many responses. I'll get to these when j get home from work. Thank you all! [link] [comments] | ||
Chrome 76 does not display https or www in address bar Posted: 02 Aug 2019 01:25 AM PDT
| ||
thinking of telling my client to just use W*x and get rid of my headache Posted: 02 Aug 2019 02:02 PM PDT I'm working in wordpress, I've customized the theme a bit, put in my own custom php form, a bit of messing around some custom stuff in widgets etc., but my client is always wanting some new feature that he saw on a competitor's site (call to action pop ups were today's feature request) and they have trouble with the reality that for me to program that from scratch takes some time. The site they keep referring me to as features they like is a Wx site, so today I am sitting here thinking (before I start to tackle the pop up idea) I should just tell them "let's just get rid of the wordpress site and I'll set you up on Wx instead". But I'm still not sure, maybe I'm just burnt out. Have any of you gotten this frustration where what seems like a simple request from a customer (because everyone has this on their site) just looks like a painful task to take on compared to how easy it might be to put them on a pre-built cookie cutter solution? edit: or maybe I need a change of enthusiasm and build the custom solution to this feature with the thought of re-using it later for a future client if the need ever comes up again, although there is no way I can charge this customer for the time it will take to build this properly..... anyone have thoughts on this kind of problem you might have faced? I'm kind of going in circles here with how I should handle this [link] [comments] | ||
How to setup CORS for a Single Page App Posted: 02 Aug 2019 06:08 AM PDT | ||
Is it good to use sqlpostgres or sqllite as database with express and sequelize as a backend? Posted: 02 Aug 2019 02:55 PM PDT | ||
Posted: 02 Aug 2019 07:56 AM PDT An example is tailwindcss.com. Even on hard reload ("empty cache and hard reload"), the behavior is the same. I initially suspected something like service workers are at play here, but I'm not too familiar with them. What is this behavior called, and how is this achieved? Thanks! [link] [comments] | ||
Posted: 02 Aug 2019 06:31 AM PDT I have been learning web dev (HTML, CSS, JS) for 15 months now. I love it and have built a few personal projects. I'm going to start applying for jobs soon but I'm very self conscious about the way I structure my HTML markup. I feel like each time I build a page or navbar, I do it differently. It's the main area I feel I don't have any idea about efficiency or best practice. My projects all look fine and work well but I want to make sure I'm doing things the "right" way regarding HTML structure. Am I over thinking this? Any good resources? [link] [comments] | ||
502 (Server Hangup) for just one user? Posted: 02 Aug 2019 03:41 PM PDT I'm running a smallish website on an AWS EC2 instance, and just in the past month have been getting 502 errors from time to time for a single user. Given that this is just happening for one user, and he may be logging in from a new location for the summer, I assume this is related to something on the user's end, but thought I should run the error by the folks here. Any experience with this type of situation? Thoughts on why it might be happening or how I can diagnose? Thanks for your time! [link] [comments] | ||
In this HTML mark-up, would it be better to use "section" or "article" ? Posted: 02 Aug 2019 05:45 AM PDT
[link] [comments] | ||
Posted: 02 Aug 2019 11:39 AM PDT I designed a UI for a responsive website but now I want to go on and code for it but I don't know how I'm going to include it in my portfolio. I used adobe XD and I'm gonna code on Visual Studio Code, just had to figure out Sass as I was new to it but now I know how to use it and I'm still learning. Did all this today. Is sites like bechance (Displaying design pages) good for this or should I use Github and try to display the whole project there? I'm working on other projects as well. What would you advise for someone wanting to get a Junior or entry level position fast? Please advise.. [link] [comments] | ||
Uploadifive Out of memory error in Firefox on files over 15MB Posted: 02 Aug 2019 03:11 PM PDT Client is using Uploadifive to upload files. Chrome has no issue, but Firefox (68.0.1) shows "uncaught exception: out of memory" when uploading files over 15MB. I'm not too familiar with Uploadifive, but apparently it was working before. Any ideas? [link] [comments] | ||
Converting obj file into an interactive web element? Posted: 02 Aug 2019 02:57 PM PDT I'm not sure if this is possible, but I have a client who does a lot of 3d model work and I'm building their new site. Right now they have a bunch of work samples in a .obj format that they upload to sketchfab, but I'm finding that their iframe embed option is very slow to load, and I'm having to hide them with a toggle button currently just so they don't drag everything else down. They also have an ugly frame around them like a video player that I'd love to avoid. I'm wondering if there are any practical ways to convert these to more lightweight and web friendlt 3d elements while still maintaining the ability to click and drag them as a 3d object (or I'd settle for a fixed rotation animation if necessary). Edit: Maybe Three.js? I'm on mobile right now so I can't test it but if anyone has experience with it please let me know if it's what I'm looking for. [link] [comments] | ||
Do you always develop mobile first? Posted: 02 Aug 2019 02:52 PM PDT Do you have your main focus on the mobile version, then scale it up from there? [link] [comments] | ||
Is there a Chrome Extension that will allow me to change a specific style component of a page? Posted: 02 Aug 2019 02:38 PM PDT I don't know where else to ask, but I can't find a simple solution. I've tried looking at userscripts but that's led me to dead ends. The site loads with the following from the server: and I'd like to automatically change the height to be auto instead of statically coded to 500px: Is there a simple way to do this based on the ID always being [link] [comments] | ||
How you should organize your code anyway? Posted: 02 Aug 2019 10:33 AM PDT So this is might be not that of a technical question, but more about opinions. I mostly work on the backend side of the web, and I have seen some big and old codebases (4 years is already considered old, right?) with a lot of debts. Now while working on my own hobby project, I started wondering, how should you structure your codes anyway? In a nutshell my question is, should you do or I started with the first style, and many of the articles on internet said that this is a best-practice, but having work on some old codebase where I have to scroll to the right file in the tree explorer (because I'm bad at remembering filenames), I think that the latter style is better since you usually work in a topic-centered work, like, you want to work on animal-related things so the latter style helps you on finding the right place to find the code. I totally expect some comment saying like "isn't that is common sense" but a lot of articles and guides I read recommend the first style, so I'm having some doubts now. Thank you for reading! [link] [comments] | ||
How to use my laravel server as a proxy to retrieve private s3 files and display them publicly? Posted: 02 Aug 2019 02:12 PM PDT Using Laravel I can access files in an s3 bucket using: This kinda works, it retrieves the data from s3, but when I navigate to the file I get encoded garbage text, like it's trying to display the file as text. I have a variety of file types, jpg, png, pdf, mov, etc. I'm probably missing something simple, any ideas? UPDATE Wound up having to do with Laravel's response. Changed my output to this: And it's working. [link] [comments] | ||
Today's JavaScript React Developer Interview! Phew! Posted: 02 Aug 2019 06:21 AM PDT I had these questions in the interview just now ```js const spaceShip = { name: 'Chandrayan', get1: () => { console.log(this.name); }, get2: function (){ console.log(this.name); } } spaceShip.get1() spaceShip.get2() ``` now I know that spaceShip.get1() won't print out anything but if I want it to work the exact same way how the get2() works how do I bind it? I was trying to bind
```js const person = this.state.person; const person = {...this.state.person}; ``` what if we change the value person.name I know in the second case the value will be changes because that person is a whole new object but in the first case will it change the value in this.state.person too?
```js function myPoll(fn, timeInterval, endTime){ var checkCondition = function(resolve, reject) { var result = fn(); if(result) { resolve(result); } else if (// for the time checking) { setTimeout(checkCondition, interval, resolve, reject); } else { reject(error); } }; } ``` but then he dropped it.
```js Promise.all([pr1, pr2, pr3]).then().catch(); var resolvedPromises = []; [pr1, pr2, pr3].map((item, resolve, reject) => { var result = item(); if(result){ resolvedPromises.push(resolve(result)); } else { return reject(result); } }) ``` so I tried explaining that I will store the promise in result and then push it into the array and at the end of all iteration the resolved values of all promises will be stored in that array. But then again he asked that what if the promises doesn't get resolved or rejected than how should you tackle it so I modified the code this way
then he was also confused on what to ask but that's how the interview ended, without even allowing me to ask them anything. I guess I shouldn't hope for a win today. [link] [comments] | ||
How much should I ask for this site. Posted: 02 Aug 2019 01:23 PM PDT This is my first site for a client, (I know the client personally) and I am not comfortable asking for an hourly rate yet. Therefore I'd like to ask for a fixed price upfront. However, IDK how much I should ask. Because of that, I'd figure maybe I should ask for a new specced out laptop. I build the site, he buys me it. The laptop would be a top of the line all components Macbook Pro (I am in dire need of a long-lasting upgrade, 3500-4500 bucks). The site is a normal site with a webshop attached, preferably I would make it all in GatsbyJS with Stripe attached for payments. Of course, the client doesn't care how it is built as long as it works. The site development starts around April of 2020, before that I will do design and maybe a bit of development. I have not set a deadline, neither have they. Thoughts? [link] [comments] | ||
Need help with CORS when deployed to Heroku Posted: 02 Aug 2019 01:00 PM PDT Back story:I had a post yesterday asking about how I should deploy my web app to Heroku. I ended up choosing to keep my frontend and backend (vue and rails respectively) separate and deploying both to Heroku as two apps. As of right now both are deployed. However, when I try to do an api request, I get the following error. Error:"...Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource" I looked on stack overflow and medium articles and did the following for my rails "cors.rb", which is located in the config/initializers directory. Code``` Rails.application.config.middleware.insert_before 0, Rack::Cors do allow do origins '< my frontend url>' end end ``` I also have a backend folder inside my vue to deal with axios (I was following a tutorial by webcrunch on youtube) ``` import axios from 'axios' const API_URL = '<my backend url>' const securedAxiosInstance = axios.create({ baseURL: API_URL, withCredentials: true, headers: { 'Content-Type': 'application/json', 'Access-Control-Allow-Origin': '*' } }) const plainAxiosInstance = axios.create({ baseURL: API_URL, withCredentials: true, headers: { 'Content-Type': 'application/json', 'Access-Control-Allow-Origin': '*' } }) securedAxiosInstance.interceptors.request.use(config => { const method = config.method.toUpperCase() if (method !== 'OPTIONS' && method !== 'GET') { config.headers = { ...config.headers, 'X-CSRF-TOKEN': localStorage.csrf } } return config }) securedAxiosInstance.interceptors.response.use(null, error => { if (error.response && error.response.config && error.response.status === 401) { return plainAxiosInstance.post('/refresh', {}, { headers: { 'X-CSRF-TOKEN': localStorage.csrf } }) .then(response => { localStorage.csrf = response.data.csrf localStorage.signedIn = true } else { return Promise.reject(error) } }) export { securedAxiosInstance, plainAxiosInstance } ``` I am attempting to sign up, so that means it should do a TLDR: I need help navigating around CORS for two heroku apps (backend and frontend). Edit: Here's my application_controller ``` class ApplicationController < ActionController::Base include JWTSessions::RailsAuthorization rescue_from JWTSessions::Errors::Unauthorized, with: :not_authorized private end ``` [link] [comments] | ||
A practical guide to CSS transitions and animations Posted: 02 Aug 2019 12:56 PM PDT
| ||
Desperately need career advice! Please Help! Posted: 02 Aug 2019 09:06 AM PDT Hello fellow coder Redditors, I don't know where to begin. I live in Toronto, Canada. I've built computers my whole life, I know them inside out (even down to the transistor level, qualitatively). I've worked with command-lines, Linux, etc. I could probably pass the compTIA A+ with a month or two of studying since I know and understand the fundamentals. I programmed in Grade 11 and 12 of highschool (Java, HTML, CSS/XML/PHP, Javascript). I was very fond of programming, but discouraged from it earlier on because of my earlier failures (I was surrounded by kids who took private classes and were far ahead of me at the time. I just assumed they were smarter than me.) I went on to do a classical education, thinking I would become a lawyer, fully moving away from computer science. I have a BA (poli sci) and an MSc (policy). I decided not to do a law degree because I heard terrible things about the career and the legal job market, and my student loans were already weighing me down. I really enjoyed what I learned. I've read a shit-ton of history, politics, economics, etc. and I know how the world works, but I but it doesn't pay the bills -- especially since I can't find a job in my field (without the connections I don't have) despite my best efforts. 10 years later, I'm 27 now. Not old by any account, but also not with the plastic-brain of a 19 year old. I'm kicking myself in the ass for not moving forward with computers. I really want my career to pick up and to make a good living. I'm smart, I work hard, I learn fast, but it feels like I'm falling badly behind my peers, despite all of my efforts, and it really hurts. People are buying cars and condos, making 90+K, while I'm still struggling to find work. I don't want to work at a cafe or settle for a low paying admin job. I was looking at web-development jobs and they seem to pay really well for skills that seem relatively easy to me and that I partially have. I know I can (re)learn this stuff to a decent degree, it's not difficult to me. I know I won't ever be on the level of a math-wiz gone into to MIT comp-sci, but I am more mature now and can grasp more complicated concepts than I could when I was younger. I don't know how long it will take me to pick up everything, but I can't imagine it will be too-too long. It seems everyone is writing articles about getting a high-paying job with 6 months programming experience. This seems ridiculous to me. How can you learn to code anything efficiently in 6 months? Becoming a good programmer takes years! I want to believe these stories and put in a few months and get an entry-level job, but I'm afraid I'll just end up wasting my time and end up bitter and jaded. My friend's dad immigrated to Canada at 50-something, studied for a year with no programming knowledge at all, and got a job as a full-stack developer at a cloud company in 1 year. This is inspiring, amazing for him and I love the guy, but at the same time it makes me wonder, are companies really that open to hiring newbies? Is the industry really that starved for entry-level programmers? Where will the field be in 5 years? The problem for me is time investment. Will my time invested provide me with appropriate returns? Can anyone link me with any down-to-earth resources (not on how/where to learn this stuff), but rather those that detail their leap into the field, how long it took them, and how deep their preliminary knowledge was prior to interviewing? What's your take? Any feedback would be helpful! Thanks so much! [link] [comments] | ||
After one year of holding the title of "web developer" I need clues about where to focus Posted: 01 Aug 2019 07:04 PM PDT I've been at a niche ecommerce company for a few years doing government contract stuff and last year I had the opportunity to become the sole in-house "web developer", as they call it. It came with a small raise but I'm below market. But one year later I still don't feel my developing skills evolved at all. My best description would be a crappy web developer/designer who knows a little about everything (not necessarily about programming). My goal was to be applying to a larger ecommerce company by now. It started great because in the first month I was able to solve problems the freelancers weren't able to fix. I started learning about UX, expanding my web design skills, doing email marketing, etc. and applying positive changes. The problem is I can't remember the last time I used javascript. If I used PHP in the last month it was probably to fix issues, not create. I use CSS more often than anything. The one recent achievement is migrating us out of GoDaddy and saving thousands of dollars a year. I have a list of ideas and designs I want to create but there's never enough time. Sometimes I spend the day working on requests by the SEO or PPC agencies helping us out. I love working in ecommerce but it's been a year and don't have the skills to move up. I get inspired by sites like B&H, Staples, Best Buy, Jet, Adorama, Zappos, etc. Their developers are always evolving their sites and trying new things to stand out. (Sometimes I want to just find them on LinkedIn or twitter and ask how they did it). Or I'd use software like Klaviyo, Ahrefs, Feedonomics, Help Scout, Figma, New Relic, and they're always hiring and hitting milestones. Lost is how I feel. I've strayed off the path that most web devs here have followed. [link] [comments] | ||
Posted: 02 Aug 2019 05:49 AM PDT It's a review site with multiple account types: admins, writers, and readers. There will be photos and likely some video. I have other ideas for down the road (new data points that I haven't foreseen-just have the feature in mind). I'll write the browser interface in React.js first and eventually write React Native, as well.
I think I understand that GQL and Prisma are just abstraction layers on top of what is MERN, and I might just be asking for pros and cons of implementing GQL and Prisma, as well as Mongo or Postgres. [link] [comments] |
You are subscribed to email updates from webdev: reddit for web developers. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment