• Breaking News

    Thursday, March 1, 2018

    Flash is nearly dead finally: only 8% of Chrome users still use Flash compared to 80% four years ago web developers

    Flash is nearly dead finally: only 8% of Chrome users still use Flash compared to 80% four years ago web developers


    Flash is nearly dead finally: only 8% of Chrome users still use Flash compared to 80% four years ago

    Posted: 28 Feb 2018 10:25 PM PST

    My Company's IT Team Is Amazing

    Posted: 01 Mar 2018 03:08 PM PST

    Is this what it means to be a web developer in 2018?

    Posted: 01 Mar 2018 09:03 AM PST

    I've seen a shift in some of the Web Development roles in my area. I remember when I started, web developers were treated more as problem solvers that had actual valued input to the website creation process.

    Now I've found myself in a role where it's extremely prescriptive. What I mean is that my input and objectivity to the direction of projects is discarded. I'm given tasks that are expected to be completed without being asked for input.

    Anyone else feel like a code monkey or is it just me?

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

    Too noob to be advanced and too advanced to be a noob [rant-ish]

    Posted: 01 Mar 2018 07:10 AM PST

    So this is just a discussion post about (not a real) problem.

    I'm a hobbyist. I wouldn't say that I'm learning programming, I'm learning to build stuff that I need. Let's say I know python and some JS. In some areas I am a beginner, in others - intermediate+. I use Django and recently got into React, which made me kinda like JS. But I don't have good fundamentals, I'm learning by doing and very rarely study the material on some subject any more after I achieve what I want. Because of that my code is not beautiful, it's probably not too smart, it's quite hard to maintain it after some time but it just works. I don't sell my code, I make my life easier by coding stuff that I need (invoice registry, booking system, inventory keeping and other stuff that I need day-to-day in my job). So far it works for me.

    The problem is that I would like to have a better understanding of what I'm actually doing, but the books/other material for beginners seem too boring because I know (or at least I think so) most of what is taught and more advanced topics are too hard because I don't have good fundamentals, lol. Anyone in the same boat as I am? Is there any material for lazy people like me whose attention span is that of a small puppy? Were you in a similar situation? What did you do to move on?

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

    I want to make a website that will showcase my company's coding and development proficiency. Looking for ideas, maybe you can help me out.

    Posted: 01 Mar 2018 01:20 PM PST

    I would like to make a website that will showcase our ability to create websites with special features using backend languages. I will be using this site to show to and attract clients that need software or web development services - not just small WordPress websites, but bigger projects that require custom coding work.

    I am looking for some ideas for this, are there any features that you think would be good for this? I'm not sure how much time I will devote to this project, but I'm thinking maybe between 50 and 100 hours. So not such a big project, but at the same time it needs to have some neat special features so that it can serve its purpose. If you think that that's not enough time, let me know please.

    Any suggestions or insight appreciated :)

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

    How to load only a few needed Bootstrap 4 modules using Gulp?

    Posted: 01 Mar 2018 12:25 PM PST

    In Bootstrap 3 I just had a copy of variables.scss and bootstrap.scss from node_modules inside my CSS folder, everything else was loaded automatically from node_modules using includePaths with gulp-sass. That meant that I could just set a few variables and uncomment files in bootstrap.scss insid my main SCSS file that I didn't want to compile (like modals, alert, tables etc) and everything else was clean.

    .pipe(sass({ errLogToConsole: true, outputStyle: 'compressed', precision: 10, includePaths: [ nodeFolder + 'bootstrap/scss', nodeFolder + 'bootstrap/scss/mixins', nodeFolder + 'bootstrap/scss/utilities' ] 

    How to do it for Bootstrap 4? I have updated paths but I get a lot of errors in terminal. It seems that variables.scss now needs functions and mixins which are inside many files. Do I need to import every file manually? I hope there is better solution?

    @import "node_modules/bootstrap/scss/_functions"; ... @import "node_modules/bootstrap/scss/mixins/_hover"; @import "node_modules/bootstrap/scss/mixins/_lists"; @import "node_modules/bootstrap/scss/mixins/_image"; @import "node_modules/bootstrap/scss/mixins/_border-radius"; ... // My default variables and Bootstrap main file @import "lib/bootstrap/_variables"; @import "lib/bootstrap/bootstrap"; // The rest of CSS that I use on website @import "main/general"; ... 
    submitted by /u/shkico
    [link] [comments]

    Measuring the Hard-to-Measure

    Posted: 01 Mar 2018 11:58 AM PST

    Facebook Login and Facebook's Platform Policy

    Posted: 01 Mar 2018 03:42 PM PST

    My startup has built a web app and we would like to integrate Login with Facebook. I'm trying to determine whether our particular use of Login with Facebook subjects us to Facebook's Platform Policy.

    According to Facebook:

    "Apps may ask for the following three permissions from any person without submitting for review by Facebook: public profile email user_friends"

    (https://developers.facebook.com/docs/facebook-login/overview)

    We only want to access these 3 permissions and therefore will not be undergoing Login Review by Facebook (in which Facebook's "review team actually use your app and will provide guidance and feedback to ensure you're meeting our Platform Policies").

    Since we are not undergoing Login Review, is our web app still subjected to Facebook's Platform Policy? There are several clauses in the Platform Policy that I find very concerning, such as:

    "We can analyze your app, website, content, and data for any purpose, including commercial."

    "You give us the right to link to or frame your app, and place content, including ads, around your app."

    (https://developers.facebook.com/policy/)

    We would love to improve our onboarding experience by including Login with Facebook but I'm not sure it's worth agreeing to those terms, especially since our product is competing somewhat with certain Facebook features. Does anyone have any guidance on this matter?

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

    Just another reason to boycott google amp. This was me, clicking on a link in reddit that pointed to an amp-page hosted by Google. They are really trying to make it annoying to use a VPN (pia in this case), and not just on their search page any more.

    Posted: 01 Mar 2018 03:05 AM PST

    A Few CSS critical / loadCSS Questions

    Posted: 01 Mar 2018 03:28 PM PST

    Hello,

    I am delving into CSS critical and loadCSS for the first time, and have done some research regarding ordering all elements within my <head> while taking into consideration my critical path. I didn't find many resources specifically concerning the ordering of elements within one's <head> while considering CSS critical/loadCSS, but did find a few pointers regarding the importance of having inlined above-the-fold CSS be ahead of any preload links, dns-prefetch/preconnect links, or scripts. I'm wondering if anyone here who is experienced with this stuff could answer a few of my questions while taking a look at my path below. For reference, I am primarily going off this article for ordering my elements: https://adamhollett.com/posts/2016/07/best-order-for-elements-in-head-tags/

     

    1) Is it best for the preload link for my below-the-fold CSS file (in addition to any other preload links, dns-prefetch/preconnect links, or scripts) to come AFTER my inlined above-the-fold CSS? This aligns with the notion that no preload links, dns-prefetch/preconnect links, nor scripts should come before the inlined CSS in the critical path whatsoever, and also negates the potential for the preloaded below-the-fold CSS from loading and executing asynchronously before the above-the-fold cascade on a really fast connection.

     

    2) I can't recall where, but I remember some resources/demos I found related to CSS critical where the preloaded CSS file contained ALL CSS (including the above-the-fold CSS that was also inlined). Does this make any sense, or should the file only contain the below-the-fold CSS—especially if the link comes AFTER the linlined CSS, and there is no potential for it to asynchronously execute first in the cascade (as I mentioned under my previous bullet)?

     

    3) Is anything above my inlined above-the-fold CSS in my path below a nuisance for the path, such as the Google Analytics script? Most resources I've looked at say to put the GA script at the very top, with other resources emphasizing that the charset/http-equiv/viewport meta tags MUST come before anything else. Or would it be better for my inlined CSS to go above EVERYTHING with the exception of my charset/http-equiv/viewport meta tags, thus having no external file links/DNS connections before my critical CSS whatsoever?

     

    <meta charset="utf-8">

    <meta http-equiv="x-ua-compatible" content="ie=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">

     

    <script>GOOGLE ANALYTICS SCRIPTS</SCRIPT>

     

    <title>PAGE TITLE</title>

    <meta PAGE DESCRIPTION>

    <meta A FEW OTHER META TAGS FOR THEME COLOR, APPLE MOBILE, & MSAPPLICATION CONFIG>

     

    <style>INLINED ABOVE-THE-FOLD CSS</style>

     

    <link rel="preload" href="BELOW-THE-FOLD CSS FOR loadCSS ASYNCHRONOUS/ONLOAD EXECUTION" as="style" onload="this.onload=null;this.rel='stylesheet'">

    <script>loadCSS SCRIPT FOR PRELOAD AND ASYNCHRONOUS/ONLOAD EXECUTION OF BELOW-THE-FOLD CSS FOR BROWSERS THAT DON'T SUPPORT rel="preload"</script>

     

    <link JQUERY PRELOAD LINK>

    <link A FEW PRECONNECT LINKS>

    <link A FEW DNS-PREFETCH LINKS>

     

    <link VARIOUS FAVICONS>

    <link CANONICAL>

    <meta OG PROPERTIES>

    <meta TWITTER CARDS>

    <script JSON STRUCTURED DATA>

     

    Thank you so much for any help in advance, and I hope I condensed everything in this post as best as I could.

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

    What's your favorite way to find out the name of a font you see used on a web page?

    Posted: 01 Mar 2018 03:13 PM PST

    I'll fairly often find myself going "Ooh.. what font is that?" when reading something on the web. The way I usually try to get an answer to that question is to right-click, Inspect Element, and run:

    getComputedStyle($0)['fontFamily']

    This gives me a list of the different fonts presumably specified or inherited from various parts of the cascade, and the specific font used also involves what fonts my browser is aware of.

    I was hoping to find some sort of quick, definitive way to fetch the actual font that ends up being displayed. And I know there are different ways to approach the issue. So I'm curious: How do you do it?

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

    Css grid will end bootstrap?

    Posted: 01 Mar 2018 03:11 PM PST

    Any reason to keep using bootstrap with css grid getting browser support?

    If I don't have to load extra js and jQuery on a page I'd rather not.

    Or are there use cases for both together? Or bootstrap over grid?

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

    [Drag&Drop UI] Looking for some tip/opinion/advice

    Posted: 01 Mar 2018 02:55 PM PST

    I want to do a simple interface, with a main div and two sidebar, the left one where I have blocks which I will drag for a main div and then I will connect them and a right one where I will have a list of properties of the block/object. An important thing is that the blocks will need to have some html forms and this is where my main difficulty is, because it depends on the block and sometimes I will need to dynamically create more points of connection depending on the options that the user select in the form.

    I dont know if my explanation was good enough but this is a tool to configure call flows for a given PBX. The backend process is already done with php to get the data and display it whithin some html tables and so. But for now, I have static frontend and I want to upgrade to drag, drop and connect interface.

    Guys who have experience on building this type of interfaces, do you have any advice on which framework that I should use? Thanks in advance

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

    Anyone ever use GoDaddy's domain purchase negotiation service or can recommend alternative?

    Posted: 01 Mar 2018 05:50 AM PST

    There's a domain I'd like to purchase (not for more than ~$150) that has a SmartName site parked on it. I have not been able to find any contact info for the owner.

    GoDaddy has a service where they offer to negotiate with a domain owner to purchase a site for $60. However, they do not provide you any details whatsoever about the terms, such as what price range they will negotiate it to, what additional percentage cut of the sale price they will take, what incentive they have to even try to get you a decent offer, etc.

    From my point of view, they have every incentive to simply make a ridiculously high offer for the site, tack on a big percentage cut for themselves, and simply take your $60 if it's too much for you. And as far as I can tell, you must give them your credit card number before you can even see the detailed terms of this deal.

    Seeing as how SmartName is owned by the same parent company, I figure they at least have the means of contacting the current domain owner. But I already had a low opinion of GoDaddy and I don't really trust them.

    Are there alternative negotiators I could work with? I would imagine any company that does this sort of work would be familiar with getting ahold of the owners of SmartName domains.

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

    ReduxX, lightweight, powerful, React state management library. Very easy to learn and set up

    Posted: 01 Mar 2018 02:34 PM PST

    What are a few of my options for creating a website/application like the one I'm describing?

    Posted: 01 Mar 2018 02:08 PM PST

    I know I want to use javascript/html/css just because those are really fun but what else more would I be looking at using for a website meant to teach people to program using pictures and pseudocode?

    It'd need to have a backend for sure to save user information and probably some sort of extra lightweight game engine I'm assuming (haven't done a ton of planning) to handle the coding people are picking.

    It'd be sort of like scratch but this is meant for kids with special needs that will incorporate images with things, like a table to represent an array/table etc.

    Maybe this is too vague, it's a very distant project that i need to get through the planning phase for but this is what I have so far. I do know the basics of programming, javascript, html, css and a few others. I know enough to pick up languages fairly easily with the use of documentation so I'm open to most suggestions.

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

    Thoughts on a vfx pipeline tracking and managing app

    Posted: 01 Mar 2018 01:50 PM PST

    Hi everyone,

    I'm posting here hoping for some advice, since r/python seems to overlook my post ;)

    I work in a vfx house, where I built a lot of tools using commandline python to organize, setup and version our work. These tools all interconnect with Google Sheets (which is being used as a database and production tracker on a project basis).

    Since Sheets doesn't have a lot of facilities to block users, hide information and track changes (for instance our client could be changing our budgets without us knowing, which would require a crosscheck with manual backups) I'd like to transfer our workflow on a classic relational database / web frontend scheme, something like a very stripped down version of Shotgun (http://shotgunsoftware.com)

    It would feature: - users with 4 different permission levels (supervisor/producer/artist/client-guest) - multiple projects - a task tracking view (per project) - a video plus comments view (per task), which I have already coded the frontend for with fabric.js - task ownership and versioning - api to subscribe and commit (per task), which will be used to integrate our existing python commandline programs. - a notification system (per user)

    I'd like the backend to be python based, since it would help a lot when integrating all of our existing tools without writing too much api, and also because apart from js/html/css our staff skill is python only (all of our dccs are python scriptable: maya, nuke, c4d).

    It's going to be internal only at the moment, but I dream the moment when I'll get all of our vendors and freelancers to use it instead of being micromanaged as they are now :)

    So the main question is, are there any resources which I can reference to gain insight on how to organize a project like this?

    I'm facing a bit of a hard time because I'm accustomed to code stuff for desktop (commandline) and internal lans, and I realized I lack a lot of common knowledge regarding web development in general.

    After researching a bit I came up with this stack idea, and I already begun to tackle the frontend side using some fake data in a big json file

    ** SERVER **

    The business side of things should go like this:

    • DB: still undecided about it, because our data can be expressed efficiently using different tables in a relational scheme, but can also be expressed using a non relational scheme through json (actually this would be way easier to do since a lot of stuff we have is json based, but i'm reading a lot of bad rep about non relational dbs - mongo above all). I guess it will be either PostgreSQL or mongo/couch

    • Language: Python (>3). Well, obviously, that's our main bread and butter.

    • API: REST style api, for fetching and pushing data to the db. Also to handle auth and getting http server side events.

    • API framework: Falcon. I've gone through the examples and got some basic stuff working internally, it's good. Did not tackle auth though, so i don't know if it will turn out painful. Same goes for SSE, we'll see.

    • Server: python WSGI compliant. I'm nibbling with waitress atm since i'm on windows, will probably be replaced by either bjoern (since everyone say it's so speedy) or cherrypy. Windows support is a must. Or i could continue with waitress.

    • Reverse proxy server: either Caddy or Nginx. I'm considering Caddy since it's TLS ready from its inception and seems a lot easier to configure than Nginx.

    ** FRONTEND **

    Frontend is intended as a web app:

    • Mixed MPA-SPA on the browser

    • and probably on electron (that's what i'm building right now)

    • using Vue.js, vuex, vue-router, axios with a webpack setup.

    Which is a joy to work with.

    ** PIPELINE **

    The data pipe should be like this:

    • user opens app (some-server.com/login)

    • http post to authorize through rest api -> falcon -> db.

    • user gets data from rest api from vue and axios -> interface presents reactively

    • user changes data -> post/put/patch to rest api -> falcon -> db changes.

    • db sends a server side event through previous connection -> client receives and if subscribed to event vue integrates data -> interface updates reactively.

    Since it's not a realtime chat i would avoid using websockets, that's why I thought about sse. From what I reckon on the internet it should work well with postgres pubsub/notify features.

    I am SO sure i missed something.

    Suggestions anyone? (And sorry for the long post)

    Thanks!

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

    I'm not too familiar with back-end programming, but I would like to implement a voting system on my website. What is the best way to accomplish this?

    Posted: 01 Mar 2018 01:47 PM PST

    Basically, I will have a list of local restaurants, with an upvote/downvote button. How can I keep track of the total number of votes? As an add-on question, how can I prevent the same IP from voting again?

    With these number values, I want to be able to use a sorting algorithm to rearrange the list.

    Lastly, what language / framework(?) would you recommend I use (Node.js, Django, PhP, etc)?

    Thanks!

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

    Is Parse still used in 2018?

    Posted: 01 Mar 2018 01:17 PM PST

    I took another look at Parse (the Baas formally owned by Facebook), and since Facebook open-sourced it it looks like people are still using it and maintaining it.

    Does it make sense to use it in 2018?

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

    Want domain already purchased by someone

    Posted: 01 Mar 2018 01:15 PM PST

    As the title says, one of my clients wants a .com domain that is being used by someone but it redirects to a completely different url.

    What is/are the process/steps in contacting this person to potentially buy the domain from them?

    Thanks in advance!

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

    Interview for A UI/ Front-end dev position. What to expect?

    Posted: 01 Mar 2018 12:39 PM PST

    Hello people, after a phone screening I have made it to the first stage of the interviewing process to a startup.

    The position is for a UI/ Front-end developer, from what I gather it is mostly HTML, CSS, Javascript(JQuery); Building interactive web pages.Basically, the position seems to be designing and mocking up pages with some interactive feature with a focus on user experience.

    The job matches perfectly with my skill level, I don't have experience with frameworks (react etc) but I can create interactive pages with Javascript(so mediocre javascript skills).But I have very strong design skills.

    Has anyone been in a similar position where they are not quite fully Front-end and not quite fully UI?

    What was the interview process like?

    Would love to learn from people who have previously been in my position.

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

    What's the easiest way to get API results into a spreadsheet?

    Posted: 01 Mar 2018 12:20 PM PST

    I'm trying to find links to specific iTunes songs by title.

    I've been using their API for searches like this:

    http://itunes.apple.com/search?term=Like+a+Rolling+Stone&limit=1

    I have a few thousand titles, and I'd like to get the results for each into a spreadsheet.

    I know a fair amount about Excel--but little about programming/developing.

    What's the best way of getting the results of thousands of API calls into a spreadsheet--bearing in mind that iTunes' API is limited to 20 requests per minute?

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

    9 Tools And Libraries To Boost Your React Component Workflow

    Posted: 01 Mar 2018 08:13 AM PST

    Sorry if I’m in the wrong place. But have a FDM4 question?

    Posted: 01 Mar 2018 11:41 AM PST

    Our links to our FDM4 won't work when linking from Facebook shop. For example. The product link copied and pasted anywhere else will take you to the store, except when it's pasted in the product link on a Facebook shop. Just goes to a blank page and page stops loading. Any suggestions?

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

    No comments:

    Post a Comment