• Breaking News

    Wednesday, August 7, 2019

    Native lazy loading just launched on Chrome 76 web developers

    Native lazy loading just launched on Chrome 76 web developers


    Native lazy loading just launched on Chrome 76

    Posted: 07 Aug 2019 05:33 AM PDT

    If you're looking for tutorials, I've created a site that makes them easier to discover and watch.

    Posted: 07 Aug 2019 12:58 PM PDT

    Json vs .txt files

    Posted: 07 Aug 2019 04:12 AM PDT

    Hi everyone,

    Kinda of a newbie here with a question:

    I am coding a blog website and there will be with each blog post some text and a video/image. Should I create a json file or a txt file for the text?

    I think I will go for json file so I can write automatically the video/image directory and insert the name of the json file into my sql table, but I want the input of more experienced coders.

    Thank you

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

    What are some good resources for learning front-end testing?

    Posted: 07 Aug 2019 02:24 PM PDT

    I feel like this is an area that not many tutorials/guides/classes touch on, and I'm pretty clueless on how to start writing front-end tests.

    Can anyone point me towards some quality learning resources for this?

    Thanks

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

    ELI5 A better deployment strategy

    Posted: 07 Aug 2019 01:48 PM PDT

    Hi!

    So I have been using the same deployment strategy for years and I KNOW there is a better way (maybe?) but I don't know what I don't know so I am asking for resources on how we deploy code in 2019.

    My template is as follows:

    Pull in latest copy of master locally

    Create branch

    Do magic

    Quick POC tests

    Push branch to origin

    Switch to this branch on a dev environment

    QA

    Create pull request

    Code review

    Approve and merge pull request to master

    Login to production env

    git pull

    Refresh my browser like a madman

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

    N00b looking for a Drupal replacement.

    Posted: 07 Aug 2019 01:36 PM PDT

    Years ago I use to use Drupal and it suited my basic needs and basic to no dev skills ok. After installing drupal and just starting to set things up last night for my new site, it committed suicide..awesome. Drupal forum is dead and doesn't let you post jack all, no love on r/drupal so I need to find a new site builder as Drupal is clearly out.

    I'm trying to make a little online store, so I can sell some plants(house plants). I have a host(godaddy) and a domain.

    Can anyone recommend a better site builder? I have limited exp working with php, and more exp with html (still far from a pro).

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

    Part time web dev job

    Posted: 07 Aug 2019 11:56 AM PDT

    I will be graduating soon and I have a full-time software engineer offer from one of the big 4 companies here in Vancouver, BC, Canada. So I was thinking of getting a part-time/20-hour job to supplement my income. I have skill sets in react and node.js, and had 1-year coop work experience with this. I was wondering, is it even possible to get a 20h/part-time node/react remote job? I got a suggestion to look for upwork or other freelancing sites but I heard the honorarium is terrible there, so I don't know if that is a good option. Also, where should I look at as well? Thanks

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

    Who out there is using ASP.NET Core for personal/startup projects??

    Posted: 07 Aug 2019 07:47 AM PDT

    Hey everyone!

    I was just curious as to who out there in the wild is using ASP.NET Core? I really enjoy working with it, and at my current job we are slowly starting to move from ASP.NET MVC and Web API to using Core.

    I like using it for personal projects and playing around with the capabilities of .NET now that it is open source, I can work in Linux from the command line, etc.

    I wonder how it compares to Node, Go, Ruby on Rails, etc...

    I have ideas for tech entrepreneurial endeavors, and I know technology doesn't matter that much (as in use what you're good at), so just want to hear about your experiences with it and some of the other frameworks I have talked about.

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

    Did anybody learned low level stuff like assembly x86 and felt like that web dev became really easy?

    Posted: 07 Aug 2019 03:12 PM PDT

    Question above, I'm just interested to know if somebody had experienced that learning low level stuff made web deving or general programming alot easier. I'm thinking about getting into assembly x86 and learning all the stuff about registers, pointers, instruction sets etc.

    I feel like that would make me a much better developer. After all, isn't that what most people learn in Computer science degrees anyways?

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

    questions about which course to choose (CS, stats etc) with the fact that I already know beginner level webdev

    Posted: 07 Aug 2019 02:51 PM PDT

    I've posted before, but I'll try to explain more this time.

    Currently I know enough to make front and back SPA apps at more basic levels, such as CRUDs and various functional scripts, and host this on aws using custom domain. So I think the undergraduate part doesn't interest me to learn programming.

    Another fact is that I live in Brazil, and here they teach things completely outdated in the programming disciplines, in a course like CompSci.

    An example is two database modules, which have over 100 hours, but all the content I've seen there is covered in a single 400-page SQL book I've studied.

    Btw, I'm now in doubt about studying statistics (lasts 4 years, and teaches a lot of school math like linear algebra), which also covers some subjects like data mining and others like econometrics. With this course in mind, I intend to be a ML focused webdev and do things like chatbot, web bots, web scraping and also things like D3.js, charts js etc. But I don't know if it's really a good choice. The course also covers things like Bayes Theorem.

    My other option is to take a course called "Cyber ​​Defense" where it covers basic security and pentest things (like malware analysis, host and network defense etc) and this course only lasts 2 ½ years. With that in mind, I think I would focus more on devop stuff, and have a lot of security in web apps.

    Anyway, I don't know which one to choose and which area to follow, the only thing I'm sure of is that I really liked Python, Linux and subjects like AWS. And I also liked React.

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

    Editing browser game

    Posted: 07 Aug 2019 10:44 AM PDT

    Hi,

    sorry if this is complete noob question. So there's this game justdancenow.com . It's dancing game where you follow dancers on screen with mobile phone companion app in your hand and score. I want to replace few songs on it with custom ones. I tried looking with Chrome's "inspect element" and I can change menu. But I want to change gameplay and I can't find urls for that in "inspect element". I know how to make files. Here are links for all files for songs ( https://justdance.fandom.com/wiki/Just_Dance_Now_Code_Names ). So is there a way to intercept those urls and load my files.

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

    Trouble creating Azure application

    Posted: 07 Aug 2019 04:14 PM PDT

    (Using Windows machine) I have a small app I'm trying to deploy on Microsoft Azure. My trouble is, the book (from 2017) I'm using says to use this command to first create an Azure app:

    azure site create --git appname

    Well I know 'azure' isn't recognized, so I replaced 'azure' with 'az.' Doing that though, I get the output in my cmd line saying:

    az: 'site' is not in the 'az' command group. See 'az --help'

    I've looked up the problem, but haven't found anything, yet. What has replaced 'site'? Is there a new command?

    Thanks for the help!

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

    Cheap hosting that supports simple php?

    Posted: 07 Aug 2019 04:00 PM PDT

    Netlify does not support PHP and the only reason I need PHP is so that I can have one nav and footer PHP document span all across multiple pages.

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

    Intrinsically Responsive CSS Grid with minmax() and min()

    Posted: 07 Aug 2019 05:06 AM PDT

    Need high-level ideas / thoughts on this personal project

    Posted: 07 Aug 2019 11:48 AM PDT

    I have this structural analysis software I built in university 10 years ago and I would like to build it into a web app with a user interface. It analyzes basic 2D structures (beams and columns) and returns the internal forces and reactions.

    Key points:

    - it's written in Fortran 95

    - it reads from a text file (input) and writes an output file (also a .txt file)

    - I have the source code, but it is not compiled (need to compile it for unix I believe?)

    - no DB required

    - will probably use jQuery and EJS template for front-end

    - will use node.js for server

    I'd like it to be a single page app, with user inputted information in forms. Once all input data is inputted, the user submits the form and a 2D drawing of what they've inputted is shown, along with the results that are outputted from the Fortran program.

    1) Does it make sense to have the user input written to a file, then the server executes the fortran program, and then the output file is read and served to the front end?

    2) On a high level, is this the right approach? Is there more better / more obvious way to tackle this project?

    3) How do I get my server to run the Fortran file/program?

    I'm trying to make a plan of attack before I dive in, so any and all comments / suggestions / ideas are welcome.

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

    creating an app, user login via stack exchange account?

    Posted: 07 Aug 2019 03:32 PM PDT

    With Stack Exchange no longer an openid consumer, I understand that you can no longer login to SE via an account with another openID provider.

    But is SE still a openID provider, so that a someone can login to another app via their SE account?

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

    How to use stick to switch between bar charts.

    Posted: 07 Aug 2019 11:34 AM PDT

    Hello, this is probably a really simple question but I don't do web development and need a little direction! Sorry in advance for the lack of webdev lingo knowledge.

    I'm trying to use position sticky to switch between bar charts as the user scrolls through explanation text (like in the section with bar charts here: http://sunnyuxuan.github.io/China_Outbound_Tourism/)

    However, when I use position sticky I am currently trying to embed the charts as jpg files and they don't "suddenly appear" or "suddenly disappear" like they they do in the example url above. I used this (https://medium.com/@elad/css-position-sticky-how-it-really-works-54cd01dc2d46) as a guideline and embedded the images as having position sticky, which didn't result in the desired outcome. They simply "stack" on the next image and drag along. If the solution is to rebuild the charts in another more compatible language (like javascript or something) that's fine, but I would like to be pointed in that direction.

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

    How I learnt web development

    Posted: 07 Aug 2019 03:16 PM PDT

    Best way to create a form in angular 8?

    Posted: 07 Aug 2019 03:14 PM PDT

    So i'm about to create a form to gather options on a product. It's a business card and the options are things like paper weight, paper color, etc. With most options being radio buttons, the user select only one choice among n options for each category.

    My question is about components: should i: 1: Use the component i'm in rn for the form html/css/ts, imo it'd make the form less reusable for other products

    2: create a form component, and have the complete form inside, calling it from the parent component

    3: create a form component, and more components for each of the option categories (essentially, 1 component for each radio button group) imo this would allow me for the most customization, being able to restyle each option depending on the product pallete (each product has it's own color pallete) but also the most complicated having to pass data from all the components to the form component, and then from that to the parent)

    4: something else i'm not thinking of

    My (limited) experience with development tells me I should go woth number 3, is this correct?

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

    Question about server-side code

    Posted: 07 Aug 2019 11:20 AM PDT

    Hi there,

    I'm trying to move some Python scripts to the web that have some UI dialogs. The code is something like this:

    label = makeGTKLabel("Some label")

    button = makeGTKButton("Click me")

    button.click.connect(lambda: label.setText("Clicked!"))

    Converting this to JavaScript is not really valuable to me, so I was hoping there is some sort of Python-based web framework that allows me to very closely transcribe the current Python which runs on a desktop, to something that runs in the web.

    In the past, I was a commercial customer for WebToolkit for C++ (https://www.webtoolkit.eu/wt/doc/tutorial/wt.html) which has been amazing for this type of architecture but I really can't justify rewriting the code in C++ just for this functionality.

    The closest I've found so far is Jupyter ipywidgets but these seem so limited to me.

    I'm hoping that the community here has some idea or recommendations.

    Thanks!

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

    Semantic UI React question

    Posted: 07 Aug 2019 02:48 PM PDT

    This may be an easy one, but i'll ask anyway..

    I'm trying to, for example, change the background color (as well as shape, etc) of a react sidebar menu. I know that I can go to globals in the semantic file, but I've heard it isn't good practice. Should I be editing this from the node modules? And what syntax would I use? Thanks

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

    does anyone here have netlify and know that if it haves "ssi includes"?

    Posted: 07 Aug 2019 10:52 AM PDT

    The reason because I want my nav and footer to span across multiple pages without having to copy and paste the nav,footer html code every single time I'm creating a new page.

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

    Header and footer as templates in static html files

    Posted: 07 Aug 2019 04:41 AM PDT

    Hey guys, frequent reader here.

    I write mostly small static sites with HTML, CSS and a bit of JS scripting for cookies or small animations for my company.

    The last two or three ones were with up to ten subpages. Means: header and footer are the same on every html file. Just the content in between is something else. My approach is I'll code the main page and if I, my boss and the client are happy with it, I'll use this page as a template for everything else.

    If I have to change the header and footer on five pages simultaneously I first hope i didn't add a space in one file accidentally and second use search and replace to change all files at the same time. I feel bad writing this.

    Is there a better approach, maybe a compiler like Sass where I can write a header.html file and put it as {{header.html}} in all other files that compiles on save? I would prefer the simplest solution. I just use live-server, node-sass and VS Code plugins for developing. No complex webpack setup.

    Sorry for the wall of text. Thank you very much for your ideas!

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

    Help a front-end newbie estimate the complexity of a task for a quantum physics science expo demo

    Posted: 07 Aug 2019 02:02 PM PDT

    I'm currently working on preparing a quantum physics demonstration for a science expo. It will be about quantum teleportation and since quantum physics experiments are a bit fiddly, it will be mostly done through a simple browser demo. A brief explanation of what I want to show is here: https://drive.google.com/open?id=1iEqjXE5kDnxh3-5QtSoxvKfCf7Rjkp_e

    My problem is that whilst I can program, I am not a front-end dev. I have extensive experience in C/C++, and Python, but none in any front-end. I have no idea how complex the demo I want to make is. Can you help me estimate the complexity (amount of time needed) of the demo and if possible, point in the right direction for resources?

    To me, if I stick to using basic shapes, the demo is at most a few days work for a complete front-end newbie (but one who understands programming). Does that sound right? Am I being naive?

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

    No comments:

    Post a Comment