• Breaking News

    Sunday, July 28, 2019

    Is there a way to achieve box-shadow like this? web developers

    Is there a way to achieve box-shadow like this? web developers


    Is there a way to achieve box-shadow like this?

    Posted: 27 Jul 2019 09:44 PM PDT

    Object Assignment vs. Primitive Assignment in JavaScript for Beginners

    Posted: 28 Jul 2019 11:49 AM PDT

    My company's enterprise application seems needlessly slow. I did a bit of poking around, found some things, but need some context from more seasoned developers as to why this is the case.

    Posted: 28 Jul 2019 06:56 AM PDT

    So my company's "newish" (1.5 years old) enterprise application seems needlessly slow.

    However, it might only seem needless because I'm inexperienced and don't understand the complexities of building an application to this scale. So I wanted some context from more seasoned developers to explain why this might be the case, and whether the dev-team that built this made appropriate design choices.

    I'll do my best to explain what I think is wrong, however I'm rusty with the terminology, so forgive me. I'll do my best to explain.

    (Note: I am a buyer in this company, and the primary end-user of this application)


    The application is mainly used for purchasing. It receives in POs (Purchase Order requests) from our clients, routes POs to the appropriate buyer or sourcing teams, allows us to send out and receive back RFQ forms (Request for Quote forms) and in turn, send out our own POs to our suppliers to fulfill our clients purchasing demands. There are other features but these account for about 80% of what your average end user or buyer is using this system for.

    Our previous system was a legacy-type, IBM, green-screen type application that (while practically ancient in terms of the technology and language used to build it) was lightening fast and more of a pleasure to use despite lacking the much needed, newer features that our new enterprise application has implemented quite nicely.

    Our old legacy system was controlled entirely by keystrokes so it was an absolute breeze to work with.

    Our new web-application builds on top of the existing database (presumably) with api routing to newer, freshly built intermediary servers to handle the newer types of requests.

    Contrary to what the name of the application suggests (it has the word "Future" in it's title), the Front-end is built with a mixture of Vanilla JS and JQuery (why?) and of course standard HTML/CSS. Nothing more than that as far as I can tell from probing via Chrome Developer tools.

    Server requests and responses are transmitted via XML usuing ajax.


    To the crux of the issue here:

    Putting aside the fact that we now have to use a mixture of mouse and keyboard strokes to use the new system, the biggest shortfall in terms of speed has to do with the size of the responses received by the server.

    I'll give you one example to illustrate the point:

    Let's say I'm filling out a PO to be sent off to the supplier and I either leave out a field, or the server responds with some type of warning message which requires me to select "Proceed" to continue onto the next stages of completing and launching off the PO to the supplier.

    The simple rendering of these types of warning messages takes on average 1-2 seconds, sometimes more depending on the day, contrary to our older system which responded within 10's of milliseconds, practically instant. These warning messages render about 5-10 times throughout the entirely lifecycle of the PO creation process.

    I went into the Network tab to see what kinds of responses we were getting in response to form submissions. I was shocked (perhaps I shouldn't have been) to discover that to simply render a one-line warning message, the entire HTML document along with all supporting css, js files and all the icon assets had to be returned back.

    Such is the case I presume with server-side routing, however considering the sheer amount of data returned back from the server one might think the developers would have considered caching some of this information on the client to reduce the response latency by at the very least only returning the HTML document with the addition of a warning message.

    Unless I'm misinterpreting what the server is sending back in response, this appears to be the case. I'll have to check the headers to see if there's any caching involved.

    This appears to account for the bulk of the latency, but I'm fairly new to using developer tools to analyze what exactly is going on.


    But the point here is that despite the addition of some very useful features added to the system, the latency in server response time makes our work much longer to complete and is slightly infuriating.

    It comes close to invalidating any of the newer features meant to make our workflow more organized. In this fast-paced industry speed is an equally valued commodity as any new work-flow enhancement features.


    What do you all think of this?

    What can I do to better understand what's going on with the response latency from the server?

    What might the dev-team do to improve on this system if they're not going to opt-in for for some of the modern libraries like React, Angular or Vue to handle large amounts of data?

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

    Online Payments

    Posted: 28 Jul 2019 11:14 AM PDT

    Hey guys! Me and my friends are trying to develop a P2P lending platform. We've built online stores previously and we know how they work. However we don't have any experience of building online wallets.

    Is anyone here with experience willing to share her/his experience with us?

    Main problem we face is paying back money back to users with interest.

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

    Does anyone else listen to music while coding?

    Posted: 28 Jul 2019 01:29 PM PDT

    Super high resolution image viewer online for medical images?

    Posted: 28 Jul 2019 01:01 PM PDT

    medical images are super high res typically around 1.5 GB to 2 gigabytes.

    Is there any image viewer that someone knows of capable of preparing and serving these images online without one having to download the entire image? e.g. as you zoom in, a higher res image gets loaded, and if you scroll left or right other parts are loaded, but not the entire thing. Maybe a bit similar to how google maps functions.

    I'm sure it's possible. But I don't know a project doing it.

    any programming language is welcomed

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

    Wrap <p></p> Contents in Code Editor but not in Browser?

    Posted: 28 Jul 2019 02:44 PM PDT

    I have a <p></p> element that has a lengthy bit of content including a code block. Here it is:

    <p class="article-content" style="text-align:left;">{{ post.content|truncatewords:50 }}{% ifnotequal post.content|truncatewords:50|length post.content|truncatewords:51|length %}<a class="small-link" href="{% url 'post-detail' post.id %}"> read more</a>{% endifnotequal %}</p> 

    Putting this all on one line makes it impossible to read without using the scroll bar, but when I break it up in my code editor, the newline transfers over to what is displayed in the browser as well. Is there a way to escape the newline such that I can make my code readable AND have it do what I want?

    submitted by /u/Science-Compliance
    [link] [comments]

    How much to charge an organization as a student

    Posted: 28 Jul 2019 03:40 AM PDT

    Hello all, Apologies for bad english, mobile format etc.

    I'm not sure if this sub is the right place for this post, but I can really use some advice. I'm a third year computer science student with 5+ years of web dev, currently working on a co-op at a company creating a web app. I was recently contact by a organization in my city to create them a website. The website is around 6-7 pages long, and all of it is static, no talking with server, so I'll just be using HTML, CSS and Js. I want you to advice me how much I should charge them so they don't just pull the contract from me. For some more context I study in Ontario, Canada. I am assuming asking for $1000 for everything including revisions, but afraid they'll take the offer away. I really need some money. I do not have any experience in generating invoices, and how to proceed to ask for payments or splitting payments at what stages. Please guide me through it! I'm meeting the guy today and he would like to know what I'll charge. Thank you!

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

    My domain name got snatched

    Posted: 28 Jul 2019 04:19 PM PDT

    Hello

    Apparently my domain name (.com) got expired without me noticing, and now it's registered to someone else. However, the initial registration date is still listed as the date I first registered it. It has not expired completely and got registered again, they "snatched" it? How does that work and is there a chance to get it back (except buying it back from the new owners).

    The domain is now a landing page for selling it, and there is a high price listed.

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

    Hello r/webdev. Question for devs in Seattle area, how is the market there?

    Posted: 28 Jul 2019 04:14 PM PDT

    Are there a lot of jobs available? Are companies offering pretty competitive salaries? I'm thinking of relocating to the Pacific Northwest. For context, my focus is front end, I have about 3 years experience behind me and experience with React/Vue, would I have trouble finding work? Don't really care for big names, although it would be nice, but more concerned with a decent salary and work/life balance. Any info on this would be greatly appreciated. Thanks

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

    How do I add an HTML file?

    Posted: 28 Jul 2019 12:16 PM PDT

    This may sound trivial - but say I would like to add google ad sense to my website. I'm using wordpress and when I'm at the google add sense it gives me a line of code to add to my site.
    Would I go to additional css and just copy paste?

    Is there a better way to do this?

    Also I wanted to verify my ownership of the site and google wanted me to upload this google.html file to the site, where would I go to accomplish this?

    For the amazing people that respond to this - if you could provide pathing like Avada > Theme Options > Additonal CSS
    THAT WOULD HELP SO MUCH, i've got about three days of experience with wordpress and this is my site. https://thegamecenterdiscord.com/

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

    Ukrainian Web Developers

    Posted: 28 Jul 2019 03:43 PM PDT

    Looking to create a community around creative web developers in Ukraine. Having spent significant time there, it seems while there is a lot of talent, many of those developers are not treated well or compensated correctly. Looking to find a place to discuss how to work around that. Any ideas how to find developers based in Ukraine?

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

    how to batch download img src with a localhost script?

    Posted: 28 Jul 2019 03:24 PM PDT

    I got a CSV file with a bunch of .png and .jpg URL's

    http://www.elasticbeanstalk.com/293487435/some-cool-photograph.jpg, http://www.elasticbeanstalk.com/293487435/some-interesting-icon.png, 

    etc...

    I want to save them to my local drive with the file names from the URL intact.

    EDIT:

    Found a script but this saves images in a custom filename. I have never dealt with Python and really dont know my way around. Here's a pastebin. Where do I need to make changes to keep the original file name intact?

    https://pastebin.com/GM3600MM

    Shouldn't there be some really easy simple script out there?

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

    How to prevent iOS Safari from saving session state of PWA even after closing

    Posted: 28 Jul 2019 07:36 AM PDT

    The reason I want to prevent this is to allow a user to get any updates to the PWA without restarting their phone. AFAICT, PWAs on iOS save your session state until you restart your device.

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

    What do you think about Svelte?

    Posted: 28 Jul 2019 02:58 PM PDT

    So I just recently stumbled upon this really interesting compiler* and I thought to myself how long will it take for companies to actually start using it, I mean if they even find it interesting at all. Benchmarking demos (in conference video) comparing Svelte and React actually left me speechless. What do you guys think about it, how do you feel about this one? Will it replace current React trend that's going on with its capabilities?

    *Svelte is compiler, not framework/library

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

    Amazon catalog on my website?

    Posted: 28 Jul 2019 02:35 PM PDT

    Im sorry if this has been in some way answered before but, what I need is something similar to purse.io where they have a search bar and you can find almost anything for sale on amazon, add it to the cart and pay for it all within their site. How can I accomplish something like this?

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

    CSS Property Acting Up At The Wrong Time

    Posted: 28 Jul 2019 10:05 AM PDT

    CSS Property Acting Up At The Wrong Time
    HTML: <p id="mydiv"></p> <div>TAP the button below to confirm your tickets.<br></div> <button class="button2" type="button" onclick="confirmTickets();" >CONFIRM TICKETS!</button> CSS: #mydiv{ text-align:center; font-size:20px; color:white; padding:10px; margin-left:100px; margin-right:100px; border: 1px solid black; } JS: document.getElementById("mydiv").style.backgroundColor="#3366CC"; document.getElementById("mydiv").innerHTML="KINDLY FILL THE FLIGHT FORM CORRECTLY and <BR>DON'T FORGET TO CLICK ON THE 'SEARCH' BUTTON!.<br>" 

    OK so I'm a beginner and all I know is basic HTML, CSS, and javaScript. I have shared only the code that's creating a problem. Now I don't want this border to appear all the time but only when confirmTickets() function is called and in this function, if something goes wrong, this border will appear along with the text "KINDLY FILL THE FLIGHT FORM CORRECTLY and DON'T FORGET TO CLICK ON THE 'SEARCH' BUTTON". The same problem was happening when I tried to change the background color using CSS instead of JavaScript. Now I know why it's happening but I don't know how to fix it.

    What I actually want is that I want it to come up with my text "KINDLY FILL.....".

    I know there may be a JS property that I'll be able to use instead of the border: 1px solid black; just like I used the style.backgroundColor but my question then will be that do I always have to use JS properties now instead of CSS properties?

    At one place, I got the suggestion of using pointer-events: none; and auto but that doesn't work for me.

    NOTE: Sorry if my question is dumb because I'm just a newbie.

    This is the border I created using CSS

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

    I suck at web design

    Posted: 28 Jul 2019 09:47 AM PDT

    I am a good web developer (front end/back end), bur I really suck at design, if I have a template in front of me I can remake it easily but whenever a I try to make a website from scratch, I suck

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

    How to setup a redirect? Having issues!

    Posted: 28 Jul 2019 01:01 PM PDT

    I own the domain thegamecenterdiscord.com I also purchased tgcdiscord.com, because if you're in a game and tell someone to join the shorter version, they'll be more likely to. On my hosting site, i have it so that tgcdiscord.com redirects to thegamecenterdiscord.com - so if you type tgcdiscord.com in your search bar it goes immediately to thegamecenterdiscord.com - BUT - say if I put the link to tgcdiscord.com on facebook or discord and it has that hyperlink option, it'll go to tgcdiscord.com where it says "this domain is parked". and even have that open graph html underneath that goes "this domain is parked". Is there any way for me to make it so that no matter what, if they click AND/OR type tgcdiscord.com they'll always go to thegamecenterdiscord.com?

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

    Open/close navbar

    Posted: 28 Jul 2019 12:13 PM PDT

    Webpage: http://www.webbuilders.biz/test-durrani/index.html

    Codepen: https://codepen.io/mitchellbarron10/pen/EqZjQj

    The javascript is in the html code.

    I need help getting the navbar (on the top right of the page) to be closed when the page is loaded. It needs to open when clicked on, and close when the X is clicked (in the top right of the navbar)

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

    Is AWS, GC, Azure etc difficult to use for non-devops developers?

    Posted: 28 Jul 2019 11:36 AM PDT

    Do you find these tools difficult to use?

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

    Just need a direction to head in...

    Posted: 28 Jul 2019 11:34 AM PDT

    Background info: I'm studying web design/development, and on my break I'm working on my own site. I'm currently building the site to be dynamically built with PHP, but I'm fairly new to that. I'm comfortable with basic CSS and Javascript and HTML5, but haven't worked with any frameworks or fancy stuff yet. I'll be learning advanced CSS (SASS?) this fall.

    The project: I want to create a gallery of images (with thumbnails) that can be sorted by category or tag. These are products, not for sale, but for potential commission. So I'd want an option that lets you sort by price bracket ($1-10, $10-20, etc) or by category (cars, birds, etc). It doesn't necessarily need to be searchable, but including tags that can be clicked to find all items with that tag would be a neat feature.

    When a thumbnail is clicked, I'd want to display the large image along with thumbnails for any other views of the item, a short description, and some attribution (link to the designer of the item).

    It would be easiest if I could create a quick form with fields to add the attribution, tags, categories etc to a database so it's fast to upload.

    I'm willing to learn what I need to learn to create this, but I'm coming up a little short as to how to make it in the smoothest and most efficient way. I want to hand-code it, but I don't want to waste my time creating a huge and clunky thing if there's a better way to write it. I just need someone to point me in the right direction.

    Would a database be appropriate for this information? (Not to store the actual image files, but the path to them and the associated info?)

    TIA for any advice you have.

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

    How long before an expired .co.uk domain is available to be registered?

    Posted: 28 Jul 2019 11:11 AM PDT

    I'm after a domain name, it's registered already but expired on 19th July 2019 (9 days ago).

    Is there a way to find out the exact time it becomes available to be registered by me?

    Sorry if this is a dumb question or not the right place.

    Also what's the best way to maximise the chances I'll get it? (assuming it's not re-registered by the current owner).

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

    No comments:

    Post a Comment