• Breaking News

    Thursday, September 10, 2020

    Started to learn HTML 2 days ago and tried to recreate Google search page with no CSS knowledge but only with some Googling. Kinda satisfied with the result ngl. web developers

    Started to learn HTML 2 days ago and tried to recreate Google search page with no CSS knowledge but only with some Googling. Kinda satisfied with the result ngl. web developers


    Started to learn HTML 2 days ago and tried to recreate Google search page with no CSS knowledge but only with some Googling. Kinda satisfied with the result ngl.

    Posted: 10 Sep 2020 12:31 PM PDT

    Page not compatible with Internet Explorer automatically sends you to Edge

    Posted: 10 Sep 2020 08:08 AM PDT

    Page not compatible with Internet Explorer automatically sends you to Edge

    Trying to open Apple's flashy iPhone 11 Pro landing page in IE sometimes\* sends you to Edge with a banner message showing "Some websites no longer work with Internet Explorer". I also got a small popup (in Edge) the first time I tried this, which I unfortunately closed - explaining that the website I visited didn't support Internet Explorer.

    I can't find a doc or even a mention of how this works, anywhere. Is this something new? How is this implemented?

    * I tried again on another Windows machine and nothing happened. It opened a slimmed down version of the page in Internet Explorer as usual.

    ** Redirect destination

    Opened in new Edge

    Redirected to this** page in IE

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

    Resources for improving graphic/visual design?

    Posted: 10 Sep 2020 09:08 AM PDT

    I've been developing & creating web pages off & on for a number of years now; but one thing that's always held me back is my lack of design skills (in comparison to most professional web devs.)

    I have enough of an eye for design that most things I put together look "better than if the back-end guy made it!" but like... that's a pretty mediocre standard, and I'd like to improve my ability to make good-looking web pages that don't just fall back on the "everything is minimalism" cheat (or just straight-up copying other pages I've seen.)

    Are there resources out there that will help me practice having a better eye for graphic design? Should I just... look into taking a Graphic Design course, or are there things more specifically tailored for a web design focus?

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

    How to see http requests on local xampp server?

    Posted: 10 Sep 2020 10:10 AM PDT

    I'm building a wordpress site and am trying to build a light weight, fast loading site by keeping page size & http request low. Is there a way to check how many requests there are on my test site (installed locally on xampp)?

    I did some php development 12 years ago, so I'm not a developer by any means. Apologies if I sound like a complete noob :-D.

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

    What is the typical pay progression for a front end software engineer?

    Posted: 10 Sep 2020 01:09 PM PDT

    I live in the Midwest and am currently making around $65,000 before taxes. I've been doing this for a couple years now, before I was a Junior dev. What should I be looking for with pay progression each year? Am I making enough currently? What is a good way to negotiate? Any help would be great!

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

    JS multiple let syntax?

    Posted: 10 Sep 2020 04:24 PM PDT

    I'm doing this:

    let x = fn(1234);

    let y = x;

    I want to do something like this:

    let x, y = fn(1234);

    to make it a neat one-liner. Is there any way to do that?

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

    How to keep learning?

    Posted: 10 Sep 2020 12:32 PM PDT

    I find myself just using libraries to do everything these days and find it really unsatisfying. What can I do to learn outside of work?

    I'm definitely in a rut at the moment, Just using copy and pasted code ect. Any ideas of how to fix this?

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

    I created a simple piano key learner in 2 days with my beginner JavaScript skills. Clicking the correct note changes the question !

    Posted: 10 Sep 2020 04:14 PM PDT

    What is the best way to avoid double submissions (idempotency)?

    Posted: 10 Sep 2020 04:12 PM PDT

    Let's say someone double clicks a form button or reloads a page with a POST submission. This last scenario, makes disabling the button after clicking not a reliable solution.

    The server would receive two posts and therefore, create two comments or whatever it is creating.

    How do I avoid that?

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

    Storing different data types in the same database object

    Posted: 10 Sep 2020 03:30 PM PDT

    How can you store data for a user when you don't know what the data type they will choose? I have an application where users can track different custom attributes about an object. The 4 different data types they can track are yes/no(boolean), words(string), date(dd/mm/yyyy string), or a number. Should I just go with mongodb where I can just store each attribute in a document or represent everything as a string and store it in an nvarchar(max) column inside SQL? I'm fairly new to database design and I'm not sure what to do.

    Example attributes:{ name: "date created", dataType: "date", value: "04/21/2019" }

    { name: "memoir", dataType: "words", value: "The gravel crunched under the wheels of my...(long paragraph of text)"}

    {name: "age", dataType:"number", value:63}

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

    How to I use my .htaccess to redirect all traffic to specific url?

    Posted: 10 Sep 2020 03:26 PM PDT

    So I have my app hosted on heroku, but I don't want anyone to be able to hop on the http domain at all since I have HTTPS. I want them to go this specific url each time they time in something like

    example.com

    and it takes them to

    https://www.example.com

    here's the code I have so far.

    Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule (.*) https://www.mywebsite.com/$1 [R=301,L] 

    As it stands, you can access https://example.com, but I don't want that at all since it points to a dead link. I don't know why but without the "www" it just does not work.

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

    How to Request: Webpage prompt to open locally installed application?

    Posted: 10 Sep 2020 02:52 PM PDT

    I would greatly appreciate if anyone could point me towards information on how to create a prompt on Windows to open a program locally installed on the machine.

    Examples of that I've seen recently are the Epic games store prompting to open the Epic games client when you purchase a new game, or the Zoom website popping up a box to open the Zoom Client when you click on a html link to join a meeting.

    I would like to be able to do something similiar at work for remote employees who need assistance by the IT department, a link on our intranet site to prompt them to open Quick Assist or Bomgar.

    Thanks for for any pointer in the right direction!

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

    Is it bad to prefer a GUI over command line?

    Posted: 10 Sep 2020 02:48 PM PDT

    Is it considered bad practice for a developer to prefer using a GUI over command line?

    I've recently started looking at AWS and began configuring my first Lightsail server. Very quickly I'm discovering how much I prefer a GUI over this SSH nonsense.

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

    Recommend a self hosted emailing / marketing tool that is quick to set up new emails with?

    Posted: 10 Sep 2020 02:18 PM PDT

    Good day, everyone.

    I'm looking for recommendations for a marketing tool that offers an email builder and a minimum amount of clicks to schedule an email.

    We have a site that posts videos every other day. Sometimes we have daily videos. So 15 to 25 videos a month. Sometimes we can fill an entire month with videos so you can imagine scheduling 30 emails manually could potentially take forever.

    Presently I am using my own php script that automatically detects newly published videos, pulls an email template, swaps out the title, description, url link, thumbnail and sends the email to a list of email subscribers. It's works but it's wonky and requires a lot more love and effort to put into before it becomes more flexible. This was really a temporary solution anyways.

    I am now experimenting. With Mautic which seems to have surpassed any and all prospects that I could ever achieve or hope for with my own wonky monkey marketing tool. Only caveat is that it takes a bit long to set up an email. The process is quite lengthy (due to it's flexibility, granular control and feature rich nature) especially when I have to potentilaly schedule 30 emails. I know Mautic has an API which I can attack to my video publishing code, I have yet to look at that. Currently I just want to see if there are any other options more suited for my needs.

    Regards, Fellas.

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

    With all the ES6 - current ES, there may been SIGNIFICANT changes like arrow functions, destructuring/spread/default params, promises/awaits, and classes. But what small added features to the language have largely gone undiscussed yet you love and use everyday?

    Posted: 10 Sep 2020 02:17 PM PDT

    Like the title says, we all know the big changes to that happened ES6, but what other language additions have been incredibly useful in your daily coding?

    For me, I love the ?. syntax because of how it treats conditional chaining of potential null values without me having to actually write "null" or use the bang !. I'm still discovering some new ones, but that's just one I've recently incorporated into my code base that I use daily.

    What neat little syntax additions do you guys use and why?

    Btw, I tried to post this over at /r/javascript and it was automatically removed. The auto mod rules there need some fixin'.

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

    Mailgo: a new concept of mailto and tel links

    Posted: 10 Sep 2020 07:50 AM PDT

    how can I draw three ellipses to represent a 3-axis gyro in php?

    Posted: 10 Sep 2020 12:57 PM PDT

    I'm struggling on this one. I'd like to draw a three axis gyro based on x, y, and z values that come in the form of degrees, 0 to 360

    I'm creating three ellipses but I'm conceptually having trouble figuring out how to size them... I have that basics down..

    <?php // just assigning dummy values for the moment of 180 for all of them $var_x = (180/360); //to get a percent $var_y = (180/360); //to get a percent $var_x = (180/360); //to get a percent

    // Create a blank image. $image = imagecreatetruecolor($windowWidth, $windowHeight); // Select the background color. $bg = imagecolorallocate($image, 0, 0, 0); // Fill the background with the color selected above. imagefill($image, 0, 0, $bg); // Choose a color for the ellipse. $col_ellipsex = imagecolorallocate($image, 255, 0, 0); $col_ellipsey = imagecolorallocate($image, 0, 255, 0); $col_ellipsez = imagecolorallocate($image, 0, 0, 255); // Draw the ellipse. //x-plane - red imageellipse($image, $windowWidth/2, $windowHeight/2, $maxWidth, $maxHeight*($var_y), $col_ellipsex); //y-plane - green imageellipse($image, $windowWidth/2, $windowHeight/2, $maxWidth*($var_x), $maxHeight, $col_ellipsey); //z-plane - blue imageellipse($image, $windowWidth/2, $windowHeight/2, $maxWidth*(($var_x+.5)-1), $maxHeight, $col_ellipsez); // Output the image. header("Content-type: image/png"); imagepng($image); ?> 

    I'm struggling on this one, but does this look to be the right track?I still need to add the modifiers to my width for the x axis and height for the y and z

    Additionally for Z, I'm going to need to rotate the image, I haven't looked at how I can do that yet, but I'm hoping there's a function for it

    Am I going about this the best way I can?

    submitted by /u/john-dev
    [link] [comments]

    Affordable suggestion to host a form on a domain

    Posted: 09 Sep 2020 11:33 PM PDT

    I'd like to buy a domain on which I put a Web form for submissions. I am looking for an affordable way to do this.

    The big form builders (like TypeForm, SurveyMonkey, etc.) are expensive and I only need one form. Also, if I go with something like Squarespace or Wordpress which support forms, I will be paying for additional features I will never use.

    So, say, have a webform on a page called http://www.sendyourquestions.com with the option to have an additional "About" page maybe (I can live without this if it's not possible).

    Could I get any suggestions?

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

    I have an ML model (trained using FastAi) that I wanna use it for my webapp to be able to take user's input and predict the result on the server side. How do I do that using NodeJS/Express?

    Posted: 10 Sep 2020 11:15 AM PDT

    All the tutorials & guides I read use Python & Flask but migrating my Node/Express to Flask for this supposedly simple job would be a pain in the ass. Is there any option?

    The model is stored as .pkl (pickel) file format.

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

    Using only social logins?

    Posted: 10 Sep 2020 06:57 AM PDT

    I'm building an App and I thought of using only social logins Google, Facebook and Apple not the regular email/password.

    Is it a good decision?

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

    thoughts on passwordless email login?

    Posted: 10 Sep 2020 10:28 AM PDT

    building a website that uses next auth https://next-auth.js.org/, cool thing about it is that aside from oauth via Google/Twitter/Github etc, it lets users log in without a password if you sign in with just an email. This takes the pain away from having to store/encrypt passwords

    Security wise though, would this mean that there's no more need for users to create passwords for their accounts? Or is having a password just another layer of security for the user and letting the user create a password is the recommended approach?

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

    What I like to call the "Kansas City" move of the HR

    Posted: 10 Sep 2020 10:16 AM PDT

    TLDR: Recruiter dismiss without my tech knowledge my application and offers another job for the technology that I am trying to abandon.

    Yesterday I had a first telephone interview with an HR shortly after I submitted my application. The position is for a "React Developer", in the description the bases of react, redux, rest api, git nothing more and I wanted to try if I could be a right fit.

    I'm currently working, 6 years some weeks ago (11 in IT), for a big bank and I cover a strange kind of backend position that after all this time has devastated me and I want to quit, the job also includes the use of an IBM tool called Datastage (because all data is processed with it) and is currently very popular and requested in my city.

    Going back to the phone call, after a little introduction of me and what I'm dealing with the recruiter discards my application for the position with "we are looking for another kind of seniority" without asking me or making sure of my knowledge or skills in React development (my github profile is composed only by react projects or almost), and then he gives me another "opportunity" for the famous IBM tool that I hate and would like to burn. Maybe I should have answered right away, counter with something smart maybe someone here would have a better answer, instead of me staring in the void for 5 seconds.

    It may seem like a rant, maybe it is, but I'm tired of this way of thinking by recruiters, that is Time on that tech = skill on that tech, and I wanted to share with you what happened maybe it could be useful for someone in the future.

    In the meantime I have eliminated from my formal cv any trace of IBM Datastage, maybe it can help me not to find myself in a similar situation again.

    Note: The Kansas City move comes from the movie "Slevin", if you don't know it :)

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

    How does your client update their website?

    Posted: 10 Sep 2020 09:50 AM PDT

    Question for the web developers. When you make a website for a small business (such as a ma and pa restaurant) do you update their website all the time? Like when they have a menu update or a change in pricing? If you code the site from the ground up how do the business owners have access to change and update on their own?

    All the projects I have been creating through school and Udacity all have been in a file structure with index.html, js folder and css folder. I see this to be difficult for the customers who don't code. I hope this makes sense.

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

    Help regarding hosting my website

    Posted: 10 Sep 2020 09:46 AM PDT

    I am new to web development, and I have created my own blogging website which is also backed by a full-fledged database. I wondered if there are some services or methods using which I could be able to host my website for public use for free. It would be helpful if somebody could guide me through the same. Thanks in advance! :)

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

    No comments:

    Post a Comment