• Breaking News

    Wednesday, October 28, 2020

    Is Email Deliverability Still an issue in 2020? Ask Programming

    Is Email Deliverability Still an issue in 2020? Ask Programming


    Is Email Deliverability Still an issue in 2020?

    Posted: 28 Oct 2020 11:11 AM PDT

    I'm working on my very first hackathon project and am super interested in the problem of whether engineers still find it challenging to get their transactional (event-driven as opposed to marketing) e-mails to arrive in users' inboxes rather than junk folders. I know modern ESPs like Sendgrid and Mailgun are helping to address this sort of thing but I feel they're far from perfect as I personally still find important messages from websites that I use will arrive in the Junk folder sometimes.

    Would be incredibly grateful to hear your experiences with deliverability issues in 2020 in your apps.

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

    C# InputMismatchException

    Posted: 28 Oct 2020 10:53 PM PDT

    How to use inputmismatchexcetion in c#? I already looked everywhere in google and i did not find any answer.

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

    Any suggestions on intermediate React courses?

    Posted: 28 Oct 2020 10:25 PM PDT

    So, after I've completed "The Complete 2020 Web Development Bootcamp", I've started working as a junior front-end dev. But besides being learning a lot, I wish to keep studying React, but I can't seem to find a really good course, does anyone have any recommendation on intermediate-focused React courses, or beginner React Native (with no expo)? Preferably on Udemy

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

    Beginner question: Can I make a form that edits a html file?

    Posted: 28 Oct 2020 06:10 PM PDT

    I have a html email template that I want to make easier to edit, as it is personalised every time before it is sent, and the content that is changed is just some images and text, with the layout etc staying the same.

    Ideally I wanted to make something with some drop down boxes to change the images and a text box to change the text. This would directly edit the html of the email and that way I can generate and send it every time easier.

    What would be the best language to build this in? Where could I find resources to help me make something like this?

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

    Is it really worth caring about code quality?

    Posted: 28 Oct 2020 05:21 PM PDT

    Every time we have a "why does it take so long to implement X" discussion, my belief takes a hit.

    It has come to the point where I want to pose the question to all of you.

    For my own personal project, I'll take my time and make everything good. But in a corporate environment, is it?

    The #1 argument for writing good code is maintainability, but does it really matter, though? Hear me out.

    Note I'm coming from an OOP perspective:

    1. It takes time to set up the right interfaces, break up the objects and basically create a framework to support extension of a new feature.
    2. The framework is not able to accommodate the future changes even though you tried your best to anticipate for it, especially if you encapsulated data properly.
      1. Then you start writing special code to handle these specific cases product throws at you, or
      2. You try to break it up but you'd have to overcome the emotional hurdle before you even want to begin tackling the technical hurdle. (Probably through another interface, and then you gotta include it on the IoC container, fix up constructors and what not... not a fun task either)
    3. On the flip side, you spend too much time over-engineering the solution the code becomes too abstract to understand anyway.
    4. Most developers don't stay 5+ years at the same company anyway, so why bother?
    5. In 10, 15 years, the company will want to rewrite/release a new version using the latest and coolest technology at the time anyway.... Again..Why bother?
    6. (I'm stretching this a bit as I haven't experienced this, but in theory) If the company is using KPIs to evaluate my performance, who cares about DRY? Make special classes for everything! That way, my code lives in the repo longer, and there are more easy bugs for me to fix, and when I fix those bugs, I can't possibly break anything else because there's no code sharing what so ever!
    submitted by /u/incredibly_dumb
    [link] [comments]

    How can I get values from this website's API? python 3

    Posted: 28 Oct 2020 05:39 AM PDT

    Hi,

    I have found this website 'https://solcast.com/' which provides a solar irradiance measurements and they have their API.. I just want to connect this website using the API to print the solar radiation values..

    I have found "solcast" in github but I have tried and it did not work with me :(

    https://github.com/Solcast

    and here is the API documentation: https://solcast.com/solar-data-api/api/

    Thanks, highly appreciate your help..

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

    Which one of these languages is easiest to learn and write reports/programs on?

    Posted: 28 Oct 2020 04:58 PM PDT

    I have a large project coming up and I'm being asked to choose a following language from this list:

    Clojure

    Erlang

    Julia

    OCaml

    Scala

    I have no experience with any of these languages, but I do have experience with Python, Java, JavaScript and C. Which one of these languages has the most resources available to write a report summarizing its features and to write sample programs demonstrating the features?

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

    How to find what caused my IP to get listed on UCEPROTECT-1?

    Posted: 28 Oct 2020 08:28 PM PDT

    Hello folks!

    I'd asked the same question on SO, but haven't received anything yet, but thought I'd give this place a shot too.

    Essentially our website got listed as a UCEPROTECT-1 threat automatically even though we don't send out any spammy emails or content other than our newsletters. We wanted to know if there is any way to easily test what is triggering the spam emails from our end so that we can plug it.

    Any help will be greatly appreciated, thanks in advance!

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

    What’s wrong with this code?

    Posted: 28 Oct 2020 08:14 PM PDT

    #include<stdio.h> #include<stdlib.h> int main() { int rYear = 93040 * 12 % 10000; int a, b, c, d, e; printf("Enter five integers: \n "); scanf("%d%d%d%d%d", &a, &b, &c, &d, &e);//6200 6300 6400 6500 6600 int closest, closestDis=100000; int secClosestDis = 100000, secClosest; if (abs(a - rYear) < closestDis) { closest = a; } if (abs(b - rYear) < closestDis) { closest = b; } if (abs(c - rYear) < closestDis) { closest = c; } if (abs(d - rYear) < closestDis) { closest = d; } if (abs(e - rYear) < closestDis) { closest = e; } printf("The closest year is %d\n", closest); if (abs(a - rYear) > closestDis && abs(a - rYear) < secClosestDis) { secClosest = a; } if (abs(b - rYear) > closestDis && abs(b - rYear) < secClosestDis) { secClosest = b; } if (abs(c - rYear) > closestDis && abs(c - rYear) < secClosestDis) { secClosest = c; } if (abs(d - rYear) > closestDis && abs(d - rYear) < secClosestDis) { secClosest = d; } if (abs(e - rYear) > closestDis && abs(e - rYear) < secClosestDis) { secClosest = e; } printf("The Second closest year is %d\n", secClosest); return 0;} 
    submitted by /u/JacksonSteel
    [link] [comments]

    Social Media Algorithm/ Recommended Algorithm

    Posted: 28 Oct 2020 06:56 PM PDT

    I am currently developing a social media app that is kind of a hybrid between YouTube and TikTok. I have almost everything in the app finished, except for arguably the biggest thing in this type of social media app: a recommended algorithm. Youtube and TikTok are both apps that rely on their algorithm that recommends videos based on the user's liking.

    I am trying to implement this into my app, I have done some research and I'm just trying to get as much knowledge about this as possible before I attempt to do this. I was just wondering if anyone has experience or insight on how I might go about doing this?

    Some things that I am looking for are some tips, data that I should collect to better recommend videos (ex: a user liked a video), where I would implement the algorithm (in the feed view controller?), etc.

    I know this post is not very specific, but I haven't been able to get much information looking on the internet.

    I really appreciate the help!

    Notes:

    • the content in this app is by videos, they have Title, Description, Tags, Likes, and comments.
    • I have a working feed that displays the videos that the user follows (like instagram)
    • my app is using Firebase to store all of the data
    submitted by /u/Tw1nkle_Toes
    [link] [comments]

    Adding another metric into the reddit algorithm

    Posted: 28 Oct 2020 06:55 PM PDT

    I have an app that sorts much like reddit/digg/etc.

    Basically, for those of you who don't know, the algorithm calculates the "hotness" of a post by taking into account how old the post is and the total score (based on votes).

    Mine looks like this:

    public function hotness($upVoteCount = 0, $downVoteCount = 0, $posted = 0) { $totalScore = $this->score($upVoteCount, $downVoteCount); $order = log(max(abs($totalScore), 1), 10); if ($totalScore > 0) { $sign = 1; } elseif ($totalScore < 0) { $sign = -1; } else { $sign = 0; } $seconds = $posted - 1134028003; return round($order + (($sign * $seconds) / 45000), 7); } 

    However, this currently only uses 2 metrics. I want create another algorithm that takes into account a 3rd metric: amount of subscribers. This would be called "relative_hotness".

    So for examples, let's say you have 2 submissions posted at the exact same time with 100 total score. Submission A and Submission B. These submissions would have the exact same hotness. However, Submission A was posted in a subchannel that has 1million subscribers, and the other was posted in a subchannel that has 1000 subscribers. This would give Submission B a much higher "relative hotness", even though they have the same hotness.

    How could this be done?

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

    List of z-indexes

    Posted: 28 Oct 2020 03:00 PM PDT

    In javascript & html, is there a script or function that lists all the z-indexes of the components in the body & viewport? it could just be a list of prints in console

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

    Last year of computer science and I still feel lost...

    Posted: 28 Oct 2020 03:05 AM PDT

    Hello everyone!

    I am a third year Bachelor of Computer and Information Sciences student next year (majoring in Software Development) and honestly I still feel like a complete beginner and it really sucks.

    I have made a mini command line game that used hash maps, embedded databases, writing and reading from files, good error handling and displaying and a GUI with basic managers. But that is just the issue, I can do just that.

    I feel like a complete beginner in the "real world" of coding. I look at so many projects (that are, according to authors quite basic), videos etc and I have very very little clue of what is going on in the code.

    Looking at programs like Discord, game launchers or even something simple like paint I would have no idea on how to create something like that. The GUI side of things just have me completely lost, we have not been taught anything near the level of a regular programs GUI. In terms of the actual coding side of things, I have 0 idea how to even create anything in the paint program.

    I am not to sure what this post is, I guess I am just looking for someone who felt the same and is at the level of being able to breakdown a program like discord/paint etc. I dont know.

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

    How does github know when I've read their notification email?

    Posted: 28 Oct 2020 10:48 AM PDT

    If I get a notification on github (blue dot near bell), and then I open the email notification I get, then the blue dot will immediately disappear. How does this happen? How does github know that I've opened the email?

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

    Which survey sites would you recommend?

    Posted: 28 Oct 2020 02:32 PM PDT

    Which sites would make you feel comfortable to respond to a survey?

    Why am I asking?

    I'm considering to add a survey to my bachelor's thesis, but I also want to respect the respondents concerns about their privacy and such. Specifically I want to ask frontend developers what their experience is in maintaining a frontend and how easy/hard it is for them to debug issues, when they aren't in direct contact with the users.

    And yes I know I can search for some poll/survey sites, but with that I rely on a search algorithm and can't take in true concerns.

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

    How to use randint in this case

    Posted: 28 Oct 2020 02:07 PM PDT

    In this case line is a list of words does anyone know how to do the last part using randint I have no clue what to do.

    Addspace(line,spaces,length) first calculates the total space used so far by adding the length of each word in line and each number in spaces. Then, while total < length pick a spot using randint and increment spaces[spot] and increment total.

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

    How to avoid the valueChange event on setValue in angular

    Posted: 28 Oct 2020 09:58 AM PDT

    https://www.geekstrick.com/tech-talks/how-to-not-trigger-ngmodelchange-event-on-setvalue-in-angular-10-reactive-form/

    How can we avoid the event to be trigger on ngModelChange event while setValue() is called?

    My condition is like on the value change from a dropdown selection I am showing confirmation popup.
    on confirm, I want to set the new value which was changed,
    on cancel, I want to reset the old value (But on cancel popup appearing again n again).

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

    Based on what I want to do, which programming language should I specialise in?

    Posted: 28 Oct 2020 07:06 AM PDT

    I am currently thinking about which programming languages I want to specialise in. I want to find out what is my "thing" in development. The thing I find the most enjoyable now is web development. Designing and developing websites is very fun. I think I want to do either one of these when I am done studying.

    At this point I don't know if I want to become a front-end developer or a full-stack developer. All I know, is that I don't want to just write the back-end code. I like how the front-end part of a website looks, but I still like to work with the logic that is behind the website. So, I do want to work with both parts to some degree.

    Currently, I have some amount of knowledge of Python and JavaScript. I find these two languages to be fun to work with and much easier than other programming languages (e.g. Java).

    What should I do? Should I continue learning the current programming languages I am learning, or should I learn someone new? What do you guys recommend?

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

    Is someone able to work out the optimal strategy for this game?

    Posted: 28 Oct 2020 03:12 AM PDT

    You can flip a coin, as many times as you like. Every time it's heads you win a dollar. Every time it's tails you lose a dollar. However the coin is very slightly biased towards tails so you'll lose 50.2% of the time.

    BUT. At the point you decide to end the game, if you happen to be in profit from anywhere between $1 and $100 you'll receive a 10% bonus.

    You can only play this game once. What's the optimal strategy to maximise profit? (ie, at what high point do you quit and claim the bonus, or low point do you quit and take the loss?)

    Another game: very similar, except there's no bonus if you're up. However, if you're down (up to $100) you'll get 10% of your losses back. Identical strategy, or slightly different cutoff points?

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

    I'm looking for a script that types in discord, a list of names, one at a time. The script needs to follow a list and slowly work through it. if this is possible, that'd be awesome

    Posted: 28 Oct 2020 11:33 AM PDT

    what are some easy coding games/projects in javascript, python, html, or css?

    Posted: 28 Oct 2020 11:24 AM PDT

    How do I not fail my compiler construction class ?

    Posted: 28 Oct 2020 07:03 AM PDT

    The class was mandatory and I was actually looking forward to it. But the instructor turned out to be completely wack. And before I knew it 20 lectures had passed. I somehow managed to cover up 10 lectures but even then there's a lot I don't understand even though it seems really simple. My automata skills were pretty decent last sem so that helped but I feel like I need to start again all over from 0.

    My main ask from you guys is, do you'll know any free resources that can help me study ? I've tried YouTube but it seems like all the videos are for the Indian gate examination.

    I need something that can help me cover up the full potion without the instructors help if possible. Also stuck in lockdown.

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

    Question.

    Posted: 28 Oct 2020 10:28 AM PDT

    What language should I learn if I wanted to make a very simple quiz type of app on android. Thank you in advance.

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

    Videos and/or anything that can be read to help learn more about If statements in python?

    Posted: 28 Oct 2020 09:41 AM PDT

    I have been trying to teach myself python. The book I have been using to try to learn has you try to complete tasks after reading a bit. For me, it hasn't given enough information to be able to get it to work out just fine. Any advice on where to go to get some more information on this specific thing would help.

    I am going to go back through the specific chapter in the book once again to try to get more out of it, but another source of information on this topic would be useful.

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

    No comments:

    Post a Comment