Not a question but helpful advice on learning git Ask Programming |
- Not a question but helpful advice on learning git
- What are some developer friendly languages that support inheritance, fast/no debug builds, and performant release builds?
- When I type in my router's IP (192.168.0.1), where does the web page come from?
- I don't understand: "Explain why a computer cannot solve a problem for which there is no solution outside the computer"
- Would anyone like to share their experience taking different programming classes?
- How come for linked list methods and stack methods it is convention to write "if(headPtr != nullptr)" rather than "if(headPtr == nullptr)" ?
- Website for testing the implementation of data structures and sorting algorithms???
- Question about dynamic JAMSTACK and SEO?
- How can I create simple box collider physics from scratch?
- YT music macOS menubar show what's playing app making advice
- No member function declared in class even though I did declare it
- Any ideas regarding this interview question?
- Advice on Java Web scraping (IE11 required) that doesn't require Internet Explorer to physically launch on my pc while logged on?
- Java - Making a tile map editor for fun - how can I store the correct tile to display each repaint()?
- Silent Keyboard that makes NO SOUND, do you know any?
- Adopting Asynchronous Communication/Workflow
- Request- Best beginner/intro tutorial or materials to “hook” someone with zero programming or professional knowledge
- How to convert a loop that accesses previous/next values in a 2D array to parallel program?
- About C#, Why do we have to differientiate between float and int? why can't we just use int?
- After ~3 years in the industry, I fail to see the value in CORS
- Programmers of reddit what is your opinion on null? A good feature to have when implemented correctly or a billion dollar mistake?
- Angular- How to use an index outside a loop in the template?
- How to cite open source in own programs?
- I’m torn on what to do
Not a question but helpful advice on learning git Posted: 29 Aug 2020 09:41 AM PDT I asked a question before on what is the best way to learn git and got lots of explanations and links to videos. They were all super helpful and much appreciated, altho the one I found the most helpful was this link here. It's a simulator of git that shows you step by step and has a visual aid to what the branch currently is and what you have just done to it [link] [comments] |
Posted: 29 Aug 2020 06:33 PM PDT I'm trying to get away from scripting languages, but the build times are killing me, plus a lot of modern statically typed languages don't support inheritance-based OO. Crystal looks promising, but for the build times and even slower project progress. I'm looking at D next, but it doesn't feel super modern at first blush. What are some other languages I may have missed? [link] [comments] |
When I type in my router's IP (192.168.0.1), where does the web page come from? Posted: 29 Aug 2020 08:43 PM PDT I decided to use this time in quarantine to understand a bit more about the Internet. So yeah, I understand that all webpages are hosted in servers and that each server has a unique IP address. So, when I browse a webpage, that web page's name gets translated to its server's IP address, and I get the HTML file stored in there. My question is: When I type in my router's IP address (192.168.0.1) on my browser, and I get a nice clean webpage, where does that HTML file come from? Is it stored inside the router? Or does the router request that page on the internet so that it can be displayed to me? Thank you! [link] [comments] |
Posted: 29 Aug 2020 01:26 AM PDT I've been trying this phrase: Explain why a computer cannot solve a problem for which there is no solution outside the computer. It's an assignment by my prof, but I can't even begin to understand it. Does "outside the computer" mean that if humans for example (who are outside of a computer) doesn't have a solution, then the computer wouldn't be able to have a solution? Does it mean that a computer needs to have all the tools and processes available to it in order to solve the problem at hand? I see on YouTube that there situations in which a computer cannot give an answer about whether a program will have a stopping point or if it will keep going in an infinite loop..Is that what this question is asking? Someone please give me some insight. [link] [comments] |
Would anyone like to share their experience taking different programming classes? Posted: 29 Aug 2020 09:31 PM PDT |
Posted: 29 Aug 2020 05:03 PM PDT |
Website for testing the implementation of data structures and sorting algorithms??? Posted: 29 Aug 2020 04:26 PM PDT I'm looking for a website that can check a person's implementation of data structures and sorting algorithms (like leetcode) with a variety of test cases. I understand that I could build these test cases myself, but i'm a beginner i'd feel way more comfortable having my code tested by a set of test cases that are a bit more thorough. [link] [comments] |
Question about dynamic JAMSTACK and SEO? Posted: 29 Aug 2020 12:34 PM PDT Hello all, I'm playing around with a personal project where I'm trying to create a simple blog. The only requirements are that the site be part of the JAMSTACK so that it can be hosted almost entirely on a CDN. I also want to store blog data on a database, so that I can add/edit/delete blogs on the fly. I know I can do this by fetching the data once it's been served and in the client browser, but I'm wondering if this hurts SEO at all? I know I can use Next.js for Server Side Rendering, but I'd really like to decouple the site from the API server. Thanks in advance! [link] [comments] |
How can I create simple box collider physics from scratch? Posted: 29 Aug 2020 06:26 PM PDT Most games and simulations use some type of physics and polygon bodies. I'm trying to create a collision system in c++ using SFML from scratch. How can I take rectangles (without special variables like rotation or unique polygons) and create a basic physics engine? [link] [comments] |
YT music macOS menubar show what's playing app making advice Posted: 29 Aug 2020 01:56 PM PDT Hi! I find it really annoying that I can't see what music is playing in yt music without going to the app. So I'd like my menu bar to show what song is playing. I searched online and there are working things for Spotify and iTunes, but I'm stubborn with yt music so I want to code a version for that! I've never coded an app or add-on at all, but I have a few weeks before uni starts and I really want to try do this in that time as a project! For reference I've coded in python/r/c/lean but only for maths problems and not really this sort of thing. Where do I start? What can I do? I'd much rather just go straight to trying to do the app and learn things along the way when necessary -any advice I'd really appreciate! Thanks! [link] [comments] |
No member function declared in class even though I did declare it Posted: 29 Aug 2020 04:28 PM PDT In my header file I have my class and I declared an overloaded operator==, but when I try to implement it in my .cpp file, it says it doesn't exist yet the cpp file reads all other variables and functions no problem, even though I included the .h file into the cpp file so what gives??? Did I not implement it correctly? Here's just a piece of the code without all the extra stuff [link] [comments] |
Any ideas regarding this interview question? Posted: 29 Aug 2020 04:26 PM PDT I received this problem during an interview recently, and I was unsure what the optimum approach was. Say we are given two unsorted arrays A and B. A = [1, 1, 3, 4, 5, 2, 6, 2, 4] B = [4, 5, 2, 6, 2, 4, 1, 1, 3] For example, here A is shifted three times to get B. The question is to find how many times A is shifted left relative to B. If the arrays were sorted, we could just find the inflection point, but that is not the case. It seems like a simple problem, but I found it really hard to find any way to approach this. Any help would be great. [link] [comments] |
Posted: 29 Aug 2020 04:06 PM PDT Hi everyone. This is a very odd use case, and I'd appreciate any ideas you guys have. Background: Well, the owner of my company wants up to the minute data. This is not available in the database, but the application does have a web portal (provided by the vendor) which displays real time data in displays. Rather than spend two months using their outdated and awful API for this data, I decided screw it - I'll just scrape the HTML tables and dump them into our database. This is working now, and it works great. Problem: It seems whenever I log out of the PC, even if the job has permissions to run while logged out, Selenium doesn't handle it well and it bombs out. In other words, I'll log back in an hour later, and every instance of the task running has a new IE window, stuck on the initial webdriver page. It can start up, but can't change URLs while logged out. So with that in mind, I wanted to know if you guys had any other ideas on how I could webscrape Internet Explorer without being logged in. Is there some other neat tool in use out there that I'm missing? Example web flow: I'm 99.9% sure that since this vendor requires Internet Explorer 11, and because I have to physically manipulate the pages, i.e. click this button, send-key tab twice, click url, etc. There's no possible way this could be run as a background process, right? I mean if that's the only way, I'll get I.T. to just set up a pc solely for this app, but I'd rather a cleaner solution as that seems really wasteful. And I may as well mention it - yes, the vendor does provide an API for us to access the real time data, but it requires a massive overhaul of the system since I guess the people who originally configured the system didn't think to configure it for it. This is not possible since this is an absolutely critical application that must be running 24/7 365. So no time to take it down and essentially rebuild it, just so we can get a bit faster data from it. Thanks again :) [link] [comments] |
Posted: 29 Aug 2020 03:13 PM PDT I have an ArrayList for the x and y coordinates of each mouse click. This works great for iterating and redrawing every tile. But as soon as I switch tiles EVERY prior tile is redrawn as that new selection. I'm at a friend's so I don't have access to my code, but this has been bugging me all day. Any ideas (if only pseudocode)? I thought about making another list, but I'm not sure how I could link it with every frame correctly. Thank you! =) [link] [comments] |
Silent Keyboard that makes NO SOUND, do you know any? Posted: 29 Aug 2020 08:44 AM PDT Hello,As a programmer, i can feel sometimes neighbors being annoyed by the sound of my typing on the keyboard. I was wondering if any of you had found a solution for this. I am searching for a keyboard that makes close to no sound. Thanks [link] [comments] |
Adopting Asynchronous Communication/Workflow Posted: 29 Aug 2020 01:37 PM PDT Hi so with the whole covid thing going on, everyone has been remote for months. And our team has decided to adopt a more asynchronous communication/workflow and our inspiration or guidelines for this was adopted from a Gitlab Post On Embracing Asynchronous Communication There are some pros and cons to it from our initial adoptation of it. I expect that is because we are either not doing it right, we don't understand some things about it, or we just simply aren't utilizing the proper tooling. Also we are doing Scrum...I would say we do it pretty close to the book, but not entirely 1.With synchronous workflow when we plan stuff into our sprint, each engineer knows what meetings we have planned and what OOO time we have, so we know how much we can commit to the sprint. The challenge I find with asynchronous communication is that it causes more stress. I find that I end up having more meetings, living documents and more stuff I have to keep track of. With sync, there was still volatility, but with async, there just seems more volatility. I feel like the issue is that with sync, when people make meetings, we use google calendars so we know what time to fit where so there are no conflicts. With async, we create a doc or space where people can contribute whenever they feel like. This aspect is very attractive to me. However, because I feel like because anyone can create this as much as they want, it becomes unchecked and I get developer overloaded.
We have Jira for sprints and tickets. Confluence for documentation. I guess maybe my issue is with Confluence or my ability to use it. With Gitlab you can filter by what issues you have that are still open and it's in a single page. With Confluence, there doesn't seem to be a feature like that. I just wish I have all my async communication stuff in one place.
Curious on other people's adoptation or experience with this [link] [comments] |
Posted: 29 Aug 2020 07:07 AM PDT Short backstory. I'm a professional Dev Lead. I have a family member who is just out of high school, working and taking just a couple of classes at a community college. Very into video games his whole life and not sure what he wants to do and searching (as we all were). I'd like to send him a tutorial that has the best chance to hook him a little bit- preferably not information overload, but something enjoyable and simple that teaches some of the very basics. I don't care which language, framework, IDE, etc- just something to hook him. Any suggestions? [link] [comments] |
How to convert a loop that accesses previous/next values in a 2D array to parallel program? Posted: 29 Aug 2020 04:16 AM PDT I'm new to CUDA programming and practicing kernel programming. I came across a problem where there is a nested for-loop that accesses previous/next items in the array. I have done some basic kernel programming, but I don't know how to transform this into kernels. Can someone please help me break this loop so I can fit them into kernels? So far, I have dived deep sufficiently deep into affine transformations, which tbh, I don't understand. An ELI5 could help too. [link] [comments] |
About C#, Why do we have to differientiate between float and int? why can't we just use int? Posted: 29 Aug 2020 12:41 PM PDT I'm new to C# and I learn int is for a whole number e.g. 1 2 3 and float is for decimal e.g. 1.1 2.2 3.3 Im curious why can't C# just use int for both whole number and for decimal? [link] [comments] |
After ~3 years in the industry, I fail to see the value in CORS Posted: 29 Aug 2020 11:01 AM PDT I help create an Angular application for a decent-sized company. One of the most frustrating aspects of the job is trying to consume APIs written by other teams who have not enabled CORS. It is mostly only a hinderance in development environments and never effects production, but the developer experience is Regally aggravating. CORS seems like a safe idea to me but since there seem to be an insane number of ways to bypass it (using an in-app proxy, using Internet explorer, opening a chrome window that bypasses cors, using some http clients like ionic/Cordovas advanced http plugin, using jsonp, etc) that it doesn't seem worth it to have at all. Trying to search this topic only yields articles explaining what cors is and not necessarily how it's all that useful. Could someone explain to me how it's still relevant when there are so many ways to bypass it? It seems like all it does for me during work is cause a headache and the opening of a support ticket to get whitelisted by an api I need to consume. [link] [comments] |
Posted: 29 Aug 2020 10:20 AM PDT A little context: Value types: Data types which directly store the data in that memory address hence can't be null Reference types: Data types which either store a reference to another memory location and read value from there or store a special reference which signifies absence of value Basically what I've seen there are 3 type of implementations of types in languages.
Which one do you prefer and why? [link] [comments] |
Angular- How to use an index outside a loop in the template? Posted: 29 Aug 2020 09:22 AM PDT I'm using an ng-template loop to go through my form and add my note items, for this part removeOrderNote(order.get('contractOrderNote'), noteIndex)" I can't use noteIndex because it isn't inside the ng template loop, but when I've tried wrapping my card list inside the template and adding an index to the loop it won't display any card list items. Is there a way I can make noteIndex part of the loop, or another way I can help it keep track of which note it's on? Because I use the index of the notes to know which note you are clicking to remove. [link] [comments] |
How to cite open source in own programs? Posted: 29 Aug 2020 12:30 AM PDT Hi, I build custom data pipelines for data science purposes. I often find myself using and adapting functions from open source projects, for example implementations of certain algorithms. I rarely use the function as-is, so it is not the original code. It feels wrong though not to give credit to the original authors, but I am not sure how to. Any ideas? [link] [comments] |
Posted: 29 Aug 2020 07:31 AM PDT I've been fiddling with code for years now and earlier this summer, since the quarantine, I decided to take it seriously. I've seen my skills greatly improve over the past couple months and I'm really excited about my progress. My ultimate goal is leave my dead end job by next summer so I've really buckled down. However, I also enrolled in college part time with the goal of getting a CS degree. Unfortunately, I'm finding that I'm doing more homework from General Ed classes and it's taking away from my actual coding sessions. I feel that at this rate my year will turn to several years. Should I drop out and mainly focus on improving my skills or should I stick with college and accept that it'll take longer than expected. Has anyone ever been in a similar situation? Please help, any advise is greatly appreciated. [link] [comments] |
You are subscribed to email updates from AskProgramming. 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