Agree or Disgaree: Competitive/ timed programming is not a good indicator of how good you are at programming? Ask Programming |
- Agree or Disgaree: Competitive/ timed programming is not a good indicator of how good you are at programming?
- What was the hiring/interviewing process like "back in the day"?
- Can someone help me build this?
- Can someone help me understand passing variables through functions (recursion)
- Can't figure out how to link C++ library installed with apt-get
- Help with simple GUI -- preferably GTK+/Glade/C
- What language is right for me?
- Why can't enter the while loop of my stack program?
- Looking for someone with experience with ATM software development
- Learning curve to create an electric circuit simulator App?
- Very general career question for those who've taken cs50 course
- [R] Trying to get a task to run every five minutes. Can someone help, please?
- Converting google doc to image then posting on instagram
- Cross Platform BLE App Development platform choice
- Good etiquette to understand every equation/mathematical concept?
- What do you use to design a website
- How do you find computers with win32 for testing?
- Trying to use this code from codepen, doesn't scroll down?
- HELP* Here's an update on my budget project with Javascript.
- Recording a monitor that is receiving from another device
- I need help on what backend technology I need to use
- Why does a recursive bubble sort algorithm have a O(1) space complexity?
- Problems with Django/Apache setup
Posted: 23 Dec 2020 05:55 AM PST I think that competitive programming requires a niche skill set of being able to dissect and abstract from problems quickly and have an inside out knowledge of the syntax of your language. However I feel that most developers use many external resources and take time to code, but are still considered good developers. If you cannot competitively program, does that mean you aren't that great of a programmer? I'd like to hear your thoughts! [link] [comments] |
What was the hiring/interviewing process like "back in the day"? Posted: 23 Dec 2020 05:15 PM PST This question comes from a place of curiosity; for people who have been working in the programming/software industry since the early 2000s or even 90s, how different was the hiring process then compared to now? Did they still have you do coding/whiteboarding problems, or take-home assignments? Was it less competitive? [link] [comments] |
Can someone help me build this? Posted: 23 Dec 2020 09:32 PM PST I have next to no experience programming. I saw this video and I thought it was really cool, and wanted to try it for myself. I have quite literally been attempting to build this on my computer for years, but it seems like it needs a ton of dependencies all of which have their own dependencies and 90% of which take a fuckton of troubleshooting if I get them to work at all, which I usually don't because I have no idea what I'm doing. The source code is [here](ttps://github.com/cnlohr/noeuclid). If you could tell me what to do that'd be helpful but what would be far more convenient would be if you sent me an already built exe, if that's possible. Thank you! [link] [comments] |
Can someone help me understand passing variables through functions (recursion) Posted: 23 Dec 2020 09:14 PM PST So I am doing a depth calculation algorithm for interview prep (in collage just getting a head start) and the question want's me to sum the totals of the depths of all the bottom branches of a tree. I am struggling to understand how variables get passed through and what happens when you on one function call return multiple times through recursion... Can someone please help me wrap my head around this or point me to a good place to understand this a bit more? My code so far JavaScript [link] [comments] |
Can't figure out how to link C++ library installed with apt-get Posted: 23 Dec 2020 10:26 PM PST Hello, I installed a library using 'sudo apt-get install libpmemobj' and I'm trying to link it with some C++ code and a header file. So far I've tried these commands 'g++ theSourceCode.cpp -L/usr/include/libpmemobj', 'g++ theSourceCode.cpp -L/usr/include/libpmemobj -lpmemobj' and 'g++ theSourceCode.cpp -lpmemobj' with all of them giving a ton of compiler errors. The first command I thought would tell the compiler to check the directory that contains the library I installed, the second command I thought would tell it to go check that directory for 'lpmemobj' specifically and the last I thought maybe it would just automatically find it since I installed it with a command that came with Ubuntu. Sorry if this is a really dumb question I'm just not understanding how to link libraries from what I'm reading online since the things I tried seem to be what the examples I read were doing. Can anyone tell me what I should be typing to compile the code based on what I've given? Some of the documentation is here but I believe this is for C not C++ https://pmem.io/pmdk/manpages/linux/master/libpmemobj/libpmemobj.7.html [link] [comments] |
Help with simple GUI -- preferably GTK+/Glade/C Posted: 23 Dec 2020 04:18 PM PST I'm working on a Raspberry Pi app which is essentially a GUI front-end to a DSPIC controller -- they communicate via i2c. I initially decided that GTK/Glade would suit me best. I watched many of Kevin O'Kane's YouTube tutorials, so I "get" the basics of GTK/Glade. But I see that even in Kevin's tutorials, he has problems he doesn't resolve and gives vague warnings about unspecified pitfalls. As soon as I started playing around, errors developed that I only fixed by editing the .glade file (XML.) Wow! That's fubar. I'm comfortable with C but I can work with C++. And so, I'd switch to Qt if I thought it would save time in the end and if I were learning something truly useful. Then there's editing. In Windows, I use and love the scite editor. I know vi but try to avoid it -- I guess I'm a sucker for multiple files, code coloring, autocompletion, indentation, smart parentheses, etc. In Linux, scite has this awful, fatal flickering -- entire words disappear and reappear. I just can't work with that! Some people say just edit the XML directly, so I looked into XML editors. Hornet's nest! Really? Some say use Gnome Builder or UI builder. Are those the same thing? Is that just an IDE? Will it actually help? Then there's GTK4, which is of course not supported by Glade -- that's fine if Glade is really pretty but pointless. But then, how do I develop? I'd learn a new language (e.g., Rust) if it really made sense. I just wish someone out there could show me a path that gives me a useful and stable development environment so I can get this job done. I'm not trying to do anything difficult at all. There are SO many options, it's hard to even get started. Thanks, By the way, this is my very first reddit post -- be nice! [link] [comments] |
What language is right for me? Posted: 23 Dec 2020 11:25 AM PST Hey guys, I know the basics of programming but the languages I've played around with so far don't really satisfy me with what I wanna do, I'm interested in cyber security and Linux, I'd like to build applications and cybersecurity tools ( I already know python ) I was thinking a c language? But I wanted to ask here due to me having not so much experience, thanks :) [link] [comments] |
Why can't enter the while loop of my stack program? Posted: 23 Dec 2020 05:52 PM PST [1 is push, 2 is pop] expected output: my code: [link] [comments] |
Looking for someone with experience with ATM software development Posted: 23 Dec 2020 09:25 PM PST Looking for someone with experience with ATM software development [link] [comments] |
Learning curve to create an electric circuit simulator App? Posted: 23 Dec 2020 01:28 PM PST I'm an EE student and I've been wanting to create a basic app to simulate basic electronic circuits for a while now (for fun). I have no android dev experience but have a good grasp of C++, math and basic python (no java which I guess is the way to go). I'd like to be able to drag and drop basic components (ie resistors) and connect them with wires. I'd appreciate any input from you guys as to how technically difficult (and realistic) this is for a newbie and any advice Thanks! [link] [comments] |
Very general career question for those who've taken cs50 course Posted: 23 Dec 2020 11:12 AM PST Hello. I'm a softmore at uni studying mechanical engineering, kind of uneasy about my career choice because engineering jobs sound less than exciting. I've begun taking harvard's free online cs50 course on my own time now to see if computer science is a better path for me. My question is, will cs50 be a good indicator of whether or not I will enjoy a computer science degree/career? Also, if anyone knows any good resources or recommendations on finding if comp sci is right for me I would love to hear. Thanks in advance. [link] [comments] |
[R] Trying to get a task to run every five minutes. Can someone help, please? Posted: 23 Dec 2020 03:59 PM PST Right now I have tbl <- list.files(pattern = "*.csv") %>% map_df(~read_csv(.)) This pulls hundreds of excel csv's into one dataframe. I have a blocking script in python that is loading data (a new csv) every minute into this folder. I don't know how to do this in python that makes it non-blocking so I can run analysis on the data's contents live (which is what is important in the data - its live data) - so I decided to create my analysis in R. However since there is new data introduced every minute, I'd like this function to run every five minutes to capture new information. Once I can get this part added I can add other data cleanup functions that also loop with the five minute pull - but for now I'm struggling to find a way to get this function to run every five minutes, non-blocking. Does anyone have any ideas? [link] [comments] |
Converting google doc to image then posting on instagram Posted: 23 Dec 2020 11:39 AM PST Good Day, I am not a programmer nor close to it. But i was wondering if there was a script or a program that i can use that would daily download a google word doc. Convert the doc into a image and then post the image to a Instagram account. I would prefer to run it under windows if possible. Any help would be appreciated. [link] [comments] |
Cross Platform BLE App Development platform choice Posted: 23 Dec 2020 02:49 PM PST Hey everyone, I'm part of a very small team developing a product that is going to build an app to communicate and control our device over BLE. The device we're using has a Nordic chip on it. The app we have now is Android only for beta testing. I built it on android studio because I was familiar with it. We now have a pretty decent version of it that our users can test the device with. In the new year we want to have both an IOS and Android app up and running. We're looking at using a platform that will allow us to have cross-platform development. The options I've come across the last bit of looking are: - Flutter - React Native - Cordova - Xamarin This will be our first time really making a full app like this. I'm defiantly more familiar with Java but don't mind learning a new language if the platform is good. I think one of our biggest things is having a platform with as much community support as possible and strong BLE library would be amazing. One of the big goals is to have BLE multi connect up and running much like the wireless Bluetooth earbuds have. Data doesn't need to be synchronized in our case but adjusting/seeing values on both at the same time would be perfect. [link] [comments] |
Good etiquette to understand every equation/mathematical concept? Posted: 23 Dec 2020 09:35 AM PST Hey everyone. Generally speaking, I've tried to uphold this view that if you are using some sort of equation in your code, it is important to comprehensively understand not only the intuition behind such an equation but also the nitty-gritty. I've done this for most of my work, despite how much it's held back the time of completion of whatever I'm doing. I'm now moving into this area of Deep Learning, and trying to integrate Fast Fourier Transforms into my code. I understand the intuition and the equation for the Fourier Transform, but am fuzzier with Fast Fourier Transforms. I've come to a bit of a point of realisation where I'm beginning to question my rigour with such things. Is it worth completely understanding 100% of what I'm doing, or leaving some level of abstraction and just "trusting" that the equation (or pre-written function, e.g. scipy's FFT algorithm) does what it says on the tin? This is less of a question to which I'd expect a "yes/no" answer, but rather what the views of other programmers are. Thanks guys, and happy holidays :) [link] [comments] |
What do you use to design a website Posted: 23 Dec 2020 09:21 AM PST I want to code a website but I dont know what to use to actually design it first so what do u guys use? [link] [comments] |
How do you find computers with win32 for testing? Posted: 23 Dec 2020 11:20 AM PST I'm need to make a install kit for a driver and I can only test it on win64. I can't find any computer or someone who owns a computer that still has win32 installed. What do you do (with a drunken sailor...*) when you need to test on win32? Where do you find a win32 computer? [link] [comments] |
Trying to use this code from codepen, doesn't scroll down? Posted: 23 Dec 2020 09:38 AM PST Hi guys, tried my chances on stackoverflow but got downvoted to hell without a single answer. So I'm a beginner fooling around with web development. I'm trying to use the code on the link below. I created index.html, styles.css, index.js and copy pasted the code below. I also added this code above the html to include the other files and give the html a head & body. I pasted the html code inside the body in index.html. <!DOCTYPE *html*\> <html \*lang\*="en"> <head> <meta \*charset\*="UTF-8"> <meta \*name\*="viewport" \*content\*="width=device-width, initial-scale=1.0"> <title>Document</title> <link \*rel\*="stylesheet" \*href\*="styles.css"> <script \*src\*="index.js"></script> </head> <body> ... https://codepen.io/EricPorter/pen/pmzLNw The design, animations and all work but the page doesn't scroll down. Why is it? Thank you in advance. [link] [comments] |
HELP* Here's an update on my budget project with Javascript. Posted: 23 Dec 2020 08:06 AM PST I'm reuploading because in my last post I didn't update my codepen with my current VSC. Okay so someone helped me with trying to save my entries into local storage with an easy solution. So now what I'm confused with is this. If I reload the page I want the local storage data displayed back onto my income and expense lists. I searched on google and came across a video of a todo list with javascript and tried to apply this guys method but since he only had one input and I have two, it won't work plus it was somewhat confusing to me. I'm also planning that when I click the delete button on an entry, it removes the entry and value from local storage. Any help and advice is appreciated. Thanks! here is my https://codepen.io/dustin-mcleod/pen/oNzNKgv [link] [comments] |
Recording a monitor that is receiving from another device Posted: 23 Dec 2020 07:56 AM PST Is it possible to record video of a monitor that is receiving data from another device, but is connected to the pc via HDMI cable? If so, how? It would be best if there wouldn't be a need for any 3rd party device, thank you for your answers! [link] [comments] |
I need help on what backend technology I need to use Posted: 23 Dec 2020 07:51 AM PST Hi all, I'm a beginner to programming and I wanted to make a ride sharing website, where a user can either request a ride or offer a ride. I'm not familiar with backend software at all so I wanted an idea of how I can set up the backend to make these requests possible and what backend software I should use. I would like to store the information that users put in and display it for other users to see. Any tips would help! Thank you! [link] [comments] |
Why does a recursive bubble sort algorithm have a O(1) space complexity? Posted: 23 Dec 2020 12:43 AM PST JS, if that's relevant. As far as I understood it, when you use recursion you're adding calls to the call stack. I created the following algorithm: function bubbleSort(array) { array[i] = array[i+1]; array[i+1] = plcHold; } Why is this not O(n) space complexity? As far as I can tell, the fn is called once at the start, and before the fn is finished I'll be calling it x times (while swapped === true). Then, at the end, all of the fns will be resolved. But up until that point, surely the calls are stacked one atop the other and, therefore, are taking up linear memory and not a constant memory allocation? Quick edit: apologies for the formatting; I can't figure out reddit's code format. [link] [comments] |
Problems with Django/Apache setup Posted: 23 Dec 2020 06:16 AM PST I'm trying to host my personal website using Django WSGI deployment on Apache, but I'm getting the following error: My Django project folder is [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