• Breaking News

    Wednesday, August 14, 2019

    Docker changed their icons. Goodbye friendly whale :( web developers

    Docker changed their icons. Goodbye friendly whale :( web developers


    Docker changed their icons. Goodbye friendly whale :(

    Posted: 14 Aug 2019 09:02 AM PDT

    Crazy idea, what if all these dumb cookie pop ups were managed in a browser setting "I accept cookies".. So when I browse the internet I am not getting spammed by popups on every site

    Posted: 14 Aug 2019 03:41 AM PDT

    as title specifies, browsing the internet is dumb at the moment, I am totally fine with cookies and don't want to be interrupted everytime I visit a website

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

    UpdateYourPass.com | A directory of direct links to Update your passwords on web services

    Posted: 14 Aug 2019 11:29 AM PDT

    3 Kinds of Good Tech Debt

    Posted: 14 Aug 2019 07:47 AM PDT

    Is there a better way to convert data in a SQL server to a javascript object?

    Posted: 14 Aug 2019 02:36 PM PDT

    So I'm working for some people with very limited hardware resources and I'm having a hard time coming up with a way to efficiently pull data off of a SQL server and load it into a javascript object. I'm using MVC architecture with entity framework.

    A SQL query is returned form a stored procedure called in the model. The stored procedure itself can't be improved as it's literally just a select all with a single parameter and single where clause. I had thought about using JSON auto to get JSON straight off the SQL server but unfortunately it's SQL server 2014 and thus locked to compatibility level 120.

    The query is stored in a anonymous type which is converted to JSON using newtonsoft and stored as a public string in the model used by the view like so:

    var myquery = databasecontext.mystoredprocedure(parameter); myJSONstring = JsonConvert.SerializeObject(myquery); 

    In the view it's converted to a javascript object using:

    JSON.parse("@HttpUtility.JavaScriptStringEncode(Html.Raw(Model.myJSONstring))") 

    That object is then tossed into a JQuery plugin which handles the presentation of the information.

    This methodology works flawlessly. However as I mentioned these people have little in the way of hardware and the table being pulled from is over 100 columns wide with 5 figures worth of entries in some cases (let's assume it can't be broken up). Needless to say there are performance issues.

    My question for reddit is whether there is a better way to do this or at least shift some of the burden to the client side?

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

    What is the best CMS in 2019 for landing pages that is a great developer experience

    Posted: 14 Aug 2019 01:21 PM PDT

    I have been working with wordpress for a bit, but am interested in what other options there are that provide the great utility but also provide a great developer experience.

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

    Here's how to ask for cookie acceptance or other kind of tracking properly

    Posted: 14 Aug 2019 01:14 PM PDT

    Hey guys, there's a thread about cookie notices at the top right now. I noticed that most of us offer opt-out instead of the required opt-in. And many are aware of it.

    I decided to share how I'm doing the cookie notice in the opt-in way. Maybe that will be useful for some if you want to actually comply with the law instead of tracking everyone who enters.

    For the notice I use this cookieconsent tool. It's good looking by default and easily customizable via both options and even custom css/html. So that's the first line.

    js <script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script>

    Then I wrap the GA in a function so it's launched when it's supposed to launch instead of executing on load. Here you should launch your analytics and anything else that requires the opt-in cookies. Of course, rename it appropriately, like letTheCookieBakersLoose or smtn. ```js <script> function enableGa() { (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

    ga('create', 'UA-XXXXXXXX-X', 'auto'); // insert your own code ga('set', 'anonymizeIp', true); ga('send', 'pageview'); 

    } // split to include explanation, normally I'd continue in the same <script> </script> ```

    Then we will initialise the cookieconsent plugin in the opt-in mode. It will take care to display the notice and remember the choice. We use two callbacks - onInitialise where you enable cookies if they are already accepted before and onStatusChange if user accepts them now.

    js <script> window.cookieconsent.initialise({ type: 'opt-in', onInitialise: function (status) { if ('allow' == status) enableGa() }, onStatusChange: function(status, chosenBefore) { if ('allow' == status) enableGa() } }) </script>

    Of course, usually there's some more customization in styles and localization, but you can use GUI on their site to get most of what you need done. Really nice editor, one of the only cases where I enjoy point-and-click programming/code generation. And it will produce nice code that's easy to tune and extend, not some obfuscated blob like the GA one.

    If not pressed by the client, I suggest to put the notice in the bottom (less obtrusive) and honestly ask what you want. Here's our default cookieconsent content:

    js content: { message: 'This website would like to use cookies and Google Analytics to make visit statistics.', dismiss: 'Deny', allow: 'Accept' },

    Few notes according to my understanding of GDPR and the cookie law. Not a lawyer, but I read the papers and official annotations.

    • You don't need any notice or agreement for cookies that aren't used to track the person and are actually needed to make site work. The classic example are login/session cookies. The cookie that remembers "this fellow accepted/denied marketing cookies" is also fine. Unless you abuse it for fingerprinting.
    • Working with functionally-critical data (delivery address, for example) does not require consent, but user must be notified (it doesn't have to be a popup) and there should be a write-up of your data collection and storage processes.
    • I don't think there is any market for opt-outs. Either it's really needed or requires intentional opt-in.
    • You need consent for any tracking. That means that the default access logs in your web server also require consent. And don't even imagine that local storage is somehow exempt from the cookie laws.
    • It's fine to count visits without identifying the visitors (so no unique/returning info). Thus you can produce "we get 110 000 visits per month and here's the visitor demographics, produced by the visitors who allowed data collection; they represent 49% of the visits"
    submitted by /u/Tontonsb
    [link] [comments]

    Learn motherfucking website design with four motherfucking links only.

    Posted: 14 Aug 2019 01:01 PM PDT

    Fucking start here:

    https://motherfuckingwebsite.com/

    Then go fucking here:

    http://bettermotherfuckingwebsite.com/

    Your next fucking step is this:

    https://thebestmotherfucking.website/

    And when you are done with all of this, fucking check this for some fucking contrast:

    http://everyfuckingwebsite.com

    Motherfuck.

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

    The most beginner book

    Posted: 14 Aug 2019 04:41 PM PDT

    I am mostly through with my bootcamp (flat iron school) and my gf's roommate, who is a developer, recommended cracking the coding interview. As I was reading it I realized a was missing a lot of core CS knowledge, since a lot of the topics, such as big O for instance, were completely alien to me upon reading them. So as someone with no background in CS other than my bootcamp, what are the very first books I should read to gain a better understanding of core CS concepts?

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

    Any of you guys getting phone-calls from IONOS (1&1) talking about SEO optimization ?

    Posted: 14 Aug 2019 04:30 PM PDT

    I got a phonecall from someone claiming to work for IONOS yesterday.

    They knew my name, and what domains I have. I think it might have been legit since this info is privacy protected.

    However, the person seemed to want to sell me some SEO optimization. I got to thinking, "no webhost has ever called me like this, this might be a scam"

    Anyone else had this from IONOS ?

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

    Please, everyone, put your entire development environment in Github

    Posted: 14 Aug 2019 04:19 PM PDT

    Does anyone know how to replicate this feature? What you write in CC number gets replicated on the virtual card.

    Posted: 14 Aug 2019 04:12 PM PDT

    https://reports.gilderpress.info/GGR_lifeaftergoogleSLO_compeg_0719/PGGRV602/index.htm?pageNumber=2&s1=1308598

    Does anyone know how to replicate that feature at the bottom of the page with the credit card?

    What you type in First Name and Last Name - gets replicated in the virtual card - as well as the other card details.

    https://www.loom.com/share/ce977e3f5c2d4b19a4e14663b8c08093

    I have a rough understanding of replicating this with JS - is there some ready prototype anyone knows or some simple way to approach this?

    Thanks r/webdev

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

    Laptop RAM speed for WebDev

    Posted: 14 Aug 2019 03:51 PM PDT

    I'm looking at a Laptop that's currently 8GB RAM, and 512GB SSD disk. I don't do Android Dev or run sophisticated IDEs, was wondering if 8GB RAM is speedy enough to run things like Adobe Creative Suite concurrently with other programs, or should I go and get 16GB RAM just to be safe?

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

    Building a GraphQL server on the edge with Cloudflare Workers

    Posted: 14 Aug 2019 09:20 AM PDT

    Looking to program a website but don't know what to use.

    Posted: 14 Aug 2019 02:58 PM PDT

    I have experience in Python, Java, and a little Js/HTML/CSS. Looking to make a website where I have a grid layout of products that a user can pick from and then pay for, and have a page where I can package them together. Products will be a digital download. I know that I can do it with HTML/CSS but I don't have experience with that kind of backend, like mapping out the database to make it easy to add new items. Since I have the most experience in Python, I've looked into Django for web development. Any suggestions?

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

    How do you find people to collaborate on projects with?

    Posted: 14 Aug 2019 02:54 PM PDT

    I have worthwhile projects on the back burner. They would be fun to do. But I really like working with another person or people. It's a ton of fun bouncing ideas off each other. But I feel like I cant find anyone at work or any of my few dev friends to commit to anything. Does anyone else feel this way? Is there a forum for pitching ideas?

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

    Maze solving with Javascript and Canvas API

    Posted: 14 Aug 2019 02:16 AM PDT

    how much money does it cost to run Wikipedias server?

    Posted: 14 Aug 2019 10:19 AM PDT

    Its always asking for donation, they dont ask for large amount, but consider the size of the user base, they're basically targeting tens of millions in total.

    Realistically, how expensive is it to run a server that serves static contents to 60 mil something users?

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

    Sublime Text 3 keeps hiding the sidebar

    Posted: 14 Aug 2019 01:29 PM PDT

    Hey all, it's pretty random, but just when I click somewhere, the sidebar will hide for no good reason :/ Anyone have a fix?

    edit: noticing it does it a lot when I click a file in the sidebar

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

    Backdrop-filter is finally available in Chrome 76

    Posted: 14 Aug 2019 02:55 AM PDT

    Send an HTML5 notification from a terminal and receive it on enlisted browser while keeping it all in the house, is it doable?

    Posted: 14 Aug 2019 06:55 AM PDT

    Long story short, I develop PHP applications in a less-than-ideal scenario (no development server for the most part, I just code everything under a different folder and switch it live when it's done) so the situation is kinda tricky here

    To cut it short, I was thinking of setting up a small dashboard-like page for me and the other few devs here where each one of us can enlist himself to receive HTML5 notification whenever the log file gets a new line, but since we're running everything on an intranet using Firebase/GCM/others is a no-go

    I've done some googling, as usual, but everything seems to points to those services especially for pushed notification when the user isn't active on the site (not STRICTLY needed but would be an awesome plus), plus it seems like every solution involves nodeJS or such while we're running good ol' Apache here

    Isn't there a way for me to tail-curl the log file to somewhere (most likely a PHP page) that can then broadcast notification to whoever signed up for that log file?

    tl;dr: HTML5 push notification without external services nor nodeJS, can do?

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

    I am at the cross roads between Web development and machine learning.How do I choose

    Posted: 14 Aug 2019 12:43 PM PDT

    So i Don't really know where to ask this question So I posted it here I have also posted this question in r/learnmachinelearning

    Firstly is there something I can do with both of them as I am really enthusiastic both Web dev and ML. Secondly How do I make a decision I do not regret . Currently I'm 18 and in my 2nd year of Computer Engineering and have 2-3 years to build my career. I am Interested in Data Science and Artificial Intelligence but I started Learning Web dev and It is really interesting. So please help me make a decision kind people.

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

    What do you think the webdev job market will look like in 20 years?

    Posted: 14 Aug 2019 12:35 PM PDT

    Do you think there will be more jobs or less and why? What big things do you think will change?

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

    Where should i start?

    Posted: 14 Aug 2019 12:34 PM PDT

    you probably get and are tired of this question.. Im interested and would like to get involved and learn the basics of web development. I just don't know where to start.. I have ideas for websites, where to advertise and methods of payment. I however don't know what programming languages i need to learn to code.. and where to learn them.

    I have done basic research but found different sources that say i should learn different things and have no idea where to start. People have said i need to learn either html, javascript, python or a combination (I have no experience with coding and programming)

    (no idea what front and back end web developing is)

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

    No comments:

    Post a Comment