• Breaking News

    Sunday, December 30, 2018

    Really nice parallax, vehicles move subtly as you scroll - Subnautica (Below Zero) web developers

    Really nice parallax, vehicles move subtly as you scroll - Subnautica (Below Zero) web developers


    Really nice parallax, vehicles move subtly as you scroll - Subnautica (Below Zero)

    Posted: 30 Dec 2018 12:32 AM PST

    I'm finding myself doing more work during my time off because I enjoy it, but should I stop?

    Posted: 30 Dec 2018 09:40 AM PST

    Quick tldr:

    • About 9 months or so into my job.
    • I'm a "junior" in name only because I had to start somewhere
    • I enjoy my job, my work culture, projects etc
    • We typically work a strict 40hrs (or less sometimes) and there isn't an expectation to work during off time
    • Some of us still put in extra time outside of work depending on the project

    Lately I've been finding myself working from home more often because I choose to. But I noticed that I am completing some projects/tasks quicker than other co-workers and I'm wondering if I'm setting myself up for an expectation to always get things done this quickly.

    I'm curious for those that have been in the industry for awhile, if I should pace myself more and keep work at work? Sometimes I am more productive at home, so my other option would be to complete work at home and while I'm in the office use that time to do other things, then after a certain amount of time has passed, I can mark these tasks as "completed" as if I did them while I was at work. I don't know if this is a good idea though.

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

    In an average web app, what part of it is usually the first performance bottleneck when handling huge traffic?

    Posted: 30 Dec 2018 09:03 AM PST

    So I just have a little chat with a friend and we were talking about programming language speed & efficiency for serverside applications.

    This made me thinking on what actually is the first performance issue that comes out when handling huge traffic. Is it the serverside application? Or is it the database? Or is it the server I/O?

    Assuming the workloads are your generic HTTP routing, request validations, HTML rendering, SQL queries, and logging, on a single server (no load balancing) & no caching layer, on a reliable connection (think AWS), what performance issue will comes out first?

    I know this is a very broad question and extremely "depends on your app", but a general answer or a conditional one for the features I described above would be enough, or even better; share your story.

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

    What is this tool used by angular to take user input in interactive way?

    Posted: 30 Dec 2018 03:02 PM PST

    Is hosting videos yourself and using the HTML Video tag for a Video Educational platform not viable?

    Posted: 30 Dec 2018 03:36 PM PST

    Good day, everyone.

    I've been working on educational content for the last few months that I'd like to host on my own website. It's getting to a point where I should start working on the website now as I'm just about ready to publish the materials. The question is.

    Does using Video tags and hosting the videos yourself on your hosting side is a viable solution for videos that sometimes last for well over an hour long? I was considering using Youtube embedding for these tutorials, however that becomes void once you copy the link and share it with others. Therefore I have to either look at Amazon AWS or host the videos myself. Now hosting yourself is not idea and makes video downloading much easier than streaming content. But in terms of traffic and site speed, is it still viable in this day and age?

    From what I see, Videos no longer have to be fully downloaded to start playing, right? The player start playing the video once it's loaded up a small portion?

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

    Which CMS should I use? (Website + Blog + Forum + Wiki)

    Posted: 30 Dec 2018 08:46 AM PST

    Hi there,

    I began my apprenticeship as a software developper a few weeks ago. At work we often use the CMS contao.

    Now I wanted to start a private project. I want to make a website about the Super Nintendo gaming console. The website will feature a game database where several informations are available. Also the users can rate each game.

    Additionally the website will have several sites with general informations.

    The website will also feature a blog for news.

    Additionally I wan't to implement a forum and maybe a Wiki.

    Since I know Contao from work I thought about using it. But Contao has no forum extension and therefore I have to use a bridge for PHPBB in order to have one account for the forum and the main page.

    Therefore I thought about using a different CMS. Which CMS would you suggest in order to implement the things above?

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

    Do you develop solely using SPA these days?

    Posted: 30 Dec 2018 08:16 AM PST

    I'm trying to gauge whether I should develop my upcoming projects using SPA, abandoning MPA completely. But from what I gather, the main concern with SPA is still SEO. Indexing is okay'sh but you need server-side rendering/pre-rendering to fully benefit from SEO (correct me if I'm wrong). This leaves me thinking, isn't that fundamentally the MPA way, why bother with SPA?

    My train of thought now is, the only reason to use SPA is if the project needs complex/seamless UI and no SEO. For most public websites, which pretty much need SEO, MPA still wins.

    What are your thoughts on this?

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

    Question about minimising requests

    Posted: 30 Dec 2018 02:13 PM PST

    Apologies for what might come across as a stupid question, I'm sure I'm missing something obvious.

    I'm trying to optimise the speed of my website, and when messing around with some Cloudflare settings, I was made aware of https://hosts.cx/ it basically serves as an alternative to editing your local hosts file.

    What I noticed is that my website is taking 4 seconds on average to load, but the temporary URL provided by hosts.cx only takes 0.7 seconds to load the same page (first time load)

    Upon closer inspection I can see that the hosts.cx version is requesting 17 files, vs accessing the site via my domain which is requesting 65+ files.

    Why is this? are those ~40 files unnecessary? Why isn't hosts.cx loading them?

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

    XAMPP Local Host - Access forbidden

    Posted: 30 Dec 2018 02:42 PM PST

    Hello, I am new to web development and I'm trying to follow this guide to fool around creating a website first.

    https://premium.wpmudev.org/blog/setting-up-xampp/I am getting an error page when I try to edit the Admin page for MySQL. It is error 403 saying: Access forbidden! You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please contact the webmaster. Error 403

    I have googled it and tried a couple answers and haven't gotten any positive results. I tried the solutions posted https://stackoverflow.com/questions/17816732/xampp-access-forbidden-php and https://stackoverflow.com/questions/8495596/i-get-access-forbidden-error-403-when-setting-up-new-aliasThanks for any help. Do I need a separate folder for projects created to reference like a couple of those solutions have?

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

    Looking for Typescript/Html Resources

    Posted: 30 Dec 2018 02:35 PM PST

    Hey guys,

    ive just started learning typescript(have many years experience in programming java and python also worked with html und css thats why i skipped javascript) but need some resources to learn how to integrate typescript code in html.

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

    How to create subdomains dynamically for new accounts

    Posted: 29 Dec 2018 10:46 PM PST

    I'm creating a web app where users can sign up and a page will be generated for them automatically. The way I have it setup right now is if a person named testUser were to sign up, their page would be www.mydomain.com/pages/testUser but I want it to instead be www.testUser.mydomain.com.

    How can I achieve this best? I know there's some method by messing with nginx but I've never dived into server stuff this deep so I'm not sure how to completely go about that.

    I'm wondering if it's possible to just catch the link from the server and route to what I want like app.get(":username/website.com") and grab the wildcard name and route to their specific page?

    I'm using the MERN stack.

    With the subdomain, I'm not trying to load or display another app. I just want to move what I'm already showing in www.mydomain.com/pages/testUser to www.testUser.mydomain.com.

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

    How to work with txt files that are online on my hosting

    Posted: 30 Dec 2018 01:43 PM PST

    Hello, I bought a domain and create a simple txt file in the hosting folder to learn and apply at the same time. But how do you edit the documents and files that are online? Is there other way than just use browser and file manager provided by the hosting?

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

    Simple local deployment

    Posted: 30 Dec 2018 01:43 PM PST

    Hey everyone,

    I'm looking for the easiest way to deploy revisions to a Python/Flask app that I've built. Right now, everything is up and running - code done and tested locally, "production" version running on a RPi on the local network (the app isn't public facing). Right now, anytime I make revisions to the app, I scp over the changed files and ssh in to the RPi to restart the systemd service. This is tedious and there must be a better way to deploy a new version to the RPi. Any thoughts or suggestions?

    Thanks!

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

    What are your biggest pain points about your web development process?

    Posted: 30 Dec 2018 04:52 AM PST

    Hey /r/webdev,

    I would like to ask you: What can be improved about the way you are currently doing web development?

    I, for example, find it very difficult to synchronize local dev environments when you're working with a team bigger than 3 developers and the tech stack gets more sophisticated.

    What are your issues?

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

    How can I create a webpage that's a map with clickable links?

    Posted: 30 Dec 2018 09:19 AM PST

    I'm looking to create a webpage of a map that has clickable images of each state I visited. Any help would be greatly appreciated. Thank you!

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

    [Showoff Saturday] Tile-matching Game in React

    Posted: 29 Dec 2018 09:46 PM PST

    Welp, its not much but its something I whipped up as practice since my new job requires React.

    Link to game: https://jialiang.github.io/space-gems/

    Description page on my portfolio site: https://jialiang.github.io/#spacegems

    How does it fare as a showcased project for hiring managers to see? I put it on my website to serve as a time waster for visitors and to demonstrate some React proficiency.

    I try to spin it as something that was build to be minimal and lightweight but is it too simple?

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

    Advice for making a website for an electronic textbook

    Posted: 30 Dec 2018 12:11 PM PST

    I need advice for creating a website for a online textbook of a university course I teach. Basically, I was wondering if anyone knows of any popular easy to implement themes for any of the major CMS's that offer something that would include things like a contents page and chapters and sub chapters, easy menu navigation of the textbook, along with support for multiple independent textbooks.

    Obviously I would like the design to be responsive. One other feature I would love would be to take all the content of one of the textbooks and create it into a pdf which my student could download and print off if they wanted.

    Do you have any advice for something like this? I created a website for one textbook a couple of years ago using Drupal, and the book package. It was OK, but it wasn't responsive, I couldn't make PDFs of the pages, and now I want to add more textbooks, and it feels clunky adding it to my old website. So I thought maybe there is a theme already out there suited to this that would make the process easier.

    Any advice?

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

    PHP - Multi-user login - is reading a .txt file the correct way to go?

    Posted: 30 Dec 2018 11:33 AM PST

    First off, yes I know saving details in a .txt file instead of a DB is damn right stupid. I'm in school and this is what is required.

    I'm trying to log users in with a users.txt file. The newest user thats created works as expected. the previous users dont seem to pass the if() statement to redirect to "intranet.php".

    What is the best way to get around this issue?

    Thank you for any help.

    if ($form_submitted == true and $error_detected == false){ $handle = fopen('users.txt', 'r');

    while(!feof($handle)){ $data = fgets($handle); $data_bits = explode(',',$data); $login_user = $data_bits[4]; $login_pass = $data_bits[5]; if ($user === $login_user && $pwd === $login_pass){ // send to intranet $_SESSION['user'] = $user; $_SESSION['loggedin'] = true; header('Location: intranet-index.php'); exit; } } fclose($handle); 

    }

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

    Hi, Do anyone have suggestions for embedding a live Instagram feed into my website? I've found a number of widgets, but they either dont work very well or they charge for the pro version. Basically, I am looking for a free and effective solution. I am making a website for a friend for free, thanks.

    Posted: 30 Dec 2018 10:57 AM PST

    Are there any free feedback management forums/software that don't suck?

    Posted: 30 Dec 2018 04:56 AM PST

    I've been creating products for groups of users for a long time. Collecting feedback and listening to them is very important for a lot of such sites (e.g. reporting bugs, proposing new features).

    However, I am amazed that even with a lot of research I have not found an external tool that lets users suggest ideas that doesn't suck.

    For example, Nolt did look promising but today I got a notification that you cannot have more than 50 suggestions. Another one is UserVoice but this one actually stopped being free (it was great before).

    I ask myself, why is this? Such a product is simple and inexpensive (most of the hosted content is just text!). Do you know a good alternative?

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

    Database guy wanting to create a website - need your input on what technologies to use

    Posted: 30 Dec 2018 03:22 AM PST

    Hey all - I'm a database engineer with experience in the Microsoft SQL Server stack. ZERO experience with any webdev. I do have experience with .NET and Visual Studio as well as some Python.

    At the moment I've been building a database containing stock information updated on a daily basis through an ETL. I've got some processes running to create calculations and metrics and inserting them into SQL Server Enterprise. I'll also be making some API requests to get data to display on the page. The size of the database is about 5GB.

    I'd like to put a front end over this data with some data tables and charts/graphs. At the moment no need for a login (in the figure possibly) and no need for anything to write back to the database.

    I'm looking to do something similar to this: https://finviz.com/quote.ashx?t=AAPL

    Any idea what technology stack I should start with? I think I'm going to go with Azure rather than AWS. Also maybe using Power BI?. I can also export the data out from SQL Server into a more cost effective database - I'm bootstrapping this and want to be cost effective.

    I apologize if this is generic question - if there are other details I can provide please let me know!

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

    Update: You can now submit your Laravel related links to LaravelCollections.com

    Posted: 30 Dec 2018 01:02 PM PST

    Streaming Integration

    Posted: 30 Dec 2018 12:40 PM PST

    Hey all,

    I've been curious as to how I would begin to implement a basic streaming feature into a website similar to Twitch.tv.

    I know some sites use flash, but flash is becoming more of an outdated technology. Does anyone else know of a tool that I could use and read about to replace this? Best practices for securing things via a unique API key for each user...etc?

    Thanks

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

    No comments:

    Post a Comment