• Breaking News

    Friday, July 3, 2020

    What is the easiest type of programming to learn while still being easy to get a job/in demand? Ask Programming

    What is the easiest type of programming to learn while still being easy to get a job/in demand? Ask Programming


    What is the easiest type of programming to learn while still being easy to get a job/in demand?

    Posted: 03 Jul 2020 04:02 PM PDT

    Would it be web development, data visualization, etc (just examples of what I mean)..obviously something like machine learning might be really difficult to comprehend compared to the rest. I'm not too concerned about the the highest pay

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

    Do you need to love coding in order to get an IT job?

    Posted: 03 Jul 2020 10:52 PM PDT

    I'm 17 and I have taken some programming and CS related courses in my college and did quite well in them. Actually programming was quite fun, like solving puzzles in a trance state, but when I was finished with a project or assignment I didn't particularly want to go home and code some more.

    I usually think to be someone in a workforce and be happy you should really love your job, and apart from me enjoying coding I dont have the same drive to code as some people I know who have been coding for years intensively through intrinsic motivation

    Envisioning myself as a programmer at a job I would be only motivated by the salary and maybe solving the problems at hand. Is this not the career for me or do you all mostly think this way aswel? Thanks

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

    Choosing the right architectural fit, Serverless, Containers, Microservices - .NET

    Posted: 03 Jul 2020 12:40 PM PDT

    Recently our company has inherited a new project which we tend to rewrite from scratch with new technologies and using some common architectures and deployment methods. As our company has done most projects in a monopolistic way without using any architectures or deployment methods, this would be the ideal project to do it the right way.

    I am however puzzled, after reading a bunch Serverless vs Containersand Microservices vs .. articles, which architecture(s) / design patterns / deployment methods are the best fit for our use case, and if we are not in over our head by implementing all these new architectures.

    I'll try to explain our use case a bit better below. We are a small software company with 3 programmers. Our main product is a CRM system which is developed in 2001. We have a bunch of other projects but all these projects have one thing in common, they lack a good infrastructure / architecture and they are mostly developed using the Waterfall methodology.

    The new inherited project has a lot of potential and scalability. The current project is written in several technologies, namely:

    • DOTNET 4.5 , MVC 4
    • C#
    • jQuery, Javascript
    • Angular 7 & Ionic 4
    • Java

    The current project consists of:

    • A web application (MVC 4 / C#)
    • 2 Mobile applications (One written in Angular 7 / Ionic 4 and 1 written in Java)
    • 1 REST API (C#, this API is being used by the Ionic 4 mobile APP)
    • 1 SOAP API (the SOAP endpoints are integrated in the web application project and is being used by the Java Mobile app)

    We already made the decision that as a starting point we will rewrite the Web application in Blazor (client-side) and the REST and SOAP API to a new REST API template with .NET Core.

    The two APPS will probably be rewritten in some technology in the Microsoft stack as well, but we are not quite sure with which technology (probably Xamarin).

    So now for the question, I have read quite a few posts about different architectures but sadly I have no experience with all these different architectures and I feel I can't make the right decision (although I am leaning towards a few).

    Clean Architecture

    This one I am pretty sure about. I think we can gain a lot of improvement on our project by following this architecture with the least of effort. It seems that this architecture can easily be co-implemented with other architectures or even non at all.

    Serverless or Containers

    Serverless

    This one I am doubting a lot. Going Serverless seems to have a lot of benefits, to name a few:

    • Reduced time to market (though this is not really a priority since the initial project is running in it's current form as-is and we are rewriting it anyway).
    • Lower operational and development cost, e.g. no maintenance costs, not to handle pesky server updates, etc.
    • Easy packaging and deployment
    • Pay per usage

    Obviously the Lower operational and development cost, the easy packaging and deployment and especially the pay per usage appeals to us the most. However, going Serverless also has it's downsides:

    • Cold starts (especially with our .NET / C# stack)
    • vendor lock-in (this however is not a very big deal for us since our stack is mainly Microsoft already, so we would go with Azure functions for Serverless).
    • Serverless architecture requires significant upfront Human Resources costs (this one is problematic for our 3-man team).

    Because I am unfamiliar with Serverless a few questions remain:

    1. Is Serverless suited for our project, or is the project to big for it? As I understood from several posts, Serverless is better suited for small tasks like processing images. Is it also suited for hosting entire web and mobile applications (which will hopefully grow) with corresponding databases?
    2. We have a lot of knowledge with deploying applications to multiple different Servers / Virtual Machines and we like to be in-control, would Containers not be the better option for getting the easier-deployment benefits (but losing the maintenance and pay-per-usage benefits)?
    3. Won't the cold-starts be a 'to big' problem? I can imagine that when the first user has to wait ~10 extra seconds before the web/app application starts can be a pain.

    Containers

    I am leaning a bit more towards going for the Containers approach. Mainly because it gives us more control over it and it is a bit more 'how we are used to do it' approach.

    To summarize the benefits and downsides for Containers:

    • Better suited for larger applications
    • More control over the environment (full flexibility)
    • Easier to scale the application
    • vendor-agnostic
    • easy to test, build and deploy everywhere

    the downsides:

    • containers don't run at bare-metal speeds (performance overhead). It however is still better than using virtual machines (which we have done as well).
    • Not all applications benefit from containers (we are somewhat better of with using a microservices architecture in our project).

    Going for containers also leaves me with some questions:

    1. Are containers (like docker) best used / utilized with Microservices?
    2. is the 'container / docker-way' suitable for a 3-man team?
    3. Where to host the container? On premise? or is it better to host it at a specific / special container cloud host (which would be Azure for us)? Would the latter also give some of the benefits Serverless has?
    4. In terms of costs, is on-premises more cost efficient? (probably depends on the scale of the application).

    Microservices

    By reading both the Serverless and Containers posts, I stumbled time after time on the Microservices architecture. It seems that both architectures greatly benefit from using the Microservices architecture. But also with Microservices, my experience with it is very limited.

    To my understanding the Microservices architecture means (among others) the following:

    • The project will be separated into smaller pieces (microservices), each service has it's own task / responsibility
    • Each Microservice has it's own database
    • Microservices are modular and could be deployed independently

    After reading the following post; https://containerjournal.com/topics/container-ecosystems/when-to-use-and-not-to-use-microservices/, you should go for Microservices:

    • When you want your monolithic application to accommodate scalability, agility, manageability and delivery speed (Check)
    • When you have to rewrite legacy applications in today's programming languages or tech stacks to keep up with modern-day business requirements and solutions (Check)
    • When you have standalone business applications or modules that have to be reused across diverse channels—some good examples would be login services, search options, authentication facilities and more (Check to a certain degree)

    When not to use Microservices the post mentions the following:

    • Using microservices can prove to offer contrary consequences if you don't have a team size that cannot handle the tasks involved. This will only result in the delay of delivery. (this one is obviously a big one to us since we only have a 3-man team).
    • Microservices are solutions to complex concerns and if your business doesn't have complex issues, understand that you don't have a system in place to handle the complexities of microservices.

    I know Microservices will be costly to implement (correctly), though I feel like we should not lose this opportunity to implement it since we won't get a project as suited for going with the Microservices architecture as this one.

    I also have some questions remaining about the Microservice architecture:

    1. Each Microservice will get it's own database, but how do you deal with, for example, foreign key relationships between tables from different databases. For example, if you have a login / identity Microservice with it's own related database (users, roles, etc.), how would a FK constraint look like with an Order table from another Microservice where the same user is being inserted, updated or logged.
    2. How do you handle updating data from one database to another, for example when someone inserts an order, then I also need to update / insert the order history which perhaps resides in another microservice and thus another database (can't think of a really good example right now).

    I hope some one with experience in using the Microservices architecture could give some pointers / advice. Is it wise to implement it for our use-case?

    So a lot of questions / architectures. In the end, I am afraid that implementing a new technology like Blazor (in which we do have some experience), Clean Architecture, Serverless or Containers and Microservices will be to much for a 3 man team, but on the other hand, this is the perfect time to do it right. Any pointers on tips, should we leave some out for the time being, and if so, which one(s)?

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

    From a Ui template to code

    Posted: 03 Jul 2020 05:03 AM PDT

    Hey everyone! I'm fairly new to the software engineering/computer science world. Im currently finishing my first year in university and have some knowledge on data structures, java, C, Haskell and have been learning some python by myself. But everything i've done thus far has been terminal based, and i wanted to build an application as a side-project this summer( Was thinking about a To-Do list, a sudoku app, or something along that). The main issue im having is that i can't find online the specific anwser for what im looking for, which is i don't know how you make a good looking Ui and import it into your code, i mean everything i search ( like Swift for Java or Qt for Python ) looks super outdated and i don't know if it's possible to make it look good through code or having an ui template from which i can code on top.

    I'm sorry if it seems like a very stupid question, but i genuinely want to know how this process works as i really want to build some desktop applications on my spare time.

    Thanks in advance :)

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

    Fake captcha on a product retrun form

    Posted: 03 Jul 2020 10:33 AM PDT

    Edit: forgot the question mark at the end of the title.

    Hi, I hope this is allowed. Context: I'm trying to return a product bought online. To do so I need to fill in this form

    https://www.lojadosbebes.pt/index.php?route=account/return/insert

    Seems to me that the captcha doesn't exist which would be quite tricky if it was the case. "Insira o código da imagem no campo abaixo:" is the captcha field. I had a look at the page source code but I'm not able to conclude anything from it. Does it make sense to you? Thank you

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

    Beginner c#: using {0}, inside of ?:

    Posted: 03 Jul 2020 06:43 PM PDT

    So I have this

    '
    string name; Console.WriteLine("What is your name?");

    name = Console.ReadLine(); Console.WriteLine("Hello {0}, how old are you", name); string agereq; int age = Convert.ToInt32(Console.ReadLine()); agereq = (age >= 18) ? "welcome {0}, you meet the age requirement", name : "sorry, get lost kid" ; Console.WriteLine(agereq); ` 

    This gives the error about having , name before :

    What is the appropriate way to correctly do this?

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

    Is this text book describing concurrent programming correctly?

    Posted: 03 Jul 2020 05:49 PM PDT

    To my understanding, concurrent processing is when processes may be paused while others are allowed time with the processor. Parallel processing is when processes are physically instantaneously on multiple processors. I believe these are the accepted definitions. So this text book's description is throwing me for a loop:

    Until now, we've looked at multiprocessing as several jobs executing at the same time on a single processor (which interacts with I/O processors, for example) or on multiprocessors. Multiprocessing can also refer to one job using several processors to execute sets of instructions in parallel. The concept isn't new, but it requires a programming language and a computer system that can support this type of construct. This type of system is referred to as a concurrent processing system, and it can generally perform data level parallelism and instruction (or task) level parallelism.

    Understand Operating Systems, McHoes

    Is this correct or am I missing something?

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

    Best practices for learning coding techniques and frameworks faster

    Posted: 03 Jul 2020 09:17 AM PDT

    I'm a university student doing a program in software engineering, and it seems like I'm having quite a lot of problem with the time it takes for me to learn and adapt to new coding techniques and technologies

    A while back before I was exposed to frameworks and patterns like MVC, MVP for androids, OOP, programming was a bit easier to breath since the only thing I used was procedural programming to get the job done. But now as courses' requirements increase I have to learn and adapt to so many patterns and framework like Firebase, Flutter, the Android lifeCycle in general, Model View Presenter, database querry and their asynchronous nature, .Net Framework,... And so many more to come. I'm feeling really overwhelmed with the amount of things I have to learn and sometimes I tend to give up, because I don't know how to manage thing, it always takes me too long to learn a simple concept, like for example it takes me days to learn how to transfer data between activity to fragment in android, by the time I'm done it's already too late, and I end up failing the class. And I know in the future when I get into actual real world development the code base will be much larger then what it is now, and I will have limited time to learn it

    I know there's plenty of techniques out there with just a google search, but it's hard to put myself in the perspective of those blog posts or articles about best techniques, so I'm wondering how you guys, whether you're industry professional or university students like me, learn coding techniques or improve your code in an appropriate amount of time, so that you can advance without being overwhelmed by the amount of things to learn

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

    Unicode Character Lookup

    Posted: 03 Jul 2020 01:26 PM PDT

    Hi,

    I often have to deal with weird characters, sometimes invisible, sometimes they look the same but they are not... I use this https://unicodemap.org/search.asp

    However, it seems not to admit newline characters. They are just deleted. I have a Libreoffice document that seems to include different newline characters, with strange effects, and I want to look them up. Do you know a better tool?

    Or alternatively, a way to look up the name or code of a unicode character in Libreoffice or Notepad++.

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

    How much should I charge for a chat bot on a clients website?

    Posted: 03 Jul 2020 11:26 AM PDT

    So this is my first bit of freelance work I've done (Thought I have 3 year experience working as a full stack developer). A friend of mine, who works for a small to medium online & in store seller (intentionally keeping it vague for privacy).

    They have asked me to create a chat bot, that will be floating on the main page of their website, so customers can select options from it and be navigated to apropirate locations on the website or prompted to contact different departments. You've probally seen them on other websites. I know how to do this from a technically standpoint & I think it would only take me a couple days or so to develop and test. However I no idea on what to charge them.

    I was thinking £50 ($62.37 USD) but my friend looked up what other people are charging for a basic chat bot like the one I would develop and they are charging £300 ($374.23 USD). So what do you guys think I should charge? Or how do you work out how much to charge someone for your work?

    EDIT: This is my first time posting on this subreddit so I'm sorry in advanced if did something wrong in the post & I'd happily correct it.

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

    Help editing a script

    Posted: 03 Jul 2020 09:36 AM PDT

    Hey, I found someone who wrote this script that's used to unblock the VOIP restrictions in my country for the game Valorant. The script stopped working, and the guy who wrote it isn't responding to the comments. So I'm trying to see if anyone here can help identify any change that can be made to the existing script to get it to work again. Linked below. Thanks.

    https://imgur.com/a/1aoXJdq

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

    What's contained in large app updates on iOS?

    Posted: 03 Jul 2020 09:16 AM PDT

    For example they can be 200-300 MB. Is it basically a new app that replaces the old one? I assume they make changes to the old app but how can it be this big

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

    What are programming rules common to every language ?

    Posted: 03 Jul 2020 12:21 AM PDT

    I'm an intern currently developing a SonarQube plugin for a new language for my company.

    I have implemented a few rules very specific to this language, but I was wondering what are some rules common to every language that I could try to enforce on the code, like function names not being too long or loops being closed.

    I already checked for those two !

    Any help is appreciated, thanks :D

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

    What,according to you,is the best way to learn competitive programming

    Posted: 03 Jul 2020 04:59 AM PDT

    Please describe the most optimal and practical way to prepare for/learn which according to you,is the best for competitive programming. By optimal and practical way I mean an actual roadmap or a routine with the concepts to prepare as well as things to be taken care of. There are tons of ppl advising on this but none of them give a practical route,that's why I'm asking.Most of them be like "be good in ds and alogs" or "practice",and that's pretty much it,which is really frustrating. Thank you in advance.

    submitted by /u/8BitArmour
    [link] [comments]

    Hi there! So I did a couple of courses in python recently and I dont know what to do now.

    Posted: 03 Jul 2020 04:39 AM PDT

    Before learning python I was tinkering with arduino and I got pretty good at it as a beginner. I did some small projects on my own and I also learned c++ for programming arduino. I took a little break from it due to exams and stuff (this was before corona) and during the lockdown I was drawn to python because I wanted to get into machine learning and A.I development and stuff so I took a few courses through websites and youtube. But now I don't know what to do... Should I continue learning arduino and c++ or should I get more into python. I know python can be used for programming arduino but I dont know if I should because I was getting comfortable using the arduino ide.

    Any suggestion or advice would be highly appreciated. Thanks.

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

    Questions on API POST/GET Calls

    Posted: 03 Jul 2020 07:32 AM PDT

    Hey all,

    I am trying to dabble in some coding work to try and fix a problem we have at our fire department, but I know so little about development that it's hard to even get this off the ground.

    Basically, the web app (SaaS type deal) has a developer API that I've signed up for already, so I have access to all the documentation and an API key all that good stuff.

    What I want to do is use Microsoft's PowerApps to create a connector that uses the POST and GET statements to grab the field for the last entered Incident Number, then display the next number in line. So for example, if our last recorded incident is 2020-100, the app would show the next number as 2020-101. This all stems from people doing the paper documents wrong and getting things out of sequence with the reporting system.

    This is the example for Curl request:

    @ECHO OFF curl -v -X GET "https://data.softwarecompanydomain.com/agencyincidents/incidents?rowVersion={string}&limit={number}&offset={number}&filter={string}&orderby={string}" -H "Ocp-Apim-Subscription-Key: {subscription key}" -H "Authorization: {access token}" --data-ascii "{body}" 

    The results are last in, first shown. So I know I can parse the field for number from this and be fine. My question here, as rambling as it is, is should I just do a limit of 1 here to get just the last record? I feel like this may be too simple as I write it out it doesn't seem to complicated, but when I attempt to do this in Visual Studio before it was a cluster.

    Thanks!

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

    Medium level programmer: where to dtart with app?

    Posted: 03 Jul 2020 06:35 AM PDT

    Hey there! I have this great idea for an app and i want to make it come true(ios and android). It's meant to be a social networking app and i don't really know what languages i need to know. I know c++, little bit of java, and html css javascript and php. Is there a usefull tutorial out there on how to make an app that isn't clickbaiting money making and succes and is actually going to lead me somewhere? What languages and programms would you recommend me?(i'm working with windows, but it's not a problem with VMs)

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

    What Should I use To Text Over Direct Wifi ?

    Posted: 03 Jul 2020 06:27 AM PDT

    I want to create an app that can share text messages over connecting throw direct wifi

    so I wanted to know if there is anything I need to know or study about this direct wifi method!

    i'm Using Python and thinking about building using Scipy Library

    explanation: me having the app and seeing if there is someone near that I can text without having an internet connection so I connect to the other person guy ofc the phone will ask for permission and after that, we can text

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

    Hey does anyone know how echkhartsladder make his battle breakdown video and the ships.

    Posted: 03 Jul 2020 05:00 AM PDT

    Please help me.

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

    Code Snippet optimization

    Posted: 03 Jul 2020 04:18 AM PDT

    Is there any platform like stack overflow to get my code optimized? A snippet of my code needs to be optimized.

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

    What data to pass to the Microsoft graph api

    Posted: 03 Jul 2020 02:37 AM PDT

    I'm using the microsoft API to update a users profile picture.

    My question is should I send a blob to the API or should I pass base 64 data to it. .would be super helpful if somebody could help me

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

    No comments:

    Post a Comment