• Breaking News

    Thursday, May 20, 2021

    Lack Of Creativity & Overwhelmed Ask Programming

    Lack Of Creativity & Overwhelmed Ask Programming


    Lack Of Creativity & Overwhelmed

    Posted: 20 May 2021 09:24 AM PDT

    So here's the thing. I have been programming professionally since 3 years and I am a self taught programmer started back at the age of maybe 10-12.but now I feel like I am getting bored at my field I still do find developing things fun but its been quite some time since I had a good idea to work on. plus I am pursuing a masters degree in AI so I feel people around me know way too much and I barely know anything. It feels like people can just go from one language to another instantly know multiple frameworks and tbh it makes me feel bad about myself. I am the kind of guy who learns by making things but lately I haven't found an interesting idea or anything to work on plus whenever I like something that I want to build I either get overwhelmed from the amount of things I need to research and learn or I get demotivated because someone has already built it .

    so I just want to know your guys views on this issue is it just me or does this happen to you guys as well.

    PS - forgot to mention I am a backend developer at a company that works on AI & Finance Software

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

    Question for you knowledgeable programmers.

    Posted: 20 May 2021 08:57 PM PDT

    For those of you who are familiar with Synthesia Piano Program. How difficult and long do you think it would take to replicate something similar?

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

    How many days can the travelling salesman travel?

    Posted: 20 May 2021 06:23 PM PDT

    Hi, just finished a coding interview online. Absolutely failed it! Hard problem, and they barely give you any time to solve it (30mins). This is the problem. Do you know what this is called, in the general sense? I thought I might be a weighted longest path problem

    You are given n integers. Each integer represents a city, and the number times you can travel TO that city.

    How many times can a traveling salesman travel, starting from the first city, before he cannot travel to any more cities?

    example: for the input 7 2 3, the salesman can travel to the first city 7 times, the 2nd city 2 times, and the 3rd city 3 times.

    I didn't think this was a very good interview question. Certainly not only at 30mins

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

    How do you handle autosave without spamming calls to the backend

    Posted: 20 May 2021 12:44 PM PDT

    I'm building this app where you can fill in a bunch of data (comparable to excell). Techstack is Frontend(angular) + firestore, no backend

    How do i handle making it autosave without pushing me into paid firestore plans when a few users are using it?

    My best thought was updating localstorage on every change and just saving every 5 minutes. And if the user wants to exit while the last appstate was different from the localstorage state, give them a message to let them save manually.

    Also if no changes were made in the last 5 minutes, no save would be triggered.

    This is my best guess on how to solve it but maybe there is a better way of doing it that i didn't figure out yet. Any suggestions?

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

    Is it okay to switch career to Salesforce at the age of 27 with no IT background? Please suggest a way?

    Posted: 20 May 2021 07:46 PM PDT

    I'm 27 year old guy with no IT background and i want to make a career shift to Salesforce.

    It is a right thing to do?

    What are the best possible way to make it happen?

    Please suggest a way out.

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

    How can I manage two branches and public and dev releases on test flight?

    Posted: 20 May 2021 01:17 PM PDT

    I have not had a lot of experience with the release and delivery aspects of software development.

    I have an app that just released on the App Store. Up till now it was developed on one git branch, and releases were made on test flight, and rolled out to testers.

    Now that the app is released, I am developing a new large set of changes for the app. For this set of changes, I will be branching to a dev branch. Moving forward all the new changes will be done on the dev branch, and eventually merged and rolled out in a big public release. Regular releases on the dev branch will be made to internal testers on test flight. At the same time, minor bug fixes will be rolled out on the regular on the main release branch to public users. How do I manage rolling out these different versions (public from main branch and internal test from dev branch)?

    I don't want to mistakenly have a release from the dev branch confused as a release intended for public release.

    I was thinking that as soon as I branch, I would bump the major version. Going forward it could be understood that 1.x.x releases are intended for public consumption, and 2.x.x releases are still for internal testing and not for public release. Is this how others do it? In that case I would have to make sure the build number increment coherently across branches (ie 2.x.x+14 has to be followed by 2.x.x+16, if 1.x.x+15 fell in between them on a release on the other branch).

    Any guidance or advice would be greatly appreciated here.

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

    Do all the JVM languages have type erasure ?

    Posted: 20 May 2021 08:08 AM PDT

    Making a Spaced Repetition language learning app, need advice simplifying some logic.

    Posted: 20 May 2021 04:32 PM PDT

    Using SQL/Entity Framework atm, and vue/vuex on the front end, but this is more about the logic.

    1. 7 Question types eg. word, translation, spoken... configurable on/off by the user.
    2. Based on the question type, the answer type can't conflict. eg. Translation for Q and A.
    3. SRS, each word will have a rating for each question type.
      1. Basically Todays Date + # times answered correctly = next time asked on each of the 7 question types.
    4. Order by should be from whichever of the 7 question types has the worst rating preferably, currently just choosing a random question type and ordering by it.

    Sounded simpler when I started this. My current code is a mess, but my basic logic:

    IQueryable = Get all user words Switch(rand(questionType)) switch (type) IQueryable = from IQueryable order by rating where fieldType != null TheQuestionAnswer = IQueryable.First() //Get the Question to be asked //Get random answers IQueryable = All user words != TheQuestionAnswer //Repeat switch statement with similar logic and random order WrongAnswers = IQueryable.Top(5) return {TheQuestionAnswer, WrongAnswers} 

    While it technically works, it's a mess. Plan to make it into a PWA, so offline/JS/Array logic is what I'm striving for.

    Any suggestions please, have tunnel vision with this piece.

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

    How much do I need to know about Networks?

    Posted: 20 May 2021 03:57 PM PDT

    Hi guys,

    I am currently a CS student. This semester we have a network course that I tried to follow but it barely taught any fundamentals apart from teaching "CISCO things". I don't see any instance of myself using packet tracer or setting up networks in the future.

    I plan to have a career in software and I would like to know what is important as a software engineer to know about networks.

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

    Searching for Data Serialization Format with dual Binary and Text Representation

    Posted: 20 May 2021 09:56 AM PDT

    Awhile back (6-12 months) I read of a new data serialization format (had a website and github I believe). The format itself was somewhat similar to CBOR (but wasn't CBOR) but with an added feature that it had both a canonical text and binary representation that could be converted between. This feature was somewhat similar to Amazon Ion (but was a new effort). This new effort specifically mentioned Ion and how it was aiming to avoid the baggage of JSON compatibility, hence a new effort.

    I have searched and searched (/r/programming, HN, google) without success. Does anyone have any idea what it was called or have a link to the project?

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

    What Programming Language Is Best to Learn for Mobile App/Gaming Dev?

    Posted: 20 May 2021 03:52 PM PDT

    I haven't touched programming in a long time got spoiled by current profession/ being steered to networking when I was in school, I want to learn programming and become a solid app developer. Reddit, please guide me as to what languages I should learn and in which order to best be able to develop well built/designed apps for mobile platforms?

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

    Should I go with C# or Java or nothing, along with Python, for my data analytical command line application?

    Posted: 20 May 2021 03:32 PM PDT

    I writing an app for analyzing stock prices currently using Python. In a shell it's about downloading data, using database, making analytics, creating plots, exporting excel etc. It's regular thing, every day, every week and similar.

    As the app is growing I am getting a desire to use static type language. I still want to continue to use python pandas where needed as I haven't found similar in other languages.

    In my case would you use Java or C# or both are good?

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

    Is there a way to use an USB as additional storage drive for projects in Android Studio

    Posted: 20 May 2021 02:37 PM PDT

    Context: I have an SDD. And I'm using Ubuntu 20.04. However the problem is. The drive is just 126gb and It's not enough for my workflow.

    I also have 2x USB's of 32gigs sitting next to me. Can I somehow use them?

    submitted by /u/Ubuntu-Warlord
    [link] [comments]

    Confused About my assignment. Looking for clarification.

    Posted: 20 May 2021 02:11 PM PDT

    Hi. I'm taking a programming class and was assigned to create this program. However I don't properly understand what I am supposed to do and can't reach my teacher. I am NOT looking for code I just need clarification on what the end result should be and what I need to use to solve it. Any real life examples would also be helpful. This is supposed to be written in java if that helps. This is the description. Any help understanding this is appreciated.

    " Write a program with a method that will accept as input a scanner object. Prompt the user for three individual string input values (e.g., Red, Blue, and Green). Use Try..Catch error handling. The method should print the contents of the user input and return a string value to the calling method indicating "Success" or "Failure" based on the program flow through the try..catch error handling (see Chapter 6 in the text). Print the return message. Call the method from the main program to demonstrate its functionality. " Thanks.

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

    Libraries to parse code and produce an ast, modify it and then produce code from ast for js,java and python

    Posted: 20 May 2021 01:59 PM PDT

    Hi, I'm building a small web app that needs to alter code written in different languages, to do so I plan to parse said code into ast, modify the ast and then unparse the ast into code. I found a cool website with lots of available libraries but it seems that most of them do not allow to unparse the ast unless I'm missing something.

    For instance this library for js has a generate method ast->code and perfectly serves the purpose. On the other hand the most used one for java does not seem to offer such feature as far as I can see.

    Any suggestions in this regard?

    Many thanks :)

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

    Are one time passcodes for two factor auth intentionally made easy to remember?

    Posted: 20 May 2021 12:37 PM PDT

    I'm thinking of, for instance, when you log into your bank account website and they text a 6 character code to your cell phone which you have to enter on the website to authenticate.

    I've noticed they very frequently have the first three digits repeated in a random order at the end. Like "123213" or "426246" or similar. Never or very rarely are they 6 different digits, like "940381".

    Is this something I made up or an observation bias, or is this a real thing? I can imagine it being done to make the pass codes easier to remember quickly, so you don't have to look down at your phone, type the first few characters, then look back down and type the last few or something like that.

    Is there a defacto algorithm for generating these?

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

    Deep learning and RapidEye

    Posted: 20 May 2021 12:31 PM PDT

    Hello, I am trying learn Rapideye as an Aerospace Engineer, and I don't understand the coding aspect at all.

    https://www.researchgate.net/publication/321788632_Image_Classification_Using_RapidEye_Data_Integration_of_Spectral_and_Textual_Features_in_a_Random_Forest_Classifier/references

    When looking at this article, it seems like they explain the methods on how to solve the problem, but there is no code written at all. My question is: is there a specific code I can find for Rapideye or is there any sources on the interest that would help me code something like that?

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

    What is the purpose of .git/branches directory in a git project?

    Posted: 20 May 2021 10:33 AM PDT

    I was exploring the .git directory and found the .git/branches directory empty. On further exploration, I found a list of files bearing the name of every branch in .git/refs/heads. These files store the hash of the latest commit for each branch or the HEAD ref of each branch. Git could get a list of all the branches by simply doing ls on .git/refs/heads. Is that why the.git/branches directory is empty? What is its purpose in the first place?

     

    P.S. I googled and couldn't find any relevant answers, hence, asking here.

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

    Should I learn other languages or continue focusing on C++?

    Posted: 20 May 2021 09:19 AM PDT

    I just finished my computer programming minor at my university and have only taken courses focused on C++ (I.e. data management, OOP, Video game programming, Professional C++). I love how much there is to learn and how much one can do with C++ and have struggled learning other languages simply because I hate how limited I am with data management and performance. I am an accounting major going into financial consulting/valuation, so I am not required to know as much on programming as I currently do (most people I spoke to at my company suggested I learn python, but that was before they knew I had a minor in programming and before I told them I teach basic python to middle school students). Despite C++ not being a necessity for my job, I am fascinated with programming and everything there is about C/C++ and do hope to someday go for a Masters in Financial Engineering.

    With all that in mind, would it be better for me to continue learning C++, or should I start learning another language such as Java or Python?

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

    Output array doesn't match the source code (looking like it shifted) and weird symbol at the end of every program.

    Posted: 20 May 2021 06:46 AM PDT

    Pictures for comparison. Macbook Pro M1

    The first two pictures show the weird %(?) symbol appearing despite the source code.

    https://imgur.com/a/bHQtcku

    The next one happens after I ran the code through a sorting algorithm. The array seems to shift? With 15 missing and 0 appearing instead

    https://imgur.com/a/Rh8TzbT

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

    So I’m just running a JavaScript file in an HTML webpage and it is giving me an error that says “failed to load resource: the server responded witha status of 500 (internal server error). I am running on a MAMP server - any idea what might be wrong?

    Posted: 20 May 2021 06:25 AM PDT

    What's the simplest way to scrape HTML tables from other web sites with Javascript?

    Posted: 20 May 2021 06:03 AM PDT

    Ideas on how to run a C game on webpage ?

    Posted: 20 May 2021 03:31 AM PDT

    Hello 👋 , I'd like to run a C coded game on a webpage for a university project. I've tried CGI but with no results. Do you think that you can give me some advice on how to do it ? If you need some more info on the game or anything feel free to send me a PM. Thank you :)

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

    No comments:

    Post a Comment