• Breaking News

    Sunday, August 29, 2021

    I just realized "strongly typed" doesn't mean "typed with a keyboard" typed. learn programming

    I just realized "strongly typed" doesn't mean "typed with a keyboard" typed. learn programming


    I just realized "strongly typed" doesn't mean "typed with a keyboard" typed.

    Posted: 28 Aug 2021 07:21 AM PDT

    that was embarassing

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

    30-year-old ex-teacher of 7 years, looking to become a developer, are bootcamps worth it?

    Posted: 28 Aug 2021 03:19 PM PDT

    Right out of college I started teaching high school. Honestly, it was a horrible experience, I've taught in a few different schools, both physically and virtually, it's not made for my personality type. Anyway, I just put in my resignation letter this past week and am very interested in getting into the tech industry, specifically to become a developer. My wife works for RedHat as a portfolio manager so I have seen how well tech companies treat their employees. Does anyone have any advice on where to start, what path to take? Are bootcamps worth it? If so which one? Full Stack Developer vs another root? Should I go the CS50 by Harvard route? The Odin Project vs. Free Code Camp? Etc.

    PS I have already taken a few Udemy courses, and got a ScrumMaster certification. I am highly motivated, as long as I know the path to take, I'll take it.

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

    Opportunities for non-webdevs

    Posted: 28 Aug 2021 06:14 PM PDT

    I'm a fairly recent grad with a job as a C++ programmer. At my work there are about 10 C++ devs while there are about 100 webdevs. This ratio seems borne out online where the vast majority of programmers are webdevs. It seems that almost every learn programming question or piece of advice to newbies revolves around web programming. I guess this is a reflection of the popularity and demand for web applications.

    I want to go down the path of writing C++ or Rust or something similar in a non-embedded context. I don't have much interest in web development.

    Every article I look at along the lines of "Should I learn C++ / C in 2021" basically says they will always be around because they're used in systems programming/embedded/games etc. I don't doubt this. However, I think all of these applications combined still put low level languages a long way behind the popularity of languages for web development.

    My question is not whether C++ or C will still exist in x years. I more want to know whether it will be harder to make a career as a C++ / Rust developer than it would to just transition to web development because that's where the jobs are. I know jobs outside of webdev exist but it seems to me that there are much fewer of them.

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

    What's a program you made that you actually use regularly?

    Posted: 28 Aug 2021 12:02 AM PDT

    What are some projects you made for personal use that you actually use?

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

    Binary search - why do we set mid to (a+(a-b)/2) instead of (a+b)/2 to prevent overflow

    Posted: 28 Aug 2021 06:54 PM PDT

    TITLE TYPO: i meant (a+(b-a)/2)

    so for binary search you can either use (a+(b-a)/2) or (a+b)/2 when setting the middle index. when I use the second one, I sometimes run into overflow (cpp) despite the equations being equal to eachother (eg. set a = 6 and b = 12 and both = 9). since they both set the index to the same number i dont get why the second equation runs into overflow. is it because since you do brackets first, (a+b)/2 is an overflow but (b-a)/2 isnt an overflow since method 1 takes 3 steps instead of 2; and the overflow happens during the steps?

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

    What is the best practice for encrypting sensitive user data?

    Posted: 28 Aug 2021 11:24 PM PDT

    I am currently building a web app using AWS.

    I currently have a dynamoDB table where i store username and password. But after implementing it, it seems kinda weird that I can just see everyone's actual password everytime they write something to the DB.

    Is there a best practice for encrypting sensitive data on AWS? Am I supposed to import a library that does that? How exactly should encryption be handled for someone building a web app?

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

    How to fix "no main manifest attribute" in vscode?

    Posted: 28 Aug 2021 09:18 PM PDT

    Can u explain me simply? Please help me guys!

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

    What is the difference between an IDE, Code Editor, and Text Editor? Any you'd recommend I should use for Python?

    Posted: 28 Aug 2021 11:17 PM PDT

    For context I am in my first year of college and for the life of me I don't understand why my instructor decides not to explain anything and just throws terms at us like the ones in the title expecting us to somehow know what they mean. Because of this I decided to act in defiance by learning on my own instead. The language we are using is Python and if there are any programs from the ones in the title you'd recommend I use. If it helps I am looking into developing my own apps and probably even games down the line if ever. I have no prior experience in programming so any and all responses and tips would be immensely appreciated.

    Also I apologize if the text above seems rant-y, it just surprises me that we paid for someone to send us a link to a site online that teaches us Python (I apologize again for the stab at the end).

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

    Is it just me or does every answer on stack overflow seem way more complex than it needs to be?

    Posted: 28 Aug 2021 09:20 AM PDT

    I literally just searched for how to add a new line in JavaScript. It looks like all I needed was the '\n' character but the top result and answer was some crazy wall of code.

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

    Early career / non-CS - how do people prepare for interviews?

    Posted: 28 Aug 2021 04:46 PM PDT

    This doesn't describe me anymore, but curious what others experiences were. How did you prepare for interviews the first time around entering the software engineering job market? What was your main language, what were your main resources, and was anything surprisingly helpful or frustrating? Mainly curious for folks who didn't do CS undergrad but any replies welcome.

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

    Spring + Angular tutorial similar to Corey Schafer's flask tutorial.

    Posted: 29 Aug 2021 12:05 AM PDT

    Hi everyone. I want to learn Spring and Angular for new project on a job. Can anyone recommend tutorials just like Corey Schafer's style of teaching. I saw his flask tutorial on youtube and it was easy to follow and understand even if a person has a beginner knowledge in python. Also it was in project based tutorial. Similar to that please recommend Spring + Angular tutorial. Thank you.

    submitted by /u/9hqs
    [link] [comments]

    Changing up

    Posted: 29 Aug 2021 12:05 AM PDT

    Hello everyone,

    I'm currently working as an accountant (28M) but have realised that I'm more interested in computers and tech and am very over the 8-5 office grind.

    I'm pretty motivated and have started a couple courses on Udemy but just want to see if anyone can point me in the right direction while I'm just getting started.

    Thanks

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

    What do i need to know before i start learning programming language?

    Posted: 29 Aug 2021 12:03 AM PDT

    Is there certain basic concepts i need grasp on before i start learning programming language? I want a good foundation so i will invest time but i just need to know the important basic concepts i need to have a grasp on so i dont fall into a rabbit hole. I'm starting with c++ language. Thanks.

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

    Advice on which technology is relevant to me

    Posted: 28 Aug 2021 11:51 PM PDT

    I am a SAP ABAP consultant with involvement in AWS, SQL and sometimes python, I am not a pro coder kinda guy who codes at 3 AM but I do like software technology. I have 2 questions, Assuming my technical domain as described above,

    Q1. Is there any point in learning system level technology like C++\Rust or even related things like openframeworks or desktop app development apart from doing it just for fun?

    Q2. What things do you recommend for someone like me who wants to stay up-to-date with software development and programming?

    P.s.: please don't recommend anything related to web development (HTML/CSS/JS/JQUERY/SPRING/.NET/DJANGO), I HAVE WEB DEVELOPMENT PTSD!!!

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

    Kivy or Flutter? Which one is good for this project?

    Posted: 28 Aug 2021 11:42 PM PDT

    I want to make an app that sends a notification when a certain event is about to happen. The app is going to use a web scraper that is going to scrape the information about the event and send a notification when the event is about to happen. I already have the web scraper built using Python.

    Which one is better for this project? Kivy or Flutter?

    Since I already know Python, I am thinking about going for Kivy.

    Your help would be appreciated. Thanks!

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

    [Python3] How Do I Get the Current Working Directory of a Process I Did Not Start Within My Program?

    Posted: 28 Aug 2021 07:43 PM PDT

    Hello,

    After learning a little bit more about python3 as well as some of the internals of more lower-level areas of UNIX systems I have finally decided that I want to start working on a long time project goal of mine, a Plan9 inspired plumbing subsystem for UNIX-like operating systems.

    This project as a whole while seemingly daunting is actually, well, pretty simple. If you remove all of the abstraction essentially all you are doing is working with text and doing x if y is met. Obviously, this is to some extend an over simplification, but I will leave the nitty gritty to the developer documentation. While I do intend to eventually add support for file-system operations and events and build a full, all in compassing, true plumber subsystem my first goal is much simpler: implement the pieces of the plumber that most users will actually know about and use on a daily basis. This will take maybe 30 minuets of coding minus one thing I want to do in a way I have not prior.

    A long time ago I wrote a shell-script meant to emulate the behavior of the Plan9 that I wanted, i.e. I highlight text and it determines where to send it. At the time Wayland was not a thing that looked to be coming into the arena any time soon so I simply used sselp to get the currently selected text in X. This, however, did have problems:

    • I had to reply on an external program for key functionality

    • I had no way to upscale to Wayland unless someone else implemented this same program for it

    • This program would not work outside of an X environment with selected text (think headless desktop environments or even a somewhat modern take on TTYs you may see around)

    • I never got the current working directory of the program holding the selected text, so if the user gave me a file I had no way to actually work with it as I did not have its full path

    These are the short headlines, but there are more. I am looking to dig in and actually get my hands dirty and even use this project to finally learn some OOP paradigms! Here, however, I am stuck on two things. Ideally, there are two ways a user can interface with the plumbing subsystem:

    • They simply bind the program to a key binding in their window manager, for example, then they highlight text and hit that key binding to plumb (this is similar to the functionality in rio)

    • They explicitly pass the object, text or file or whatever, to the plumber

    I already know how to write the plumber to work with the latter scenario, the user does the heavy lifting there. The issue with the former is due to my lack of knowledge of Python3. What I need to do in order for the former to work is:

    • Get the process ID of the program the user is currently using

    • Get the selected text of that program

    • Get the current working directory of that program

    and likely a litany of other things in the future, but I am just starting. The issue is I can't figure out how to do this in python3. I had tried researching, but all I can find is how to get the current PID of a program I executed in my python3 script. Additionally, when it comes to getting the selection I would like to avoid any Xorg specific code. I thought Linux stored the selection of each program in /proc, which I am not too fancy on touching as I had grips with its existence, but it seems like I am misremembering and that maybe Xorg stored that somewhere in there. And, even if I did parse /proc, for this information it would not work on OpenBSD as they removed /proc due to it being a security risk, thank god.

    TL;DR: I am extremely confused on where I go from here. I am unsure how I can achieve getting the users current selection without using an external tool which I would rather not do. I don't know how to get the current CWD of the program it is from either and I am just, lost. Does anyone have any advice or direction they could point me in? Thank you for your time.

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

    Python web3. How can I call this function with these parameters and input data?

    Posted: 28 Aug 2021 11:23 PM PDT

    Hi,

    I'm MB, a very nice and polite guy.

    OS: Unix-like.

    How can I call this function with these parameters and input data using py.web3?

    Name of function and parameters:

    swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline)

    Input data:

    amountOutMinuint

    2561386072739110126741

    pathaddress[]

    0d500b1d8e8ef31e21c99d1db9a6444d3adf1270

    8f3cf7ad23cd3cadbd9735aff958023239c6a063

    toaddress

    e5d77ab5fea649ca621f4f6c8a9b542fef88ab8b

    deadlineuint

    2563260059519

    I think I am able to connect correctly and the abi should be defined correctly as well. But I need to know how to put the above parameters into a Python command that executes the function. Oh, also I need to know how to add my private key from the current address to the script so that the transaction can happen. Anyone?

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

    Need help with Java-Mooc Programming exercise

    Posted: 28 Aug 2021 11:06 PM PDT

    Hey guys, I'm trying to do the part 3 first exercise "YourFirstBankTransfer" on the Java-mooc course, https://java-programming.mooc.fi/part-4/1-introduction-to-object-oriented-programming

    And I'm getting the following error, can someone suggest me what's the error meaning and how I can resolve it?

    Here's the error message https://imgur.com/a/2gmIqJ1

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

    Trying to make an Insta-like app people might actually use. How do I know which hosting options will work the best for my app and scale without costing too much? Like how do you know if using Heroku will cost more than Firebase or whatever?

    Posted: 28 Aug 2021 11:58 AM PDT

    I know this is a hard question that a lot of professional businesses have troubles answering, but I am lost and could use some help.

    I have a social media app I want to make that's similar to Instagram but for a way more niche group of people. I understand the odds of it picking up are slim and right now it doesn't matter who hosts it because it's free unless it picks up steam. But that being said if it did pick up steam how do know which service will scale the best? I think at this point it's such an easy project that I could easily change later, but in the interest of understanding how would I even go about trying to figure out how much bandwidth a website would use and need per 1/100/1000 users. It seems like price would reign supreme here when looking at a site like a business, so if it's cheaper to host something with Firebase over more standard services like Heroku then I'll design my site to do that. I just want to know how to shop around for this stuff and figure out how much money a successful site will cost.

    For additional info, I only plan to host images, not videos. Also I will scale them down similar to how Instagram does.

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

    What program to create if you are new in programming?

    Posted: 28 Aug 2021 09:34 PM PDT

    Hey, I am learning the C language and I want to practice but I don't know what to create so anyone can give the list of programs to create for 100days to practice the language.

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

    Video encoding tutorials

    Posted: 28 Aug 2021 09:25 PM PDT

    Been trying to learn more about video encoding and codecs and only really found seminars and blog posts, and a GitHub explanation with mainly an overview and very loose hands-on 'code'. Does anyone know or have any resources with code attached?

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

    Where to start? Video Editing App For Instruments

    Posted: 28 Aug 2021 09:19 PM PDT

    Good day, hope you are all feeling great :)

    Problem?
    To create a video editing app specific to instruments like guitar, piano, and other stuff.

    Goals?
    - Platform. Want it to be a web app if possible if not it can be a mobile app.
    - Add animated graphics to the video.
    - Scrubbing the video should be smooth. (I'm aware this depends on the device but with the right device it should be smooth)

    My progress?

    1. FFMPEG
      This was the first library that came to my mind when it comes to video manipulation but after testing it out like adding some text to the video I feel like it won't do the job or at least it would be difficult but I think I can still use it but not for the animated graphics part.
    2. Unity
      Still researching this seems like a good fit for the animated graphics requirement.
    3. Other stuff I'm researching about;
      WebGL, WebAssembly,

    My main challenge?
    I think currently my main problem is adding graphic animations to the video. Just an example for pianos adding some bar notes.

    Note:
    I am aware that there are existing apps that can do this but I'm taking this project to learn. My experience with programming is almost 9 years but mostly related to enterprise applications and related to this project. I don't mind learning new tech/language in fact I enjoy it that's why I'm doing this 😂.

    Also, I'm posting this to a lot of programming subs I'm already apologizing in advance if you see this again😂. I'm not spamming I just want to gather inputs and ideas.

    Thanks in advance :)

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

    In IDE hell... looking for Simple C++ compiler + text editor program....

    Posted: 28 Aug 2021 01:16 PM PDT

    Hi guys I have recently been dealing with IDE overload. Projects randomly get hidden, stuff gets toggled without me knowing, code gets lost, etc.

    I was wondering is there anything out there that is just a text editor or maybe even not the text editor just a quick compiler that shows output? I have been getting frustrated with all the bells and whistles in IDEs and just want something where all I do is modify code and see the output thanks.

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

    Anyone else dealing with a reddit bug when copy/pasting code from somewhere else?

    Posted: 28 Aug 2021 08:38 PM PDT

    There is a serious reddit bug every time I copy paste code from somewhere else. It comes out all scrambled. It behaves very strangely when I try to edit it and it is infuriating.

    What's weird is it seems to work fine when it's in an original post. But when I try paste it into a comment the nightmare begins.

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

    No comments:

    Post a Comment