The junior programmer’s guide to asking for help at work learn programming |
- The junior programmer’s guide to asking for help at work
- I'm having trouble with C++ fin and fout
- [Windows 10] How can I figure out where an executable searches for dynamically linked libraries?
- Building Projects That Benefit People’s Lives
- What does enabling "Private IP" on a Digital Ocean droplet do?
- [Python] Coding -> Run vs Typing in Shell Question
- Sublime Text Obsolete?
- When do you use concurrency?
- What do programmers actually do? - YouTube Video
- translating an algorithm to turing machine
- Any sites or books devoted to teaching languages to developers who are already advanced in a couple languages?
- Looking for feedback on a simple board game!! [Python]
- Simulated swarming behavior in objects using Python's turtle graphics! Feedback appreciated
- How do ticket/sneaker bots differ from things such as Autofill?
- Can't get Chrome to display an iframe. Driving me up the wall. Would love a second set of eyes.
- LambdaSchool Week 1 Review
- Finding the longest word in a string help
- Good (x86) assembly tutorial?
- (HTML,CSS,BOOTSTRAP) Font Size for an Icon Changes Across Files [HELP]
- Learning C as a beginner is very frustrating: Should I try another language (Java, Python etc..) or just push through?
- MATLAB Loop!!!
- How to prove efficiency classes of algorithms?
- Graphical resumes?
The junior programmer’s guide to asking for help at work Posted: 08 Dec 2017 07:58 AM PST Hi junior programmers!! this is a useful guide you may want to check out in order to learn how to seek help regarding programming: https://codewithoutrules.com/2017/12/07/asking-for-help/ [link] [comments] |
I'm having trouble with C++ fin and fout Posted: 08 Dec 2017 08:27 PM PST How do I make this encode a text files content instead of the title entered by a user? For example I input encode.txt when it prompts me to, and the text in the file is Hello World!!! but when it encodes it only encodes the file name which is encode.txt. I also need it to put the encoded bit into a different file. [link] [comments] |
[Windows 10] How can I figure out where an executable searches for dynamically linked libraries? Posted: 08 Dec 2017 07:35 PM PST I'm trying out external libraries for the first time so I can start GUI programming in C++. I downloaded SFML and was looking inside some folders and tried out the provided example programs. Some of them do not work because it couldn't find OpenAL32.dll although I found it in a directory above it in the bin folder. How can I fix this? [link] [comments] |
Building Projects That Benefit People’s Lives Posted: 08 Dec 2017 08:36 PM PST I am currently working on a Twitter Bot in Nodejs, and while I find it dorky and funny to make, I'm stuck always feeling like this isn't actually useful for anyone. Twitter has become over saturated with bots as well, which I'm realizing way more now that I'm making one of my own and how simple it was to get it up and running. So, after I finish this bot, I want to build software that's actually useful for everyday living BUT isn't over replicated (ie todo list, weather app, sudoku). I want to incorporate my knowledge of data structures/algorithms too! Anyone got any advice towards where I should look? Or particularly, how to find a problem space I could potentially fix? First, I plan on asking my family, friends, and relatives of issues they experience, as well as google a shit ton. But other then that, I got nothing. So for those of you who are creating/have created software to fix a particular issue, how did you do it and what motivated you to work on it? [link] [comments] |
What does enabling "Private IP" on a Digital Ocean droplet do? Posted: 08 Dec 2017 11:27 PM PST Does this mean only I can view the page on my IP address? [link] [comments] |
[Python] Coding -> Run vs Typing in Shell Question Posted: 08 Dec 2017 11:27 PM PST I am a beginner and I am already lost :( If I type print(print(type(3))) in Shell (AKA, Python Interpreter), type(3) will show class 'int', second print will be ignored, but second print will return None, and first print will print None. If I codes (print(type(3))) and runs, second print will print class 'int' and return None, and first print will print None. I am so confusing between coding -> run vs Typing(Asking) directly within the Python Interpreter. [link] [comments] |
Posted: 08 Dec 2017 08:35 AM PST As a beginner at coding, I have been looking into Sublime Text extension packages. One obvious one I came across is Material Theme. Trying to get this to work was next to impossible as I ran into several bugs that removed all functionality other than the advanced editor. I then came across its page on packagecontrol.io (https://packagecontrol.io/packages/Material%20Theme) and in the ReadMe there is a quote: "This project is not more under active development. Since Sublime Text is an obsolete software compared to other editors please consider Material Theme for Visual Studio Code.". I find this very odd since Sublime Text seems to be doing very well still and this is one of the, if not, most popular theme available. Questions: Are you suffering from any bugs like the one I mentioned? Is what he is saying in anyway true? [link] [comments] |
Posted: 08 Dec 2017 11:14 PM PST I'm learning concurrency, but not I'm sure where in a web app I would actually use it. What are some examples of when you've used concurrency in a web app? [link] [comments] |
What do programmers actually do? - YouTube Video Posted: 08 Dec 2017 01:24 PM PST I recently saw this video and I wanted to share it with this with you all. Great inspirational video and touches on the topic of what software engineers actually do (through interviews). I feel like it answers a lot of the questions that people have here:
[link] [comments] |
translating an algorithm to turing machine Posted: 08 Dec 2017 11:02 PM PST hi so i have an algorithm for checking perfect numbers in different programming languages but it's killing me to translate them into turing machine. is there a way to for doing so ? some tools online maybe ?? [link] [comments] |
Posted: 08 Dec 2017 11:13 AM PST I get tired of tutorials assuming that I've never seen a loop before and feeling the need to explain anything other than the syntax to me. Does there exist any site or book that teaches a variety of other languages by leveraging general programming knowledge to simply teach language-specific features and syntax while rapidly passing by stuff that any decent programmer should already have a solid grasp of? [link] [comments] |
Looking for feedback on a simple board game!! [Python] Posted: 08 Dec 2017 10:22 PM PST I spent the past couple weeks trying to recreate a simple board game I used to play as a kid. Link to the game on github The rules of the game are simple:
The graphics are pretty basic/terrible at the moment, but the next step is to make or find some decent assets to put in the game later. Hoping to get some feedback on the code for the game. There are a couple areas that feel kind of messy to me so I am open to any and all suggestions! There is a release on there too if you just want to download the .exe to play it. [link] [comments] |
Simulated swarming behavior in objects using Python's turtle graphics! Feedback appreciated Posted: 08 Dec 2017 10:48 AM PST Here is the link to the GitHub repository: https://github.com/hashimg/simulate-swarming-behaviour I created a simulation in Python's graphics module (turtle) with classes of creatures and lights. Using basic object oriented programming concepts such as inheritance, I had creatures that were attracted to the lights and creatures that were repelled. The two different kinds of creatures inherited their basic characteristics from the base creature class. In addition, I created an arena class where the objects moved in. [link] [comments] |
How do ticket/sneaker bots differ from things such as Autofill? Posted: 08 Dec 2017 10:04 PM PST I was looking at sneaker bots and was wondering why the prices were so high. Don't they just accomplish the same thing as an Autofill with some additional steps allowing it to checkout for you? [link] [comments] |
Can't get Chrome to display an iframe. Driving me up the wall. Would love a second set of eyes. Posted: 08 Dec 2017 10:44 AM PST Hey guys. Newbie here, working my way through HTML right now and having a lot of fun. However I cannot, for the god-damn life of me, get an iframe to load. I've looked online, scoured my textbook, everything - it seems like my code is fine. But it doesn't want to work, no matter what URL I throw at it. My iframe just displays nothing - blank, insulting, white nothing. No writing, no error message, just fucking white. <iframe src="http://www.google.com" width="800" height="600" scrolling="no" frameborder="1"></iframe> Things I've tried:
The only thing I can think of at this point, is that it might have something to do with the fact that I'm trying to link to an Absolute URL on a Relative URLs page...if that makes sense? I'm hosting the page via a file on my harddrive, and trying to get the iframe to link to another page hosted online. I wouldn't think that to be a problem - seeing as I do have a (tested) working internet connection - but at this point I'm close enough to eating paint and talking to myself on the subway that I'll believe anything. I'd really love some help here. Thanks in advance. [link] [comments] |
Posted: 08 Dec 2017 09:51 PM PST Hey everyone, one of my peers in a local programming meet up asked me to document my LambdaSchool experience. I just started on Monday, and I plan to write a summary of each week. This was originally written for a blog, so please excuse the roundabout style. In August, I applied for this program that seemed almost too good to be true, but this week I started that program and get the chance to experience its reality. That program is called Lambda School. This post mostly documents what each day looks like, but in the future, I'll go more into detail about what we are learning. Why did it seem too good to be true? It's an online coding school that is six months long. Nothing special yet. You pay nothing upfront and continue to pay nothing unless you get a job in the field that pays $50k+ per year or more. When you get that job, you start paying back tuition. It's not a loan. There's no interest. If you don't get a job, you don't pay. For once, the business model and your success as a student are yoked. The only downside is it's full-time, but they recently started a part-time track. There are two different areas of study, and I'm doing the computer science academy. I have always wanted to go to a coding school but have never had the money to do it. So, this seems perfect to me. If you want to see how it really is, stay tuned to this blog. I'll be documenting things as I move through the program. Prior to the first week and after getting accepted, students are required to complete precourse work. The work prepares you for the basics of JavaScript. I'll get into more detail in a moment, but the actual course does not go over the basics. In order to start, you must get the work done. Otherwise, you'll be lost later on. When I applied, the precourse work was submitted via GitHub, but it's different now. Either way, we submit our assignments to GitHub, so if you're interested in applying and doing this, you'll need to get an account. After that, there's an orientation call using Zoom, which is also used for the lectures later. This is used as an opportunity to get to know the people behind LambdaSchool as well as how learning in a virtual classroom works in this context. The campus is a Slack channel. There are various channels for the general student population, getting help, each of the cohorts, and so on. The class is from 8am-5pm PST every day and some of that time is lecture-oriented, so the Slack channels allow for easier participation and communication. Slack is where we ask questions, answer polls, etc. Orientation also covers the schedule, and I'll break down my experience as I move through the day. We start with a warm-up challenge in Repl.it. LambdaSchool has a classroom in there, and the challenge goes live when class starts. You're given 45 minutes to finish the challenge. The curriculum begins with JavaScript, so the challenges have so far been basic JavaScript functions. When the challenge time ends, the instructor then does a demo of the solution and begins the lecture for the day. This week, we've been learning a lot about various functions and types of data. The precourse work covers how to write a function, but the first week focused more on advancing those skills using recursive functions. Every two week days, not counting Friday, we get a new assignment and have two days to work through it. This brings me to what I love most so far. They don't really care about due dates or grades. They care about whether or not you're learning. A lot of places and people say that, but when you go and experience what they're doing, they don't practice making the environment feel that way. Here, however, it's different. Even the readme document we got for our challenge this morning (which is the equivalent to our test) said not to stress about completing it but to do your best. The lecturer often reminds us that it's okay if we don't get something at first and that experiencing confusion is normal. That's good to know, because I am so confused at this point. I'll get more into that as I break down the day. After the lecture, we get our challenges/go back to working on them with a partner. My class very often uses this time to do one-on-one video calls. We share our screens with each other and solve the problems together. Then, we get an hour for lunch and go back to working on our challenges afterward. Sometimes, my class will do larger group video calls after lunch to catch up on the places that got our partnered pairs stuck. It's become a nice evolution as well as a saving grace. I definitely would not finish my challenges without this. That may sound like it's cheating if you're used to the traditional school environment, but things work differently here. It's assumed that doing it alone will not result in your success, so a lot of effort is put in to make sure you know you're not alone nor need to inflict loneliness upon yourself. Not only has it helped me keep up in class, it's also emotionally nourishing. I take online classes at a traditional university at the moment, and it's nothing like this. This is because online classes are usually places where one can learn on whatever schedule is desired. Anyway, we work on challenges for a couple of hours, and then we have a mid-day lecture/Q&A. After this lecture, we go back to working again. There's a nice balance between taking in and putting out, listening and expressing, and theory versus practice. In the future, we'll be given a chance to take on projects of our own, and in the afternoon, we'll work on those. For now, about half of us (my class is about 30 people) use the evening to work together. It's very casual, and while we get our work done, we have a lot of fun. Fridays are an all-day challenge. Okay not really, on Fridays, we get what's called a Sprint Challenge on GitHub instead of the smaller challenges on Repl.it. The Sprint Challenge has an essay portion (meaning you write something in Markdown syntax) as well as a programming portion (you solve challenges in JavaScript). It's a summary of the key things you learned over the week. Again, this is not a traditional school environment, so there are no grades. Instead, your performance is used as an evaluation of the teacher and the entire class. It answers the question, "where are you at?" The question is asked, because the information is needed in order to meet you there, not in order to punish you for being there in the first place. We work on that for a bit, and then there's an hour dedicated to Brown Bag presentations. During this time students present on something they like or care about regardless of subject. Today, we learned about impostor system and one of my classmates shared a crypto-currency trader he is programming. From there, we review, work together, and get ready for next week in an unsupervised environment. Really, it's been a great start to something I was already excited for, and I look forward to updating my progress. Next week, I'll get into more detail about what we're learning. We'll be focusing on data structures and algorithms on Monday. We're moving really quickly. So much so I feel as if I've forgotten the absolute basic concepts like writing functions and for loops. I'm going to review over the weekend, but keep your fingers crossed for me please. [link] [comments] |
Finding the longest word in a string help Posted: 08 Dec 2017 09:47 PM PST Trying to find the longest word in a string and I think I have it correct but im still getting errors. Not sure were else to go without looking up the answer. Using Javascript https://gist.github.com/ajess33/cf58e73987e24e84d952e464ebe8712a [link] [comments] |
Posted: 08 Dec 2017 09:30 PM PST Hello. I would like to write my own os, and apparently assembly is a required component (waaiiiiiit, really??). I did some googling, but I was wondering, is there a definitive or generally well-accepted assembly tutorial? I have a basic understanding of the syntax, but I don't really know much about cpu architecture or how to write significant programs in assembly. EDIT: so preferably it goes over some stuff beyond just programming, like interrupts, architecture, modes (real, protected, etc.), protection rings. Things I have a very basic understanding of, but don't really have a cemented knowledge of. [link] [comments] |
(HTML,CSS,BOOTSTRAP) Font Size for an Icon Changes Across Files [HELP] Posted: 08 Dec 2017 09:26 PM PST Hello! So I am programming a personal website using HTML/CSS/Bootstrap hosted on github.io. However, I am struggling with fixing the social media footer to NOT decrease in font size in my Projects page. On other pages, the font size of the icons work as intended. The social media footer file SHOULD be EXACTLY the same as in the previous pages because I included the exact same file. (I have narrowed that it can not be due to a failed stylesheet from loading because main.css is working) Anyone have any clues or ideas of what is going wrong? Thanks in advance! Website: https://kylemiho.github.io/ [link] [comments] |
Posted: 08 Dec 2017 05:37 PM PST So I started learning C over the past couple months, largely based on some old advice I remember hearing years ago that C is by far the best language to learn for beginners. Learning to program has always been a personal goal of mine, but vast landscape of languages and skills to learn has always intimidated me away from starting. I'm not getting any younger (35) and so I decided if I continue to wait, that's just another year I missed out on in terms of being able to start learning to program. As I mentioned, I started with C based on advice I had read years ago that C was by far the best to start with since so many modern languages seem to have at least been influenced by C. I did some research on books, picked up a couple, including C Programming a Modern Approach v2, and got started. Oh in terms of my goals in regards to programming, right now it's a hobby. I wouldn't mind being able to eventually assist with open source software. I also wouldn't mind being able to learn to program for mobile or PC, which means C#, Swift, and or Java would be necessary at some point. I have a stable non technical career right now, but I also think being able to code and have a portfolio of technical skills will be more important in the next few decades. Assuming I'm able to get past the beginner hurdle and enjoy programming, I wouldn't mind attempting to transition this into a career in the future, but that's something I'm not really considering right now. At this point, I'm already starting to get really frustrated to the point that I'm losing motivation to keep learning. I've made progress, but I also struggle with things you would think would be simple processes (inputting a string and being able to manipulate it for example). I find that super cumbersome in C, and it makes me feel like if I'm having a hard time with these ideas now, it only will get worse. It also does suck that despite a lot of work already, all I can really show for my progress are really basic command line programs, but per some recent reading I've done on this subject, that's par for the course (and a reason why many recommend other starter languages) for C. I guess I'm curious if my struggle and frustration is normal and something I'll find no matter what language I start with. I know programming is hard, but I wonder if starting with an older language such as C just adds to that for somebody that is brand new. Would it be a good idea to may look to start learning Python or Java instead, or will I find the same frustrations as a beginner? Just looking for some advice. Push through or maybe drop C for now and pick up something else like Python or Java? Thanks! [link] [comments] |
Posted: 08 Dec 2017 09:19 PM PST ok so I'm new to MATLAB. Like very new. Plus i suck at anything to do with programming but a course I'm studying requires for me to take MATLAB. *OK. I didn't want to copy paste the whole question as I just wanted an idea on how to do it. But whatever I do is not giving the output I want. So basically this is the question: *Create a cell array of 3 cells. One cell has to contain 5 persons names, a second cell has to have 3 verbs inside and the third cell has to contain 5 food names. *1a). Use a for loop to go through your cell array and pick one random word from every cell. Use the words to show a sentence in the command line. Hint: Use randi() to pick a random word from a cell. When calling randi(), think about the limitations of that cell. Do not produce an error! *This is what I've done so far: A={{'Jack';'Tom';'Jane';'Emily';'Peter'},{'Ran';'Smiled';'Cried'},{'Pasta';'Bread';'Apple';'Grapes';'Cherry'}}; %this would create a cell array with 3 cells. *I have already tried various ways and it still doesn't work hence I did not include all that working! Can someone help me solve this. I know it might be simple for advanced programmers but I'm just a beginner having trouble with this kind of stuff. [link] [comments] |
How to prove efficiency classes of algorithms? Posted: 08 Dec 2017 09:17 PM PST I'm having a hard time proving the efficiency class of algorithms, especially knowing when an efficiency class involves logs or knowing when a variable is actually actually a constant and not changing with the input. I usually prove them by using limits or by properties of O. Are there any resources to help me get at this with examples? [link] [comments] |
Posted: 08 Dec 2017 08:53 PM PST I've heard that it's good to have a graphical resume. If I am making an app, and I finish it, would there be a good way to put that on a graphical resume? Like a screenshot or something? I have done several internships but most of the code has been private. so although I have a lot on my resume I don't have a lot I can physically show for it. [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