Why do most websites have unreadable html code? learn programming |
- Why do most websites have unreadable html code?
- Best Online courses with Certificates
- Learning to code is not even the hardest part. Why is it so difficult to install the environments?
- I'm offering FREE programming lessons (Java) for absolute beginners
- Don't just trust people in forums/chatrooms, especially those who express themselves absolutely confident - learn to trust your intuition and dig for a solution
- Why wouldn't "margin: auto" center an image within a container that is 100% width and 100% height?
- How to learn programming, not programming language
- Looking for good resources to learn C#, .NET
- Which Odin Project Path would you recommend?
- Beginning my Programming Journey!
- PDF iframe disappears if site is responsive
- What would be an efficient way to solve this graph problem?
- HTML or Python for beginners? Please give your advice...
- Coding + Cannabis Use
- Java/FX Null Pointer Exception
- A step by step flowchart in HTML
- Django DateTimeField showing different time in shell and browser
- Full stack developer roadmap
- Can anyone help me figure out what approach to take to making a visual "life dashboard"?
- Why do updates to my html page not show up instantly on my http:// site, but immediately update upon refresh when I view the same html page in my https:// site?
- How do I get following count from an Instagram page?
- Help with hung processes
- How should you structure a table for notifications in your DB? Should there even be a DB for notifications received/similar?
Why do most websites have unreadable html code? Posted: 21 Jun 2021 02:59 PM PDT Sometimes I inspect the html code of websites (Like Twitter) and it all looks completely random for me. One div randomly nested into 20 other divs (with no purpose than nesting it) and classes or id names that look randomly generated. For example: Those are the classes of one div I inspected on Twitter: css-18t94o4 css-1dbjc4n r-1niwhzg r-1778zho r-sdzlij r-1phboty r-4iw3lz r-1xk2f4g r-109y4c4 r-ero68b r-vkv6oe r-1ny4l3l r-1udh08x r-wwvuq4 r-u8s1d r-o7ynqc r-6416eg r-lrvibr r-92ng3h [link] [comments] |
Best Online courses with Certificates Posted: 21 Jun 2021 09:42 AM PDT Yes yes, I know, they are pretty worthless. You can learn for free on youtube, and contractors primarily look at your github portfolio. But still, this summer Im looking into getting somewhere new, like web development, so I can add a quick skill to my resume. A course like those would be neat, because I can learn the toolsets quickly and get a certificate. Im thinking of the certificate as a "just in case" investment: I dont do web dev at work, and I dont do web dev as a hobby, so I dont have anything related to web dev in my portfolio and I frankly dont have the time to do so. Im thinking that, if I get one of these certificates, and say there's a local job opening that looks interesting or whatever, I'd at least have something to show. The situation would go from "yeah Im a programmer but this isnt my area" to "yeah Im a programmer, this isnt my main area of expertise, but I worked with this and have a certificate to show for it". Now, what I'm looking for ideally is something like this Harvard course (doesnt have to be Web dev, I just used that as an example). So the course is free, and at around the end you pay like $180 for the certificate, which you know, Im willing to pay for it, sure. Any recommendations? [link] [comments] |
Learning to code is not even the hardest part. Why is it so difficult to install the environments? Posted: 21 Jun 2021 02:31 PM PDT I'm trying to follow this https://youtu.be/x0uinJvhNxI youtube tutorial to learn flutter. I've been on code academy and free code camp and basically have only been coding in fake environments. The first steps in the video is to install flutter, xcode, git, android studio and other little stuff in between. I'm so stuck and confused that I don't even have a specific question. Can someone point me in the right direction is there some type of support I can call to walk me through it lol. [link] [comments] |
I'm offering FREE programming lessons (Java) for absolute beginners Posted: 21 Jun 2021 11:56 PM PDT I have 3 years of programming experience with Java, but I want to improve my tutoring and in general Java skills, therefore I'm offering it for free. PM me if you are interested. TimeZone: PST [link] [comments] |
Posted: 21 Jun 2021 10:43 PM PDT At multiple times I've asked questions on discord or here on reddit and people saying "this can't be done because of X", and even if they seem very confident in their reply, X sometimes just haven't been true. Programming isn't just an absolute science, there is an art-factor to it, in finding a clean solution you need to trust your instinct and dig for a solution, until you yourself see if it's possible or not. Don't just take someone's word for it, learn to get to a conclusion by yourself. This has at least been a valuable approach for me in deepening my understanding of how things work together. [link] [comments] |
Why wouldn't "margin: auto" center an image within a container that is 100% width and 100% height? Posted: 21 Jun 2021 08:32 AM PDT https://codepen.io/dmm710/pen/RwpmPee When I inspect the html, container takes up the entire page, and the image has a ton of extra room below it. Shouldn't margin: auto center the image within its parent? If I give the image a margin with some pixel value it does move down. I'm confused [link] [comments] |
How to learn programming, not programming language Posted: 21 Jun 2021 08:41 PM PDT I try to learn to code, it's hard and frustrating but i just love it. I searched for all resources and tutorials on the internet and get started, but soon i realized, i do not know how to program, i cannot solve problems, all i have been studying about is just programming language not programming. So my question is how to truly learn to program, how to think and write a program, all answers will help a lot, thanks you guys [Sorry bad english] [link] [comments] |
Looking for good resources to learn C#, .NET Posted: 21 Jun 2021 08:23 AM PDT Can't decide between these two course
Which one should I choose? [link] [comments] |
Which Odin Project Path would you recommend? Posted: 21 Jun 2021 02:55 PM PDT Link: https://www.theodinproject.com/paths Choices:
I was leaning towards Full Stack Javascript because I read in stack overflows 2020 survey that people do not like Ruby or Ruby on Rails and like using Node.js. Thoughts? [link] [comments] |
Beginning my Programming Journey! Posted: 21 Jun 2021 12:43 PM PDT Hi everyone - I am making this post for some self-accountability. I currently have an Associate's Degree in Business Administration, a Bachelor's Degree in Cybersecurity, and a Master's Degree in Divinity (leadership & theology). I currently work as an IT Support Manager overseeing a staff of 4 people for a college. I recently earned the PenTest+ cert and CySA+ certs through CompTIA which require some basic understanding of coding/programming (which I learned through my Bachelor's Degree). Anyways, I love learning and have always been fascinated by programming but have never taken a deep dive into it. I know the basics of HTML and Python but that's about it. Today, I am beginning my journey with The Odin Project! [link] [comments] |
PDF iframe disappears if site is responsive Posted: 21 Jun 2021 11:22 PM PDT Hello, i have a little problem with presenting a pdf on my website. If i open the site on fullscreen the pdf is showed perfectly. But as soon as i change the screen size the pdf viewer disappears. I already tried it with embed-responsive-xxbyxx and embed-responsive item but without success. When i use a youtube video instead of a pdf it works fine. Thank you in advance [link] [comments] |
What would be an efficient way to solve this graph problem? Posted: 21 Jun 2021 10:07 PM PDT Hi all! I need some help with a personal project. I have solved this problem in a brute force approach, however I know there should be a more efficient and elegant way to solve it, I'm a hobbyist programmer, not a professional or student. My current solution takes my MacBook Pro about 10 minutes to compute with python, which seems too long considering the nature of the problem. The problem: I've scraped a dataset of all ufc fights, and want to find out if UFC fights obey the 'transitive property'. I.e if A defeats B, and B defeats C, does that mean A defeats C? For shorthand, lets express a fights like this; (A fights B) = AB I want to know what percentage of times 'MMA math' applies. This involves finding all scenarios, from the entire dataset of UFC fights, where 3 different fighters have fought each other. Finding all possible 3 fight sequences is the part that I am having trouble with. Things that make this complicated:
If you were to represent the fights as a directed graph, we would be looking for all instances of cycles (with only 3 vertices). Thanks! [link] [comments] |
HTML or Python for beginners? Please give your advice... Posted: 21 Jun 2021 09:50 PM PDT Hi guys, I want to learn programming from the basic. Some of programmer said python would be the best to learn, while some of my programmer friends said HTML is easy and basic. So what do you guys think? Any advice in which should I start? since I have zero experience... [link] [comments] |
Posted: 21 Jun 2021 08:11 AM PDT Hey fellow programmers! I wanted to see what your thoughts and experiences were with programming, using cannabis (weed), and working in the field. Do you use cannabis and code? Do you have thoughts on using cannabis while pursuing a coding career? I'm a rather heavy user of cannabis myself and have days where I like to be completely sober and sometimes I like having that extra edge cannabis gives me to view problems in a different light. I've seen people talk about using cannabis while doing programming homework, but not necessarily from people who use it that are already working full-time in the field. The areas I code in normally involve lots of creativity so I believe it helps in some cases for myself, but wanted to hear other experiences! [link] [comments] |
Java/FX Null Pointer Exception Posted: 22 Jun 2021 12:55 AM PDT Using JavaFX and Scenebuilder. When creating a second Scene I am having trouble accessing and using a text field in that second scene. I keep getting Null Pointer Exception. I guess I am confused because I thought the FXML loader creates the instance of the second Scene? Error happens when I click the button that is tied too function calculateStuff and errors out when it gets to TextField textOutPut. I should note that I tried initializing textOutPut with new keyword, tried initializing it in initialize() function. I also tried using this keyword when calling textOutPut. public class SecondScene { private TextField textOutPut; SecondScene.fxml <Button fx:id="btnRunFunction" layoutX="259.0" layoutY="254.0" mnemonicParsing="false" onAction="#calculateStuff" text="Button" /> Controller scene only has a button that takes it to the second scene. Controller public class Controller { public Button btnSwitch; Parent parent = FXMLLoader.load(getClass().getResource("SecondScene.fxml")); [link] [comments] |
A step by step flowchart in HTML Posted: 21 Jun 2021 06:45 PM PDT I'm looking to create a flowchart, but instead of viewing the entire chart, the user gets to make a choice at each "level" or "branching" of the chart. So for example, in a flowchart for finding you favourite animal, let's say the first branching from the start is "pick an animal group" and the chooses presented should be "reptiles" "herbivores" etc. The if "reptiles" is clicked, the user gets the next choice of "which animal?" With the choices "snakes" "crocodiles" etc. My flowchart will have many more branchings than this, and I don't want to have to make a separate html document for each one. Any ideas? [link] [comments] |
Django DateTimeField showing different time in shell and browser Posted: 21 Jun 2021 11:55 PM PDT I just made a Coupon model in Django and displaying the valid_from and valid_till in the template. The value show in django shell ORM is the actual time created, and count 20days from it till it expires. However the one in template keep showing the CURRENT time and counts 20days from the CURRENT time. My dad streetlamp isn't around since he's busy and I would like an advice from you folks. It's my first time trying something outside of tutorial and I don't know how to pinpoint a "fix", especially when django orm shell is showing the right time as I intended. views.py profile.html [link] [comments] |
Posted: 21 Jun 2021 07:46 PM PDT Hello. I have decided that I want to become a full stack developer. After a lot of planning, I have come up with a roadmap. The roadmap consists of HTML, CSS, Bootstrap, JavaScript, React, Python, Django, and SQL. Is this a reasonable roadmap? Do I need to add anything? [link] [comments] |
Can anyone help me figure out what approach to take to making a visual "life dashboard"? Posted: 21 Jun 2021 11:02 PM PDT I'm open to hardware AND software, but I'd start with software and only use hardware if it worked. So here's what I mean. Suppose I track my meals with MyFitnessPal or another food logging app, then use a different app to monitor sleep with a watch, a smart scale and another app to track exercise/workouts. And then I have a spreadsheet where I track my to-do list and other things. Now what I'd like is to pull all of this data together based on automatically updated data. So maybe I have a phone widget on my home screen, and it has a line graph of my weight, a bar graph of my steps or whatever, a red/yellow/green background to indicate my average hours slept over the past 3 nights, a empty/full or loading type bar to show what percent of my "to-do" list is done, an empty/full bar for calories eaten... You get the idea. I just want to be able to make the display flexible so I can change it and adjust it, but then have whatever arrangement or display I like to be automatically updated, so when I change a box in my spreadsheet, it updates, when I step on the scale, it updates, and so on. So, I can research some of this on my own, but I wanted to get an opinion on other parts so that I can see if this is even within my rudimentary skill level. I know I'll need to find apps that have an API, and make sure that I know how to use that API. I know I'll be using Google Docs and learning about OAuth tokens probably, so that I can make a google docs script to interact with the API. And I know I'll probably end up using HTML and javascript with a nice beginner-friendly library for the display, since javascript is closest to the only non-HTML/CSS language I know anything about, which is Google Apps Script. So, any thoughts? For example: -App recommendations are welcome, though I'm sure I can find one without recs. -Opinions on whether HTML/Javascript would be enough, or whether I'd need something like python or another language? -If that's enough, opinions on javascript libraries? -and yeah, if you have thoughts on ways to display, I can do something like a raspberry pi powering a small monitor, or even a kindle or something with black and white power saving screen, but I'd like to be able to put it up on the wall if I'm going to use special hardware. [link] [comments] |
Posted: 21 Jun 2021 06:54 PM PDT Tech support from my host figured this out for me but they didn't explain why it happens. When I looked at the pages (both http and https) in an incognito browser, the latest updates appeared. The tech support rep also had me look at the http and https on my phone while not connected to wifi and the latest updates appeared in that scenario as well (whether it was incognito or not). I thought he said it had something to do with my ISP but I wasn't sure exactly what he meant. Can someone ELI5? [link] [comments] |
How do I get following count from an Instagram page? Posted: 21 Jun 2021 09:45 PM PDT Hey, I just don't know how to go about this, I'm new. What I'm trying to do is see when a user is online. It's impossible but if their following count changes between two periods it means that they were online at some point during that period. I want to output "Username was online at time blah blah" every time a count changes. How can I do this? [link] [comments] |
Posted: 21 Jun 2021 05:52 PM PDT I have a problem with my code. I'm trying to run a series of piped commands as a test, learning how to use dup2 and pipes, but I'm having trouble with hung processes. My code below is designed to run the following: " head -5 salad.txt | sort -nr |cat -n > command3.txt " salad.txt is the input; command3.txt is the output. My code goes through a FOR loop, forking three times. The parent code records the process ID of the child processes (using the 'kids' int array), while the child processes run accordingly based on loop variable 'i', so they run the appropriate code in my demo sequence. This is just a proof of concept of trying to run N commands that are piped (with this case, N = 3). Now, running my code below, the issue begins when my parent code finishes. If I don't wait for the children, skipping the part after the FOR loop, my code works upon checking the output. However, running 'ps aux', I still see hung commands involving 'sort' and 'cat'. Similarly, if I wait for my child processes, I get hung waiting for 'sort'. I think this has something to do with me not closing the proper file descriptors. I'm closing them in each process so all I have is STDIN, STDOUT, and STDERR, but it doesn't seem to be working. How should I close the file descriptors appropriately to get my pipe sequence running? I'm having trouble understanding this when dealing with multiple commands. [link] [comments] |
Posted: 21 Jun 2021 09:25 PM PDT As you can see from the title, I'm a total noob when it comes to setting up a DB for the first time. Was wondering, I am making an app where people should be able to request to see a certain product, and that request should show up in notifications. This request would already be stored in a Transactions table, with state as "initiated" so it's already stored somewhere. If I want to show the user receiving this request a notification bell that they can click on to see a list of notifications they've received, would I need to create a separate table for notifications? And if yes, what normally goes in such a table? Sorry for the really basic question but googling this confused me more instead of helping me [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