• Breaking News

    Tuesday, December 18, 2018

    Google isn’t the company that we should have handed the Web over to web developers

    Google isn’t the company that we should have handed the Web over to web developers


    Google isn’t the company that we should have handed the Web over to

    Posted: 18 Dec 2018 03:29 AM PST

    r/web_design has gone nuts: �� �������� �� �������������� �������� �������� ������ ������ ���������� ���������� ���������������� ���� ������ ����������������.

    Posted: 18 Dec 2018 08:29 AM PST

    WebAssembly Is Fast: A Real-World Benchmark of WebAssembly vs. JavaScript

    Posted: 18 Dec 2018 11:38 AM PST

    Which way to do CSS?

    Posted: 18 Dec 2018 12:16 PM PST

    So in my first semester web dev class, we were taught to put every bit of our CSS in a separate CSS file, and then link it to the HTML. I thought this worked pretty good, and that's all I knew at the time.

    Next semester, a different instructor had us use the separate CSS file for all common stylings, but if a page had unique styling for just that page, we would use a style tag within that HTML on that page. At first I didn't know what was going on, but then it seemed to work pretty well I thought.

    But which one is the industry standard? I want to do the "proper" way to do it, but I don't know which is proper.

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

    In need of portfolio project ideas; Please help!

    Posted: 18 Dec 2018 02:27 PM PST

    Hi everyone,

    I have been digging deeper and deeper into web development, but sometimes I'm not so much the "ideas guy". Are there any portfolio projects that you think everyone should try their hand at?

    Thanks in advance!

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

    Right click download prohibited

    Posted: 18 Dec 2018 03:50 PM PST

    What part of this website: appball.jonaschmidt.com prohibits users to save the images directly from the browser?

    I wan to implement a similar mechanism on a personal webpage

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

    High quality free images

    Posted: 18 Dec 2018 03:33 PM PST

    A couple weeks back there was a post here about some (news?) organization opening up all of their images for free. I was looking for nice placeholders and background images and had no luck searching back through the post history. Any fellow web devs know about some sweet free pics location? (I'd use placehold.it but I also want a desktop background image for my PC)

    EDIT: I've been directed to Unsplash or Pexels, thanks all!

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

    Best CMS / Website Platform for Business

    Posted: 18 Dec 2018 03:28 PM PST

    Hi Folks- looking to see if there's any recommendations out of the "normal" mainstream (Wordpress, etc.) or one that is "up and coming." This is a "small" business (25-30 FTE) with low $xx-million in revenue (just to give a general idea of size.) We're working on a plan to revamp their website and it is currently somewhat integrated with an internal CMS. It's a decent website to boot, but they really want to focus on the ability for their internal marketing person to maintain and update as much of it as possible. The only part that is throwing us for a bit of a loop is the dynamic nature of the content and how the navigations will changed based on that.

    That's why I'm wondering if there are other options other than Wordpress that will better suit this project. The data source for the dynamic content can be turned into an API pretty easily. We can definitely build out Wordpress templates that handle it and pull from the API (with proper caching because the dynamic data won't change incredibly often, but enough that we need to worry about it changing.) The concern is more so the dynamic nature of the navigations. I guess they can be hard coded, but is the solution as simple as using an API to generate the dynamic menus as well into a Wordpress template?

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

    Free email service for simple contact form

    Posted: 18 Dec 2018 02:45 PM PST

    I've got a simple contact form on a single page app I have built. I want to be able to send any enquiries from the contact form to my email.

    Are there any free services out there I can use?

    Ideally if I just post some JSON to an api from my front end application and the api service handles sending the email?

    Any you can recommend?

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

    I've been given credentials to a site my company runs that has a bunch of PDFs in a directory, but need to download all of them to a local drive. One at a time is going to be soul-crushing. Tried various downloading tools but they all balk, are there any that can deal with passworded directories?

    Posted: 18 Dec 2018 02:38 PM PST

    High-Performance Web Fonts, Front-trends 2018

    Posted: 17 Dec 2018 10:09 PM PST

    Technology standards: Understanding Transport Layer Security

    Posted: 18 Dec 2018 08:22 AM PST

    Need to get a template up and running

    Posted: 18 Dec 2018 01:45 PM PST

    Novice here, haven't really worked on a website since I loaded up Frontpage and Dreamweaver in ye old days. I already have a simple Google Site. Want to make it better but no need to go the whole ten yards to build things from scratch. Thinking about using a template from here https://html5up.net/

    and just editing it to fit my needs. Want to know the simplest option to do so, preferably where I can drag and drop this template in. I'm guessing Google Sites won't let me do this? Optionally I'd like control of the website through bitbucket or github or a better option if someone has one for simple collaborative updating.

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

    Realistic review of my project ?

    Posted: 18 Dec 2018 01:40 PM PST

    Realistic review of my project ?

    So I am pretty new to programming (only know the basics + how OOP works), but Im willing to put in ~4hours/day for the next 9-12month in order to finish my personal project. What I want to ask you is if it is realistic to build an online casino with 1 or 2 slots and a blackjack table (maybe a rulette one too) in 12months starting from scratch. I also want to have a functional website with login screen which will record created accounts in a database etc . The casino will be with VIRTUAL money, NOT real money. What do you guys think ? Can I make the backend/frontend of the site/slots/blackjack table by myself in only 1 year ? Am I overlooking some important aspects of the journey?

    https://i.redd.it/a19x8rvmu3521.png

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

    How should I architect a system that allows a series of local computers to communicate with a central API?

    Posted: 18 Dec 2018 12:55 PM PST

    My question is probably poorly formatted but here is the context:

    • Installing over a hundred computers in different locations. Each one exposes its own API to access hardware specific details like number of drives connected, what's on each drive, etc.
    • Central API hosted in the cloud that can query the separate computers to retrieve status.

    Each computer, on its own, will be running a Node app. This app both continuously polls the hardware itself for updates, and fires off a POST call to the main server API when changes occur. The node app is also what exposes an API to the internet. Some of these API calls modify the hardware itself, like eject drives, etc.

    I've been looking into ngrok as a solution to expose each of these computers to the internet, but it seems like most people are using this more in a "local development server testing" approach. Is this a risky choice?

    I'm not entirely sure how else to achieve this. There is no ability to go to each location and modify the routing to handle port forwarding.

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

    Developing for the web with OS level font scaling in mind.

    Posted: 18 Dec 2018 06:56 AM PST

    How do people go about this?

    I'm currently working with a client who is a bit neurotic looking at the line height of everything. They've noticed there is an overlap in text when some heading tags wrap onto multiple lines. This is because they are on a windows machine which has font-scaling set to 150% by default, for me and my mac development environment this isn't an issue.

    I have been recommended to look at some DPI based media queries, however I don't think this addresses the problem. Is it a DPI issue? Surely thats for retina screens, not system level font scaling.

    First time I've come across this in 4 years as a developer, and I've worked at agencies before that would test everything down to IE6 to satisfy picky clients.

    My current position is that software for the web can't be developed with system level user preferences in mind. If a user sets a preference at an OS level then they are themselves making compromises. Am I right or wrong?

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

    Class: command not found

    Posted: 18 Dec 2018 11:25 AM PST

    Hi,

    When i try to run my script(ScriptCommand.php) with a Cron Task,

    "./public_html/protected/commands/ScriptCommand.php"

    it shows me this, but at line 9, it says "Class: command not found" i don't know why.

     ./public_html/protected/commands/ScriptCommand.php: line 1: ?php: No such file or directory ./public_html/protected/commands/ScriptCommand.php: line 2: /bin: Is a directory ./public_html/protected/commands/ScriptCommand.php: line 3: domains: command not found ./public_html/protected/commands/ScriptCommand.php: line 4: domains: command not found ./public_html/protected/commands/ScriptCommand.php: line 5: domains: command not found ./public_html/protected/commands/ScriptCommand.php: line 6: domains: command not found ./public_html/protected/commands/ScriptCommand.php: line 7: domains/: Is a directory ./public_html/protected/commands/ScriptCommand.php: line 9: class: command not found ./public_html/protected/commands/ScriptCommand.php: line 12: syntax error near unexpected token `(' ./public_html/protected/commands/ScriptCommand.php: line 12: ` public function getHelp()' 

    This is the class line 9 in the ScriptCommand.php i try to run

    class ScriptCommand extends CConsoleCommand{ public function getHelp() { ... } another public function () { ... } etc... } 

    I hope someone can help me! thanks.

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

    Can you make a link that automatically takes the current query string and appends it to the link?

    Posted: 18 Dec 2018 10:57 AM PST

    Say I'm on this page (page one):

    example.com/pageone?isuck=atwebdev

    I want to go to page two and keep the same query string WITHOUT making the link manually:

    example.com/pagetwo?isuck=atwebdev

    Basically I want the link to take the current query string and append it to the link dynamically.

    I say this because I can't control what the query string is going to be when people hit page 1. There are a bunch of sources and therefore a bunch of different strings that people can hit the page with.

    It could be ?wow=isuck or ?cant=makewebsites, etc.

    This isn't proper formatting but I'll write it like a math equation:

    example.com/pagetwo(InsertCurrentQueryString)

    where (InsertCurrentQueryString) grabs the current string.

    Someone was telling me about GET parameters but I have no idea what I'm looking at... sorry for the noobness.

    I'm using Wordpress and just started making sites a couple months ago so if there's any plugin or cheat or ELI5 that helps, it would be super appreciated.

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

    Develop, Test, and Deploy with Docker... right?

    Posted: 18 Dec 2018 10:08 AM PST

    I am building a web app in php. I'm fine working locally, but when I push updates to BitBucket (for testing and deploy to Heroku) it doesn't work.

    My work flow last week:

    Write code -> docker-compose up -> run tests -> tests pass -> push to BitBucket for automated testing -> tests pass -> deploy to Heroku

    I got as far as pushing to BitBucket , when I found out that I can't use docker compose there.

    Now I am building a single php+nginx dockerfile, but I'm unsure of how I should get my files to it: shared/mounted volume at run time, or baked-in/copy at build time.

    I know someone has done this before; I just haven't found their write up on it!

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

    Converting Sketch/PSD to HTML/CSS Help

    Posted: 18 Dec 2018 09:49 AM PST

    Hey! Can someone please help with the list of rules in choronological order which we need to follow while converting Prototype into code?

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

    Has anyone used Cappuccino framework (or similar) for a project?

    Posted: 18 Dec 2018 09:35 AM PST

    Hi everyone,

    we will be splitting our PHP app (B2B productivity) into discrete pieces early next year and I'm looking for some inspiration and experiences for the user-facing part. It is fairly complex (think JIRA) and the team is very small (i.e. 3 people). I stumbled upon Cappuccino (http://www.cappuccino-project.org/ ) in my list of interesting tools and was wondering if anybody here has some experience with it (or knows an interesting blog or the like)

    If not, I guess we will be using either a React-based stack or Elm going forward (the backend side of things will be moving to Elixir, so these make the most sense).

    Thanks everyone!

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

    I cant find / dont understand where this CORS error is coming from

    Posted: 18 Dec 2018 09:06 AM PST

    Greetings all I am having trouble spotting where this is coming from:

    Access to XMLHttpRequest at 'xxxxxxxx' from origin xxxxxxxxxx' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed. 

    A bit of background: The web server in use is Apache and is being hosted on a domain host. The exact errors are stemming from .webp files that are coming from a CDN (maxcdn).

    The only rules I have in my apache config that are anywhere related to CORS is this one :

    <IfModule mod_setenvif.c> <IfModule mod_headers.c> <FilesMatch "\.(gif|png|jpe?g|svg|svgz|ico|webp)$"> SetEnvIf Origin ":" IS_CORS Header set Access-Control-Allow-Origin "*" env=IS_CORS </FilesMatch> </IfModule> </IfModule> 

    The only other possibility that I have seen is actually inside of maxcdn's settings page, there I can also add a CORS header. Disabling it didnt do anything. However, commenting out the rule above spewed a ton MORE errors. Im confused about how to solve this error!

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

    Messages from my gmail are going to recipient's spam box

    Posted: 18 Dec 2018 08:34 AM PST

    I run a startup and normally mail people with links to my website and other details - and things had been running fine till the weekend. From yesterday onwards whenever I mail somebody with a link to my website, the mail is going to their spam box. If I mail without the link, then the mail reaches the inbox.

    I think it is a problem with respect to my website - and somehow Gmail is perceiving it negatively and blacklisting it. What could be the issue(s) and how can I solve the issue?

    Everything was good till the weekend - its just that from yesterday it has started.

    Any suggestions? It is an urgent issue and effects us big time.

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

    No comments:

    Post a Comment