• Breaking News

    Wednesday, April 1, 2020

    People say that programming is all about problem solving and working through something to find a solution. How do I know if **I'm** a problem solver and would be good at programming? Ask Programming

    People say that programming is all about problem solving and working through something to find a solution. How do I know if **I'm** a problem solver and would be good at programming? Ask Programming


    People say that programming is all about problem solving and working through something to find a solution. How do I know if **I'm** a problem solver and would be good at programming?

    Posted: 31 Mar 2020 07:27 PM PDT

    I've never really done any programming or scripting ever before. But all the articles and posts I read about getting started with coding all mention the necessary skill of problem solving. And quite a few of them say something along the lines of "If you're not good at solving puzzles, coding probably isn't for you", and I hate that. I hate being told "Well, if you don't have the natural ability, you probably shouldn't pursue it.

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

    Thoughts on the future of JavaScript?

    Posted: 31 Mar 2020 10:16 PM PDT

    JavaScript is my favorite programming language at the moment. I have developed some neat things on it and I have always felt really content with the results.

    But the most impressive thing I've seen has always been the constant improvement to the language and the general ecosystem of JavaScript.

    What are your thoughts on latest versions of JavaScript?

    Are Deno promises going to really pay off when it finally launches?

    What about Microsoft developers improving JavaScript through ECMA instead of adding new functionality to TypeScript?

    Why do you think JavaScript continues to see all that activity in their ecosystem even though (some would argue) cleaner technologies like WebAssembly and Dart for the Web and any other languages for backend exist?

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

    What are the most useless / funny / pointless programs you've made?

    Posted: 31 Mar 2020 09:40 AM PDT

    I'm a newbie programmer. Ever since COVID-19, I've been stuck at home with nothing to do. My parents are making me productive and I suggested programming things, and they said yes. So to all the programmers out there, what are some ideas for some dumb coding projects to work on? I've thought of a virtual pet that can crash your program if you don't take good care of it, but I want to hear your ideas and projects!

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

    How to convert doc to pdf in python

    Posted: 01 Apr 2020 01:33 AM PDT

    What all do you need to create a react native app?

    Posted: 01 Apr 2020 12:33 AM PDT

    I'm not sure if this is the right sub to ask this. But here goes..

    I am not a coder. I have an idea for a react native android app (kind of an ebook)and was planning to hire a freelancer to create it. What all should I provide the freelancer with? I have made sketches of almost all (around 15) screens. I have listed out the features and how each element in a page should behave. I have all the books needed.

    If you were my freelancer, what else you would require ( apart from money ;) )? I am new to this and your guidance will make my life and that of any freelancer I hire easier.

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

    Programming noob wants a simple script to time a USB powered Lamp

    Posted: 31 Mar 2020 11:33 PM PDT

    I have a lamp that runs via USB and virtually no programming experience. I was hoping someone could direct me to a resources I can use that will run on my computer that will turn the lamp on and off at designated times. ofc the Lamp will be connected to my computer the whole time.

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

    What is a labeled break statement in java and how does it work?

    Posted: 31 Mar 2020 11:08 PM PDT

    Have you ever been fired right after you have finished a huge task?

    Posted: 31 Mar 2020 02:17 PM PDT

    Share your story!

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

    Go or python?

    Posted: 31 Mar 2020 02:10 PM PDT

    I find myself with a bit more spare time at the moment, like many of the rest of you, I'd like to work toward a project in the back of my mind.

    The one requirement is that i would like it to be distributable as a single executable file, but different versions for windows, Mac and Linux are certainly fine. It'll be a background agent that makes http requests to retrieve Json objects, run commands locally, and post the results back as json.

    I thought Go was probably the best choice, but wanted to make sure that I wasn't overlooking python.

    I'm most experienced with php, having done some work with laravel and symphony in the past, done a little with JavaScript and jquery, and took a starter python class a few years ago, so I probably have a basic understanding of the concepts, but I don't know enough about the languages to decide which I should spend my time proceeding with.

    Thoughts?

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

    Visual Basic 6.0 Original Software

    Posted: 31 Mar 2020 05:43 PM PDT

    Hi, sorry if this isn't the right place to post this, I understand if it gets deleted.

    I found a copy of Visual Basic 6.0 professional edition(complete with box and materials) at my grandparents(passed away) and I was wondering why it's worth 150-200 dollars on eBay. I do a little programming myself, but I thought you could just download this software on the Microsoft website now.

    Anyways, I'm thinking of selling it, but I might not if I can figure out the use for it, because I like old software/technology.

    Thanks.

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

    Can written music be considered a formal language in the same sense as programming languages or instruction sets?

    Posted: 31 Mar 2020 12:38 PM PDT

    I've been wondering about this for a while, all practical programming langauges are formal languages which adhere to a specific set of rules and internal logic. Sheet music has similar properties to programming languages:

    • Both have standardised grammar which defines whether or not a program/piece is valid or invalid. I know plenty of very experimental music exists, but there's still a formal grammar which dictates which constructs are valid and which are not. For example, the notes C E and G when played together make a C major chord, any other notes when played together do not make this chord. These rules make up how we understand the Western system of music.

    • Both are standing on the shoulders of mathematics, music (at least in the traditional sense) is fundmentally made up of mathematical constructs, arrangements of which produce pieces of music in the same way the act of programming arranges algorithms (another kind of mathematical construct) to make programs.

    • Written music is an abstraction over what's really going on, in the same way modern programming is an abstraction over the physical logic gates we use to represent our algorithms, music is an abstraction over physical vibrations of sound.

    Am I just talking overly romantic hippy bollocks or does this make sense?

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

    9 years ago, I left my programming job of 3 years. I wrote queries in SQL to extract data for reports I built with VisuaI Studio. My photography company is done(covid) and I let go of my employees. What quick refresher course can I take and which programming area today do you think best fits me?

    Posted: 31 Mar 2020 07:08 PM PDT

    How should I go about making my own indie game?

    Posted: 31 Mar 2020 06:09 PM PDT

    Hello! I'll just jump right into it: as the topic implies, I am a 10th grader who's been studying coding for about 5-6 years now, and my main goal is to make a video game. However, I know there's a lot more that comes with making a game than just knowing how to code it. Getting a bit tired of the idea of waiting to complete schooling before taking action (and my dad pushing me to remember that just because I'm young doesn't mean I can't get get projects out now), I finally was able to flesh out the rough draft of the whole plot of the one I want to make, and now I need to take it to the next step of writing out all the dialogue and more details as to how the scenes in the game would work. Unfortunately, while I know how to do the programming aspect, there's a lot of things I still can't do. I need a place to actually implement the code/build the game, artists to work with for character and background designs, a platform for spreading the word when it's made, and more. In short, I came here to ask, have any of you gone about making a game before? What was your experience with it like? Did you already have a team to work with before hand or did you have to go scouting like I will? What language did you code it in? What was the thought process of coming up worth the idea like? I want to hear the stories and experiences you all have in this aspect of programming, as well as any tips you can share based on what I've said so far, to further prepare myself to make this game idea I have into a reality. TIA! ♡

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

    is it a good idea to work in a VM?

    Posted: 31 Mar 2020 02:13 PM PDT

    probably at least once a year I consider setting up my dev environment inside a VM. sometimes it's because I want to be able to copy my environment wholesale to a USB key, and other times (like this one) it's because I hit a stack overflow and have to restart my PC because I ran out of memory before I figured out what was happening.

    I looked around for a bit, but most of what I found were blog posts about setting up VMs for cross-compiling and local dev servers.

    I just wanted to gauge the community before I spent my quarantine afternoon writing potentially useless configs.

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

    Should I learn web development

    Posted: 30 Mar 2020 11:26 PM PDT

    Hey guys I'm a soldier with some free time and I recently started learning Java with the app solo learn.i really enjoy it so far but I have a big problem with math and numbers.i like the structure of programming and the logic behind it but I don't like or understand it when it involves complicated number conditions and loops.i know it sounds dumb but my friend that has been programming for some time told me maybe web development could be more for me . Of course this all hobby level coding which is pretty basic and amateur. What do you guys think about my friends recommendation?

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

    How often is Data Structures and Algorithms used in real life programming not school

    Posted: 31 Mar 2020 01:21 PM PDT

    I was just wondering how often linked list, binary trees ,hash maps and ect are used in real life programming I am taking a course and I am doing okay on it by I find it very tedious and it takes a while to wrap my head around it over the 6 months I started getting better with these concepts but I still don't feel 100% comfortable also for people who feel confident with these topics how long did it take.

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

    Problem with function [C++]

    Posted: 31 Mar 2020 03:53 PM PDT

    Hello guys, I'm having a problem with a function that I'm writing which I will later need in my program.

    So I need a bool function which checks if a given word is rhythmic or not.

    Word is rhythmic if consonants and vowels are alternated alternately (for example: sajonara, Yokohama, Akihito, ...).

    This is what I've done:

    bool Vowel (char c) { if(c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u' || c == 'A' || c == 'E' || c == 'I' || c == 'O' || c == 'U') return true; return false; } bool RhythmicWord (std::string s) { if(s.size() == 0) return false; if(s.size() == 1) return false; if(Vowel(s.at(0))) { for(int i = 1; i < s.length(); i+=2) { for(int j = i+1; j < s.length()-1; j+=2) { if(Vowel(s.at(j-1)) || !Vowel(s.at(j))) return false; } } } if(!Vowel(s.at(0))) { for(int i = 1; i < s.length(); i+=2) { for(int j = i+1; j < s.length()-1; j+=2) { if(!Vowel(s.at(j-1)) || Vowel(s.at(j))) return false; } } } return true; } 

    This function is working fine for most cases but it has one problem. If I pass for example word "xuxx" as a parameter it will return 'true' value but it shouldn't (as two letters x are consonants and adjacent).
    Since I'm iterating i+=2 when i comes to the second letter x (3rd letter in word), or before last element, it will not check last element because it iterates 2 places and would go out of scope so the loop ends.

    I don't know how to do this function so it works for all cases. Thank you for helping me in advance.

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

    Is it worth to give up on master's degree?

    Posted: 31 Mar 2020 03:32 PM PDT

    Greetings fellow redditors.

    I am from one of central asian countries and now studying in Italy on 1st year of master's degree in computer science, this program is mostly focused on management of enterprise. We passed subjects like process mining and building the enterprise applications.

    As italian education system takes only 3 year in bachelors, i am already doing the same thing that i passed on the last year of my bachelor's degree in my country. On top of that i have 2 years of experience on position of web developer and tester.

    Now to the point of question: I sent few job applications via LinkedIn. One of the companies gladly gave me an opportunity to pass an interview, which i passed quiet easily, and then gave me a contract for one year with possibility of its prolongation with small obstacle. I should give up on education so i can get this full-time contract and start working even during the quarantine.

    Is it worth to give up my master's degree, where first year was meh, or is that really needed to get this diploma for higher positions and start up my career after graduation?

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

    Getting timeout error when connecting to an AWS RDS

    Posted: 31 Mar 2020 10:53 AM PDT

    It's driving me up the wall - I've been googling how to resolve this for hours to no avail.

    Basically, my code so far is just:

    import pymysql conn = pymysql.connect( host = 'host_name_here', port=int(3306), user='user_name_here', passwd = 'password_here', db = 'db_name_here', connect_timeout=30)

    However, the error(s) I get is:

    ```

    TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

    During handling of the above exception, another exception occurred:

    ```

    OperationalError: (2003, "Can't connect to MySQL server on 'host_name_here' ([WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond)")

    What I've done so far.

    My assumption was that the firewall was doing something funky. The steps I've done so far have been:

    1) Uninstalling Norton Antivirus in case it was doing something funky

    2) Logging firewall messages and verifying that port 3306 doesn't show up in there

    3) Disabling firewall completely.

    However the issue still persists.

    I think the problem has to be with my port 3306 somehow.

    When I type the following in the command prompt: telnet serverName 3306 I just get: Connecting To serverName...Could not open connection to the host, on port 3306: Connect failed

    I've tried uninstalling any trace of MySQL on my machine, and I've made sure through task manager nothing with "mysql" in the name is running. But it still doesn't fix the problem.

    This is completely beyond me, and if there are any clues from my errors above as to what the source of my issue is, they're lost on me.

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

    How would I convert my computer to "study mode" with the push of a button?

    Posted: 31 Mar 2020 02:09 PM PDT

    I got a custom Witcher 3 keyboard key that I put on my "pause" button on the top right of my keyboard. I'm using Windows 10 and want to be able to map that button to a program so that when I press it, it closes all my browsers, and launches a website and maybe a virtual machine (if possible) that I'm using to learn Web Development. How would I go about making this? Can it be done just through normal batch file or does it need to be made in Python or something?

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

    What IDE should I use?

    Posted: 31 Mar 2020 01:55 PM PDT

    I am new to programming, just about 4 months in and probably will be creating very basic applications to begin with. I downloaded visual studio to get started and saw plenty of other recommendations, but still confused at exactly what I should be looking for in an IDE at this point. Does anyone have learning resources or suggestions? anything helps! thanks so much

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

    Career Advice

    Posted: 31 Mar 2020 01:50 PM PDT

    OK , So I am currently working through MooC Java course and reading a few books. But now I kinda feel overwhelmed and stuck.

    I am unsure of how everything fits together. What do study next. When and how to create a project. How does coding on netbeans turn into a finished project I can show off to future employeers. What are databases and how/why should I learn about them.

    There are some of the questions I am asking. I would love any ones advice or help!

    What I would really love is to meet up with someone (around Philadelphia) , pay a decent amount, and for one day just go over what to study, how this and that fits together and general computer programming talk and I am missing out by self studying. Does that peak anyone's interest?

    I would also be willing to pay for a video conference with someone on Zoom or something. But pay a little less that in person.

    I have a huge hunger and desire to learn and grow and would love someone(s) to point me in a better direction! Thank you!

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

    Looking for Opinions on how to Start this Project

    Posted: 31 Mar 2020 01:46 PM PDT

    Hey all,

    I work in an industry that requires a piece of equipment to package my main product. The packaging line operations for this product are simplistic in a sense but the machines are rather expensive, even the small table top options. I'm thinking of building my own packaging line but I have only taken programming classes in high school and a couple in university as electives, so I was wondering if there is a software option for me. I was thinking an open source PLC software may do the trick, but I am not familiar with them at all.

    Here are the items that need to be programmed / controlled:

    - Turning motors on and off (conveyer belts, etc). Current motor on my line is 5 amp, 115 volt motor. Perhaps have the motors plug into wall outlet and have them running the whole time if voltage and amperage is an issue.

    - Controlling liquid solenoids electronically to control liquid solenoid valves, or controlling electronic air solenoids to control an air actuated flow valve.

    - Controlling electronic air solenoids to control air cylinders that move things up and down.

    - Maybe sensors to read when product package is full, or when it senses an item go by, it adds to a counter.

    Is there a piece of software that I can put in parameters to control all of the above without writing any / a lot of code? Seems like an arduino may work but I have a brand new laptop that I can utilize. I also was wondering about the voltage max for arduino and may need a more robust solution, as low voltage liquid solenoids are scarce for my industry.

    I run a full time business and a growing family so don't have a lot of time to invest but get frustrated on a regular basis when my expensive, slow line doesn't seem to operate correctly or is super slow. Seems like this may be able to be done on a budget. Any opinions?

    Thanks in advance!

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

    If you were going to build amazon.com today, what technology would you use?

    Posted: 31 Mar 2020 01:31 PM PDT

    Need Help

    Posted: 31 Mar 2020 01:18 PM PDT

    Does anyone know how to set up a site like this? or what script is it using.

    https://gramho.com/

    https://www.picuki.com/

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

    No comments:

    Post a Comment