• Breaking News

    Tuesday, October 30, 2018

    Google launches reCAPTCHA v3 web developers

    Google launches reCAPTCHA v3 web developers


    Google launches reCAPTCHA v3

    Posted: 30 Oct 2018 05:29 AM PDT

    I wish everything would read the book "Don't Make Me Think" by Steve Krug

    Posted: 29 Oct 2018 05:14 PM PDT

    The last several months have been especially frustrating while trying to do simple tasks on several web sites. It's like nobody has thought things through or even done any user testing.

    • Missing information, or incomplete guidance
    • Inaccurate or outdated information (even phone numbers!)
    • No way to navigate back after submitting a form
    • Complete disconnect between web and mobile (you have to register for a new account on mobile!)
    • Errors, never-ending spinners, help pages that are mostly useless or outdated
    • Stupid chat bots that do nothing but try to be nice to you and direct you to unrelated help links
    • No way to report feedback or technical issues
    • Dead links or support forms that don't allow free text or attachments
    • Design or minimalism over function and ease of use (I thought mystery meat navigation died in the early 90's)

    These issues are especially common with more popular websites and services. It's like when a "startup" passes a few thousand users, they completely give up on the product and website. Even more true if they have a mobile app, which they try to devote the most time towards and completely forget that a website still exists.

    Down vote away...if the moderators even keep this up.

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

    Are you one of the 10% of programmers who can write a binary search?

    Posted: 30 Oct 2018 09:50 AM PDT

    Are there any good self-hosted alternatives to Google's Recaptcha?

    Posted: 30 Oct 2018 05:54 AM PDT

    I'd prefer not to execute any scripts from third-party servers. Does anyone know of any good self-hosted Recaptcha alternatives?

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

    Learn how to refactor Vue.js Single File Components

    Posted: 30 Oct 2018 10:48 AM PDT

    Should I use cookies or localstorage? Or something else?

    Posted: 30 Oct 2018 09:28 AM PDT

    Hey, I've been developing a webapp on my free time to facilitate some stuff that we have to do at work and it basically consists of a bunch of select inputs and when you submit, it performs a search through an api and gets the results easily instead of doing it manually.

    Anyway, I want to develop a feature that lets me save my search query as a preset that I can load in future visits. What would be the best way of achieving that? I have not looked into cookies nor localStorage for now because I'm not sure if there's a better option than that also.

    EDIT: Not sure if it changes anything, but I'm using react js for said web app

    Thanks.

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

    .htaccess trailing slashes

    Posted: 30 Oct 2018 02:25 PM PDT

    I am a beginner web dev and I am attempting to convert one of my old wordpress sites into a vanilla JS/HTML and CSS website.

    The URLs on my wordpress site began with www and had trailing slashes at the end of every url (other than the home page). I have been attempting different commands via the .htaccess file I created and I managed to successfully remove the .html extensions from my pages and add the www prefix. However, despite numerous tries I have not been able to add trailing slashes to the URLs.

    I would appreciate any help.

    The following is my current .htaccess file:

    RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(.*)$ $1.html [NC,L] RewriteCond %{HTTP_HOST} ^[^.]+\.[^.]+$ RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [L,R=301] 
    submitted by /u/Maximilien_Bethune
    [link] [comments]

    How did you break into web dev?

    Posted: 30 Oct 2018 08:06 AM PDT

    Im trying to launch a web dev career but Im not getting any responses from my job applications.

    I've been coding for 2 years in VBA (used on MS Office applications) and I just graduated with a B.A. in Math. I know JavaScript, HTML/CSS, C#, basic SQL stuff. I built a website with a game and some other cool features. Im still not getting any responses from employers though.

    Do you guys have any stories/advice about how you got your first web dev job that could help a rookie?

    I appreciate your time!

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

    Puppeteer Recorder v0.5.0 now records Vue and React SFC webapps

    Posted: 30 Oct 2018 08:54 AM PDT

    Hi,

    this might be useful to this community. We just pushed a new release of Puppeteer Recorder, a Chrome extension that records your browser interactions and poops out a Puppeteer script. This new release allows you to supply a custom data-* attribute so the extension can track HTML element even if the class names are generated (common with Vue and React single file components). This extension is open source

    code:

    https://github.com/checkly/puppeteer-recorder

    installation & usage

    https://checklyhq.com/docs/puppeteer-recorder/installation/

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

    I need Ideas

    Posted: 30 Oct 2018 10:25 AM PDT

    Hi, work with Angular 6 and i search for some inspiration. I don't have ideas in this moment on webapp to create, some website to find ideas

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

    Appropriate session life time for ecommerce store (risks of extending it)

    Posted: 30 Oct 2018 03:31 PM PDT

    Guys hi,

    We have a php based ecommerce store and by default session life time is 24 minutes. We often had problem with people adding something to the cart than coming back 3-5 days after and having to add items again, so we implemented 30 day cookie for that purpose and it works great.

    Not we have another problem, if customer comes to product page than leaves it open in the browser for more than 24 minutes than "check availability" button is not working cause form validate fails (before adding to cart users need check availability and choose from currently available options)

    If was thinking about extending the life time to 1 day let say. But reading this reddit post suggests it's bad idea.

    What's the best way to solve the problem?

    UDATE: this ajax suggestion makes sense to me. Basically while the product page is open we can make the ajax ping to refresh this session.

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

    Does anyone actually build applications with Web Components?

    Posted: 30 Oct 2018 03:31 PM PDT

    How And Where Did You Get Your First Freelance Job?

    Posted: 30 Oct 2018 03:07 PM PDT

    And what was the nature of the job?

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

    What's the best way to finding a web developing agency?

    Posted: 30 Oct 2018 11:14 AM PDT

    Hi guys,

    I'm been tasked to find an agency (instead of one man show) to create our company's e-commerce website. Besides going to Google and searching "web agencies" (tons of hits), what is the most practical way you recommend I go about finding the right agency?

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

    Can someone tell me how the page transition works??

    Posted: 30 Oct 2018 08:44 AM PDT

    The Web Accessibility Introduction I Wish I Had

    Posted: 30 Oct 2018 05:31 AM PDT

    Not sure if this is the right sub for this, but what is going on here with this unsub page?

    Posted: 30 Oct 2018 10:16 AM PDT

    Wrapping up a REST-ful API for a project and I am wondering if I should use a GET or POST request to log in my users?

    Posted: 30 Oct 2018 09:56 AM PDT

    Just wrapping up the backend REST API for a project, so I am in polishing and refactoring mode before I start the frontend. Currently I am using a POST request for my user login route that gets a request body with the user's username and password. It works fine, no issue here. The argument that I have had with myself is that it feels weird in a 'REST-ful sense' to use POST to login and get a user's account, whereas a GET request feels more right here. However, I am not sure if it is acceptable to be sending a request body with a GET request, so I am stuck between the two.

    I took off to Google earlier this morning, and found this this: https://stackoverflow.com/questions/978061/http-get-with-request-body

    And the accepted answer says that:

    "Yes, you can send a request body with GET but it should not have any meaning. If you give it meaning by parsing it on the server and changing your response based on its contents, then you are ignoring the recommendation in the HTTP/1.1 spec, section 4.3:"

    My thinking now is that I am changing the response this route sends based on the request body contents. The body determines wether or not the route sends back a user account or an error. I am not sure how to interpret this. Does sending a password/username body in a GET request go against this? Is it still considered a REST-ful practice to use a POST request to get my users accounts?

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

    No-boilerplate global state management in React

    Posted: 30 Oct 2018 09:37 AM PDT

    Rails Boilerplate - A boilerplate to create Rails 5 apps easily and quickly

    Posted: 30 Oct 2018 05:34 AM PDT

    Backend dev looking for modern frontend/full stack advice

    Posted: 29 Oct 2018 10:01 PM PDT

    Hello there,

    I'm a backend dev looking for some experienced frontend/full stack advice.

    I usually work on apis and literally never touch the frontend or have bothered with it in years. On the rare case I've needed to build a small web app and not an api I have just built the frontend in django rendered on the back - ala traditional web.

    I've got some time off and I want to brush up my web dev and try a more modern approach, which I believe to be building an api and then a separate frontend to consume it.

    I have built the backend. I need to build the frontend.

    I stumbled across vue.js and it looked like something appropriate but after researching it a bit more it's already led to about 10 other things I need to move into and am now not sure.

    Basically my requirements are a simple api that processes a few form inputs and file upload, and returns said data - which I have built. And a frontend to interface with this. The front will have one page to submit the data, and another page to get the data by an id (which I send to the api).

    I don't want overkill libraries, tonnes of other tech to install and learn. I just need something effective.

    Some questions my research has raised:

    • At the most basic html/css level, do you use templates or how do you get the initial code, like doctype declarations? Googling for it each time? Some scaffolding thing that generates it? (I plan on using some template as my design skills are none).
    • Can a JS framework do all the frontend for me? E.g. the ajax submission and return of data on same page? On the detail page requesting the data by id from the api? Do I need 2 pages or nowadays can you put it in one page and do some routing?
    • Can I use nginx to run the frontend page? (I've seen node mentioned a lot but I don't want to use it if not necessary - I already use nginx to run my api and serve files).

    Already it has started to look complicated to me (backend is simple and idiomatic - I start a django project and had the basic implementation working in a day or so). I need something pragmatic and effective.

    Any advice is welcome! Thanks in advance.

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

    The Rise of Functional Components - React v16.7.0 (now with Hooks!)

    Posted: 30 Oct 2018 07:37 AM PDT

    Working for a Cannabis Company as a web developer

    Posted: 30 Oct 2018 11:12 AM PDT

    I was recently contacted after an interview by a Cannabis company to see if I am still looking for work. Sounds like they are considering me for the position. From what I remember is offering about 60k-65k/yr but no benefits.

    The problem is I recently got hired at a software company as a "Programmer/Analyst" to develop web based software, technically web development. The job is paying low 50's (yearly salary) but has full medical benefits, possibly the best in the country as described by the CEO who is a Canadian. I am set to start early Nov.

    Here is my concern:

    Does working for a cannabis company have an affect on my employability when applying to another job in the future?

    Is 60k (no benefits) better than ~50k with full medical benefits?

    Is 65k (no benefits) better than ~50k with full medical benefits?

    I need to make a decision today and not sure what to do.

    I think the Programmer/Analyst job sounds like something I would really like to take part of. Working with a group of developers would be awesome.

    I also like the developer position at the Cannabis company because, although I don't use it anymore, I do have a passion for it. It is also paying a better salary. I'm just not sure if the salary is high enough to compensate for no medical benefits.

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

    Is there a way to view all fonts being requested by my page?

    Posted: 30 Oct 2018 06:55 AM PDT

    Hi all. Is there a way to view exactly which fonts are being requested by my page, as well more information as where each is coming from?

    I ask because my site is displaying a cryptic mixed content error in the console, but only mentions that the URL of the font in question is located at https:. The full error is:

    Mixed Content: The page at 'https://www.horizonhomes-samui.com/' was loaded over HTTPS, but requested an insecure font 'https:'. This request has been blocked; the content must be served over HTTPS. 

    I've been trying to track down the cause of this for a few days, but I'm not sure how else to troubleshoot it. I'm hoping that somehow I can get a list of all fonts that are trying to be loaded, and glean some more information that way.

    FYI the site in-question is a WordPress site.

    Thanks in advance.

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

    How do site have like 1000 pages? I know they don't do it manually.

    Posted: 30 Oct 2018 10:16 AM PDT

    Imagine a website with 500 pages, they don't build every single page manually it would take a lot of time, how do they do it? Like, a page for a product on sale, how is it done?

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

    No comments:

    Post a Comment