What have you been working on recently? [June 12, 2021] learn programming |
- What have you been working on recently? [June 12, 2021]
- Does using a Linux pc help to learn empirically more about programming than using a Windows pc? Or is it all the same?
- How do you make time for personal programming projects while also working a 9-5 job in the software industry?
- How to find the problem in a larger project?
- [News] VSCode extension "Blockman" to Highlight nested code blocks with boxes
- Where do I go from here?
- Why am I scared of the command line?
- Is the 'Think Like a Programmer' playlist on YouTube good?
- Trying to implement Admin model validation in Django
- Anyone know of any empirical work published on how to effectively learn programming?
- I dislike programming with a burning passion and it has been a thorn on my side that I can't get rid of.
- SqlAlchemy - how to query multiple columns in func_sum
- Do we use data structures like linked list or trees in Spotify to keep track of the random songs played from the song we played in the beginning?
- Can I make and IOS app without knowing swift?
- Programming Wisdom #11: The best developers are the best QA
- need help with web automation
- How to use specifications to build an app?
- Using Arduino without experience in C
- Looking for a beginner friendly coding app/tool
- In case you wanna make a game with python.
- Is react native used to create a native app i.e you can download it off the app store or is it to create a web app?
- Stocks alert server
What have you been working on recently? [June 12, 2021] Posted: 11 Jun 2021 09:00 PM PDT What have you been working on recently? Feel free to share updates on projects you're working on, brag about any major milestones you've hit, grouse about a challenge you've ran into recently... Any sort of "progress report" is fair game! A few requests:
This thread will remained stickied over the weekend. Link to past threads here. [link] [comments] |
Posted: 12 Jun 2021 01:37 AM PDT I started using a Linux pc and really feel motivated to learn how it works so I am getting more and more involved in programming - generally how a computer works. However I would like to know if using Linux makes you earn knowledge that can be applied specifically to Linux ir you can transfer this knowledge to any operating system. [link] [comments] |
Posted: 11 Jun 2021 09:19 PM PDT I'm starting a new job soon as a junior developer and I'm wondering how I'm gonna manage time for my personal projects as well 🤔 [link] [comments] |
How to find the problem in a larger project? Posted: 12 Jun 2021 04:36 AM PDT I'm close to the end of my 3 years long programming apprenticeship and it's confirmed that I will receive a full-time job in the same firm. I think I gathered pretty good knowledge about the basics of my programming language (Java), data structures, if-conditions, loops. But one thing I'm still not good at, is finding a problem I have to solve in the project, my team works on. It's a pretty large project. When I have to work on a ticket, it's almost always quite difficult for me to find, where exactly in the code the problem has to be solved. Once I know the right place, developing the solution is not too big of a deal for me. But I really want to work on finding the right place faster and more efficiently. I almost always end up having to ask one of the seniors for aid, to find the right place. And due to anxiety and lack of self confidence, this is always very difficult for me, because I often feel like an idiot, when I have to keep asking stuff like that, even though I feel like I should be better at that at this point. I'm working on this specific project for about 1 1/2 years now, though with a lot of interruptions, mostly for other stuff that is part of the apprenticeship, like school. As I said, it's a pretty large project (number of classes easily goes into the thousands), and its documentation is honestly a bit lacklustre. I'm always trying to find the right place by searching for names of methods or keywords in comments, that might have something to do with the operations I have to solve a problem on, then I debug into it to get an idea if this has something to do with my problem, or not. Especially when its a part of the project, I haven't worked on a lot already in the past, this often takes ages, not rarely I just can't find the right place this way and I have to ask a senior. How do you tackle this step of problem-solving? What do you think of my way and what would you improve on it? And do you think, it is normal, that I keep running against this kind of walls, even after working for almost 1 1/2 years on this same project? [link] [comments] |
[News] VSCode extension "Blockman" to Highlight nested code blocks with boxes Posted: 12 Jun 2021 07:08 AM PDT Check out my VSCode extension - Blockman, took me 6 months to build. Please help me promote/share/rate if you like it. You can customize block colors, depth, turn on/off focus, curly/square/round brackets, tags, python indentation and more..... https://marketplace.visualstudio.com/items?itemName=leodevbro.blockman Supports Python, R, Go, PHP, JavaScript, JSX, TypeScript, TSX, C, C#, C++, Java, HTML, CSS and more... This post in react.js community: https://www.reddit.com/r/reactjs/comments/nwjr0b/idea_highlight_nested_code_blocks_with_boxes/ [link] [comments] |
Posted: 11 Jun 2021 10:26 PM PDT Hello r/learnProgramming,
I started really learning programming about two years ago when I started college. Currently, I know the basics of programming (if/else statements, functions, etc) in Python and C++. During my second year, we did C++ more, where I learned linked lists, classes, inheritance/polymorphism, and a bunch of data structures and algorithms.
I've always felt like I'm behind compared to my peers who've probably had programming experiences prior to college or outside of school altogether. I want to work on cool projects, too! My question is in the title, where do I go from here? I see people around my age or younger working on stuff I have no idea how to make. There was a high schooler who creates jailbreak mods for iOS. How do I get to a point like that?
What can I even do with what I know? My inexperience is definitely my own fault for only doing what's required in my classes and not exploring further on my own. I just don't know how to take the next step. I am hoping to practice some coding this summer and eventually have decent stuff to add to a GitHub. [link] [comments] |
Why am I scared of the command line? Posted: 12 Jun 2021 04:45 AM PDT I want to become a front end developer and I am currently on the back end section of the Udemy online bootcamp course backend section. I don't really have an interest on the backend, but guess it will be useful to learn. All these node.js, npm, express and servers etc are confusing. I don't even bothered to try the examples in case I mess my computer up using the commands line hyper terminal. Why am I so scared of the command line? [link] [comments] |
Is the 'Think Like a Programmer' playlist on YouTube good? Posted: 12 Jun 2021 06:56 AM PDT Should I watch it, or is there any other playlist you'd recommend? [link] [comments] |
Trying to implement Admin model validation in Django Posted: 12 Jun 2021 04:38 AM PDT Hello, I am a beginner and trying to implement bid system in Django. I want it to work on both Django admin page and and template, therefore I created modelform and modeladmin in Admin.py. models.py: from django.contrib.auth.models import AbstractUser from django.db import models class User(AbstractUser): pass class category(models.Model): category = models.CharField(maxlength=50, default='SOME STRING') def __str_(self): return f"{self.category}" class bid(models.Model): listing = models.ForeignKey('listing', ondelete=models.CASCADE) user = models.ForeignKey(User, null=True, on_delete=models.CASCADE) bid = models.DecimalField(max_digits=6, null=True, decimal_places=2) def __str_(self): return f"{self.user}, {self.listing} {self.bid}" class listing(models.Model): user = models.ForeignKey(User, null=True, ondelete=models.CASCADE) Title = models.CharField(max_length=50) Description = models.CharField(max_length=300) Price = models.DecimalField(max_digits=6, null=True, decimal_places=2) category = models.ForeignKey(category, on_delete=models.CASCADE, related_name="categories") def __str_(self): return f"{self.Title}" admin.py: from django.contrib import admin from .models import User, listing, category, bid from django.core.exceptions import ValidationError from django import forms admin.site.register(User) admin.site.register(listing) admin.site.register(category) class bidForm(forms.ModelForm): class Meta: model=bid fields = ['user', 'listing', 'bid'] def clean(self): start_price = self.cleaned_data.get('listing.Price') userbid = self.cleaned_data.get('bid') if userbid <= start_price: raise ValidationError('Please place a bid higher than starting price') return self.cleaned_data class bidAdmin(admin.ModelAdmin): form = bidForm list_display = ('user', 'listing', 'bid') admin.site.register(bid, bidAdmin) It returns the following error: '<=' not supported between instances of 'decimal.Decimal' and 'NoneType'. Also I want to compare instances of previous and current bid on a listing to place a new bid, also modify any of previously placed bids even if it's lower than highest bid. but I have no idea how to code that. Please, help me... [link] [comments] |
Anyone know of any empirical work published on how to effectively learn programming? Posted: 12 Jun 2021 04:28 AM PDT I teach software engineering professionally. I've been looking for articles/books which make practical recommendations - based on empirical studies - on how best to go about learning programming, so I can best advise my students. Such resources exist for learning in general, but I've really struggled to find anything specific to coding. Does anyone know of any? [link] [comments] |
Posted: 12 Jun 2021 04:26 AM PDT I've seen a lot, and I do mean a lot, of posts about "some people just aren't cut out to be programmers", "if you realize that you can't do it soon enough then good, you realize it's not for you so you don't have to learn it and instead focus on other things", "maybe it's your problem solving skills", and so on and so forth. I'm not a dumb person, not gonna say I'm a genius or anything but I'm smart enough. I've been in college for 5 years now, spent the first 3 years studying Multimedia because I wanted to learn more to get into videogames/animation, since character design and narrative, 2D and 3D animation and 3D modelling are areas I do excell at, but I ended up discovering a course, a professional course to be exact, in my college about game design, so I swapped to that one. The common thing these 2 courses have is coding. I first encountered coding on my 2nd semester of my 1st year in Multimedia, and the result was not pretty. We learned C# because we were gonna be using Unity to make a project by the end of the semester. I just simply could not get it. I thought it was gonna be similar to using HTML and CSS, something I learned how to use in high school with great effect, I understood it well enough, it was structured, it made sense, every thing, headers, footers, divs, src, it made sense. Coding on the other hand, no matter how hard I tried to understand it, it just didn't make any sense. To me it was abstract, a mess of words and comands that did not make sense. I failed the class and it was the first time I had failed anything in school. And unlike middle school or high school, failing the class did matter because it set me back a year. A course that was meant to be made in 3 years was suddenly going to have to be made in 4, and it left me devastated. The following year I go to make the same class again, alongside it I had another class that dealt with coding, this time it was Javascript. I managed to pass it by the skin of my teeth because my classmate was doing group projects with me in that class and she pulled most of the weight. The other class I had to repeat though, not much luck, I failed again and had to repeat it again. Jump to the next year, at this point I could kind of read code and understand what was in it, but if you were to ask me to replicate it, I couldn't, I did not know where to start, what to do, or how to do it. Again, it was a confusing mess for me, abstract. Halfway through the 2nd semester of that year and after a mental burnout that was still lingering from the previous semester I discovered the game design course. I was learning things in Multimedia that were just not giving me any interest, a lot of them coding and programming related, at that point I was forcing myself to finish, so you can tell why I had a mental burnout. I decided to jump to the game design course then, expecting to be tackling coding once more, but since this was game design oriented, I had hoped that I would have those things taught to me in a more straight forward and linear way, which did happen. I tackled C# yet again, and despite still having so much trouble with it I managed to pass by the skin of my teeth. Jump to the next semester, Covid starts, and having classes at home. One of my classes was coding too, but this time we were back at Javascript. I failed that class, so I was back at having to repeat a coding related class, again, and my frustrations and fears with that subject grew once more. Now we're in 2021, I'm doing that class again, we just had our project to make and deliver, and I botched it up bad, and we're having an exam later in the month. I do not want to do coding, I do not understand it, I hate it, despise it, I don't want to do it and I feel utterly depressed over thee simple fact that just one thing holds me back from finishing college. I do not feel motivated to pick it up, it frustrates me when I try to learn it and don't understand why what I'm doing is not turning out like the tutorials or the classes I have. I do not see myself EVER picking it up in the future, and still, this one, stupid thorn does not leave my side. I can't get rid of it. To say to drop coding if it's not for you is easy, but it's not easy when it's the one thing holding you back from finishing your studies. I could drop out entirely and focus on building up my portfolio to get a job at what I want yes, but that means that those 5 years, all that money and time spent, and I have nothing to show for it, no diploma, no degree, nothing. To have my parents always questioning me about what I'm going to do, where to work at, how am I going to move along with my life, all this because coding has set me back so hard, it just sucks. I know I just rambled and vented out my furstrations, but I guess I also kinda want to see if there have been people who have been on a similar situation to me, what are their opinions and whatnot, to give some sense of closure. [link] [comments] |
SqlAlchemy - how to query multiple columns in func_sum Posted: 12 Jun 2021 03:40 AM PDT Currently the query I have is as follows:
This snippet works as expected however if you want to add more columns for sum, you can see the code getting repetitive.I also tried something along the lines of :
But this does not work as expected.Has anybody tried to do anything of this sort,any help appreciated [link] [comments] |
Posted: 12 Jun 2021 05:26 AM PDT So I search for a song and I play it, after the song finishes, Spotify choses random song and automatically plays it. After like 5 songs, I swipe right to go back to the first song played. The random songs I listened to are still in the new playlist created. Do we use data structures like trees or linkedlist ? [link] [comments] |
Can I make and IOS app without knowing swift? Posted: 12 Jun 2021 04:44 AM PDT I would really like to make an app for myself, I know C# and Java. I looked into making an ios app with C# and Xamarin but I own a Windows computer and ios development with Xamarin requires a mac. Are there any other tools/platforms I could look into? [link] [comments] |
Programming Wisdom #11: The best developers are the best QA Posted: 12 Jun 2021 07:55 AM PDT In 1986 the Buccaneers drafted one of the most unique athletes in history. A kid that would play professionally in two sports. His name was Bo Jackson. Companies likes to separate developers and QA into different teams because it feels like they're playing two different sports. But there's quite a bit of overlap. The best developers can double as the best QA. You can't be a good developer without being a good QA. So be like Bo Jackson, an All-Star at two sports. [link] [comments] |
Posted: 12 Jun 2021 07:44 AM PDT i've been trying to learn how to do web automation (with selenium). Ive wrote a script needed then ran it through cmd but doesnt seem to be opening up browser. Does anyone know why? [link] [comments] |
How to use specifications to build an app? Posted: 12 Jun 2021 07:35 AM PDT I'm trying to build a bitorrent client using this tutorial. I read the unofficial specification and got even more confused about how I should go about building the app. I'm overwhelmed and not sure what to do here exactly. I have two questions :
[link] [comments] |
Using Arduino without experience in C Posted: 12 Jun 2021 07:30 AM PDT I have 4-5 months of experience in JavaScript and Python, but have never used any of the C languages before. I was looking at buying the Arduino starter kit to have some fun and learning more about that kind of stuff. There is a guide in the set, with the code for starter projects, but I want to understand the code when I am doing it. My question is if I should learn c++ and play around with the language first, or if I can just jump straight into the Arduino set? What do you think? [link] [comments] |
Looking for a beginner friendly coding app/tool Posted: 12 Jun 2021 07:29 AM PDT Before I post the question, I need to put in some info about my background. I am a graduate in mechanical engineering and have done a basic course in C++ programming. So while I understand algorithms very well, I am not good with syntax and programming tools like arrays etc (learnt it some 10 years ago, so I don't recollect much now 😅). I want to make a program that makes solutions for nonogram puzzles. For those who don't know, this is what a nonogram puzzle looks like Nonogram Wikipedia article. Essentially, the idea is to make a program which will allow the user to choose a grid size, then enter numbers on the side, and the program will calculate which cells to fill according to an algorithm I'll input in the program. I don't want to make anything fancy, just a hobby project that would not take too much time to make. So finally, my question is, is there any app or resource which will allow me to make such a program without having me to spend too much time on learning the syntax? Tl;dr : Need a beginner friendly app to make a program that will solve nonogram puzzles. [link] [comments] |
In case you wanna make a game with python. Posted: 12 Jun 2021 07:24 AM PDT Hey, i am making a tutorial series on YouTube. It's called. pygame for beginners You can check that out if you want. I am soon gonna make pacman in python let's see how it goes lol. [link] [comments] |
Posted: 12 Jun 2021 07:23 AM PDT I'm new to react and react native. I have had this confusion for a while now. [link] [comments] |
Posted: 12 Jun 2021 07:22 AM PDT Made a small restock alert server. [link] [comments] |
You are subscribed to email updates from learn programming. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment