• Breaking News

    Wednesday, August 19, 2020

    I feel like, as a beginner, I should just pretend that JS frameworks, CSS Frameworks, CSS pre-processors, and even back-end frameworks don't exist. They're solving problems that I don't have and (for me) muddy up the "vanilla" learning of JS, HTML, CSS, and Node web developers

    I feel like, as a beginner, I should just pretend that JS frameworks, CSS Frameworks, CSS pre-processors, and even back-end frameworks don't exist. They're solving problems that I don't have and (for me) muddy up the "vanilla" learning of JS, HTML, CSS, and Node web developers


    I feel like, as a beginner, I should just pretend that JS frameworks, CSS Frameworks, CSS pre-processors, and even back-end frameworks don't exist. They're solving problems that I don't have and (for me) muddy up the "vanilla" learning of JS, HTML, CSS, and Node

    Posted: 19 Aug 2020 06:53 AM PDT

    I'm wondering if this makes sense. Because when I look at beginner tutorials they almost all use these frameworks. I've been spending most of my time learning JS, but I I just learned that Node.js has its own routing ability, and that CSS has variables. If I just started using 99% of Node.js tutorials I would be skipping straight to using express.js.

    And after a lot of reading and watching I still have no idea why the hell I would need a framework. But then again state management isn't a big deal for me right now, which seems to be the main use case?

    My gut tells me to just ignore these things until I need them. But any intro Udemy course, or even the famous free bootcamps, all seem to include these frameworks as if they are core topics in web development. Is it just the instructors/courses bending their course to student expectations, or have I missed the reason these are taught as beginner topics?

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

    is it still worth learning PHP?

    Posted: 19 Aug 2020 12:11 PM PDT

    is it still worth learning PHP?

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

    I just received an interactive email from Yammer, in Outlook. I could click buttons, text fields appeared, and I could submit the text, all from inside the email. What kind of black magic is this?

    Posted: 18 Aug 2020 08:34 PM PDT

    Has anyone ever had this before? I got what I thought would be my first freelance job to just build a static website for this guy, but turned out to be a scam I’m pretty sure. Is this common??

    Posted: 19 Aug 2020 02:29 PM PDT

    Tailwind 1.7

    Posted: 18 Aug 2020 04:13 PM PDT

    What does it mean to have Node.js as a skill

    Posted: 19 Aug 2020 12:20 PM PDT

    I use node, I use React, and Webpack. I have node installed so I can use it on the command-line. I know that node is a runtime environment, which is similar to a virtual machine, which I have minimal understanding of but it looks like a VM is just like a set of directories and files that impersonate a real computer.

    If I were to put Node.js as a skill that I have, what would I be expected to know?

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

    What are the requirements for tenant isolation for B2B SaaS

    Posted: 19 Aug 2020 01:46 PM PDT

    I'm building a B2B SaaS product and one thing I have been very insecure about is the requirements in regards to tenant isolation. I know that there are companies that want their services to be on-premise, so all data is owned by them on their cloud clusters etc. Other companies are okay with cloud solutions.

    I'd love to hear from people with experience in the field:

    • What would be the requirement to work with big companies e. g. American Express?
    • What would be the requirements to work with smaller companies e. g. a 300 people start-up?

    The question is not about the BEST way to do it, but rather how good does it have to be to "pass the bar".

    Thanks!

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

    What stack/tools should I use to make this SPA?

    Posted: 19 Aug 2020 02:49 PM PDT

    Hey guys,

    For context I've been a programmer for about 4 years now and I have a good amount of experience in Java, Python, HDL languages, etc. However I've never done web dev and I'm looking to make some applications to get some experience + knowledge.

    I want to make a single page application where a user can upload a ~5 mb audio file, a pretrained python tensor flow model does some processing on it, and a new audio file is sent back to the user.

    What sorts of considerations do I need to make here? What tools/frameworks/stack should I be using here?

    I was planning on using React for the front end and using Django as a back end where all the processing is done. Is this a good idea or am I missing something?

    Thanks for the help.

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

    Finding a mentor/teacher as a self-taught dev

    Posted: 19 Aug 2020 09:57 AM PDT

    I have a question for all the freelancers and self-taught people out there.

    I am a self-taught front end developer at my company, we used to have another more experienced developer who helped guide me through the ropes. However, he has since moved on and I am on my own for the most part now. I've struggled with not having someone who can check my code to give me critique on how to do things better. There are things that I feel like people who went to school just inherently know that I missed out on because my education was piecemealed together by learning on the job and through online tutorials. I'm worried my bad habits will just continue to be reinforced or I'm missing out on basic steps because I don't know any better.

    So, do any of you out there have experienced people you turn to that help guide you? How did you find them or start building that relationship? How does reviewing code look in that relationship? I want to become better, but sometimes finding your way on your own isn't the easiest.

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

    Best practices to keep cloud-based inventory system in sync with eCommerce store's database?

    Posted: 19 Aug 2020 01:14 PM PDT

    Looking for some suggestions on how to best handle this. I'm working with a cloud-based ERP-lite system. I say ERP-lite because it only handles sales, inventory management, warehouse management, and finance. It doesn't handle HR stuff and the like.

    Anyways, this cloud-based system has its own database, one we can't access directly. We can access it through an API, but it's painfully slow. I've made a small test organization that has 1 item in stock in has done 2 sales. It'll sometimes take up to 15 seconds to get a result from the API listing both sales. It also doesn't provide integration with eCommerce frameworks like Shopify, etc.

    Because of these limitation, I'm looking into giving the website its own database. Especially since it has information we won't need in the inventory management system, such as product description page text, etc. The company isn't really interested in moving away from this system, since they're so heavily reliant on it. I'll be using the system's API to post sales to it, and to keep its inventory quantity in sync with our website's. No problem so far.

    However, I've recently learned that the business will sometimes handle sales via phone, in which case they manually enter a sale in the system. This means that the inventory system may have a different quantity for certain items than the website's database.

    I'm looking for webhooks on the system, but I haven't been able to find any. I've contacted their support to see if there's a way to set them up, but I haven't heard back from them yet.

    Another alternative would be to occasionally make requests to their API and reconcile our database, but this can, obviously, result in issues where a user buys the last of an item on the phone, and someone buys it on the website. And blasting their API every minute is obviously a bad idea.

    So, I guess my question is: How do you usually handle something like this, where you need to keep data in sync between your stack and third-party applications?

    Cloud-based ERP systems seem to be growing in popularity, so I'm kind of puzzled as to how people keep "a single source of truth" when they don't support or integrate with their stack nicely.

    submitted by /u/xwp-michael
    [link] [comments]

    How to recreate this experience?

    Posted: 19 Aug 2020 12:47 PM PDT

    Does anyone know, or can give me any clues about how to make this "swipe up" thing? I'm not talking about the slider, but about the product information block that goes up when you swipe up. It's on the mobile version of zara(they have 2 websites m.zara.com for mobile and zara.com for web). I've been trying to recreate it for my own webshop, but I have no clue where to even start or how such effect is called. Any hints? Thanks!

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

    GA cookie consent on single page site?

    Posted: 19 Aug 2020 04:32 PM PDT

    Because it's a single page site, I have to send the page view once they click accept, because the visitor can't go to another page (that'll load tracking) after the initial consent.

    I was able to do this before with just ga (not gtag) and an Ajax call to send the initial page view.

    Any easy way to do this with GTM, where a page view (and cookie can be dropped), upon the visitor clicking a button?

    Again, I'm thinking an Ajax call, but not sure if there's a more standard way of doing this.

    Thanks!

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

    Looking for gift that can be of use for a Web Developer, what can I get?

    Posted: 19 Aug 2020 02:10 AM PDT

    Hello, my girlfriend is currently learning web development and she is totally into it. So I would like to buy her a gift that she can use and which can help her in the process and also show my support. The gift range would be within 100 Euros.

    So which cool things did/do you feel you want to have as web developer? Any softwares I can buy or tools that can help, maybe special keyboards or devices?

    I hope this isn't offtopic. I thought it is best to ask web developers what to get for a web developer.

    I would appreciate your ideas and support.

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

    Make monet anonymously through web app

    Posted: 19 Aug 2020 04:27 PM PDT

    Is it possible to create a web app and make money but not have you actual name attached to it?

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

    Mixed content blocked error, when accessing my own api.

    Posted: 19 Aug 2020 04:23 PM PDT

    I have an express server that is running on a seperate vm to the website and the website is hosted on firebase so has ssl encryption. From what I gather I need to make the express server use https. Is that the case? and if so how would I go about it?

    Thanks :)

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

    React currency converter not returning correct price. Help!

    Posted: 19 Aug 2020 04:23 PM PDT

    This project itself is using React. The currency converter is apparently a third party JavaScript converter, and is not in React.

    The API endpoint does not include the Canadian price, only the US price. There's logic in the React code is converting the currency to Canadian, but the Canadian price is incorrect - it's lower than it should be (it's higher than the US price, which is never the case). Also, the Canadian price is located beside the US flag, it's not the amount beside the Canadian flag.

    Disclaimer - this is not my code. I've taken it over from a dev who isn't here anymore. No documentation.

    Live link to a page with incorrect Canadian pricing. You can see that where the Canadian price is, which is beside the American flag icon - but it's way lower than the American price of $34,000. Naturally, the Canadian price should be higher.

    I've uploaded the full code to Github, which can be found here.

    From the "HelperFunctions.ts" file:

    export function formatPrice(price, lang, inclCurTxt?: boolean, currency?: string) { let formattedPrice = price; const usaRate = .74; if (lang === "fr") { //FRENCH const currencyText = (inclCurTxt ? " CA" : ""); if (currency != null && currency === "US") { //USD formattedPrice = accounting.formatMoney((Number(price) * usaRate), "", 0, " ") + " $" + currencyText; } else { //CAD formattedPrice = accounting.formatMoney(price, "", 0, " ") + " $" + currencyText; } } else {//ENGLISH const currencyText = (inclCurTxt ? " CAD" : ""); if (currency != null && currency === "US") { //USD formattedPrice = accounting.formatMoney((Number(price) * usaRate), "$", 0) + currencyText; } else { //CAD formattedPrice = accounting.formatMoney(price, "$", 0) + currencyText; } } return formattedPrice; } 

    From the "MachineImagesAndInfo.tsx" file:

     //PRICE if ( props.jsonDataProduct.price != null && props.jsonDataProduct.price.text != null ) { detailsHtml.itemPriceCA = formatPrice( props.jsonDataProduct.price.text, props.lang ); detailsHtml.itemPriceUS = formatPrice( props.jsonDataProduct.price.text, props.lang, false, "US" ); } 

    How can I have the Canadian price converted properly and show the correct price?

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

    Social Auth and the UX

    Posted: 19 Aug 2020 04:19 PM PDT

    Ok so im building an application which utilizes social authentication through Facebook and Google for users to create an account. I want the users to be able to link other accounts as well for added functionality on the application. The question I have is should I assume that an email shared between sources like a Google account and a Facebook are linked, or should I treat them differently since they're from different login sources?

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

    Building Worklog: a PERN stack web application (PostgresQL, ExpressJS, ReactJS, NodeJS) Feedback is welcome.

    Posted: 19 Aug 2020 12:33 PM PDT

    Opinions on project images in your portfolio

    Posted: 19 Aug 2020 04:11 AM PDT

    My current portfolio showcases my projects using large mockups, but this has become tiring to maintain. Everytime I build something & have to update my portfolio, I also have to create a nice looking image for it.

    Now I'm thinking about switching to a more-text heavy approach instead. Is this a bad idea?

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

    Is the internet now boring?

    Posted: 18 Aug 2020 06:04 PM PDT

    Removing the e-commerce aspect of the internet, has the internet become a bit boring or is it just me? I feel like there's no uknown frontier on it anymore. It's basically a very small handful of websites.

    1. Facebook - old photographs and people silently crying for help by oversharing for likes
    2. Instagram - Photos and influencer BS
    3. Twitter - Businesses, political lunatics and lazy journalists
    4. Youtube - misinformation, amateur stuff & "internet/marketing guru with a course to sell"
    5. A search engine
    6. Reddit
    7. Email - 99% spam and mailing lists.
    8. Porn - same shit recycled over and over again
    9. Memes - same shit recycled over and over again.

    It seems to me that for most people, their internet use consists of 4-5 things of that list. It's like that's the internet now, 11 channels that consist of a continues stream of 97% WTF and pure BS.

    Doesn't anyone else feel like the internet is just a bit stagnant and predictable now?

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

    [Angular] lack of custom headers in http response

    Posted: 19 Aug 2020 10:00 AM PDT

    [Angular] lack of custom headers in http response

    I want to read my custom header in HTTP Get response but I only have 'cache-control' header, while sending the same request in Postman returns much more headers.

    Returned response in Angular:

    https://preview.redd.it/w6ouaabspzh51.png?width=567&format=png&auto=webp&s=71e43d3361b90813b214475f0649abebb9ff61be

    Retured response in Postman:

    https://preview.redd.it/tt7gpgpupzh51.png?width=1029&format=png&auto=webp&s=5ecf9d781b7f804c239cc43234dfb5d7f4985934

    Way I'm sending request in Angular:

    const headers = new HttpHeaders({ 'Content-Type' : 'application/json', 'Authorization': token }); return this.http.get<any>(`${this.serviceUrl}/authorize`, { headers, observe: 'response', responseType: 'text' as 'json' }); 

    Mostly I care about 'Authenticated' header. How can I retrive this?

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

    Serve different countries differently

    Posted: 19 Aug 2020 09:59 AM PDT

    So i can't disclosure the actual website or usecase so I'll be using hypotheticals.

    The client wants me to host a specific website wherein a user accessing it from one country will see things different from another. Example Website the A law firm(WWW.SOMELAWFIRM.COM) available in the UK, and GERMANY. Blocked everywhere else User from uk/Germany - types in www.somelawfirm.com ... Can access the entire website User from USA- types in www.somelawfirm.com ... Is sent to a different landing page where there are some details of the company

    All the solutions I could find so far use an IP blocker which causes the end usere to see a "not allowed" page.

    I'm using a hostgators shared Linux server to pull this off... If it's even possible.

    Any help will be appreciated Thanks

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

    I have a little problem with a transition

    Posted: 19 Aug 2020 03:41 PM PDT

    What are the best skills/frameworks/applications to learn for getting a development job in 2020?

    Posted: 19 Aug 2020 03:41 PM PDT

    I'm a developer who started self-studying in early 2014 and have a solid background in CSS3, JS, jQuery, PHP and SQL. The only "frameworks" I have decent understanding of is Magento 2 and as of recently Laravel. And very little with React JS.

    I'm really keen on getting a development job again after being out of work for 4-5 months. I previously had a job as a PHP developer making 75K a year but was only there for 3 months after leaving for personal health issues. I really regret what happened even though it was out of my control.

    I want to get back into the workforce ASAP and would love to hear others' opinions on what you guys think the best skills/languages/frameworks etc are to learn to have the best shot of getting interviews and the subsequent job in this day and age?

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

    Statamic 3 (CMS, SSG, Headless, etc) just released

    Posted: 19 Aug 2020 03:39 PM PDT

    No comments:

    Post a Comment