Why's it called a vector, anyway? Ask Programming |
- Why's it called a vector, anyway?
- College student with 2 semesters of C++ experience and 1 semester of python - what to do over my break ?
- Resume template
- (Newbie) If I have array of N size and it takes log N to add item to a map, is its worst complexity N * log N?
- How to use python selenium to click this span element?
- some tips for function countstring return float python
- Collision Detection in SFML
- What programming language do you recommend for 3D/2D animation?
- Any way to automate a data-gathering process?
- Gray code question
- What's the worst "up - enter" mistake you've ever made?
- Dashboard UI generator with accessible data API
- Logistics working trying to create scripts in outdated system.
- Ways to compute minimal number of chess queen moves to go from a to b?
- Is "Modern C++" more of a high level language?
- CSS media queries not working on mobile, but work on desktop :(
- Technology for offering app in the cloud
- How could I make a program for simple input and output based on a list?
- Hello, I a going to start studying software engineering in February 2020. I just want to ask what should I learn before I start studying at college? What should I know?
- Question regarding binary
- Editing HTML Forms
Why's it called a vector, anyway? Posted: 30 Dec 2020 10:49 AM PST When I hear vector, I think of the geometric concept, not a dynamic size container. Where does the name come from? This might be a stupid question, but I'm a stupid person. [link] [comments] | ||||||||||||||||||||||||||||||||
Posted: 30 Dec 2020 08:31 AM PST Looking for an educational supplement to broaden and expand my skill sets in this month off I have, any suggestions ? [link] [comments] | ||||||||||||||||||||||||||||||||
Posted: 30 Dec 2020 09:25 PM PST Does anyone have a resume template I can copy for applying to my first job out of school? [link] [comments] | ||||||||||||||||||||||||||||||||
Posted: 30 Dec 2020 09:22 PM PST Hi, I am studying algorithm and having understanding how these formula(?) work. Let's say i have an array/list and there are N values (ie. array[N]). And i am studying about TreeMap, which takes log (N) time to add/remove an item. So, if i use a 'for' loop to traverse the array of N size to add each value to a Treemap, is the final time complexity at N * Log (N)? Could you please confirm if my understanding is correct? In advance, I assure you this is really not a homework question. Thank you and hope you guys all have a lovely New Year. yay [link] [comments] | ||||||||||||||||||||||||||||||||
How to use python selenium to click this span element? Posted: 30 Dec 2020 09:14 PM PST <span class="label label-text style-scope ytcp-checkbox-group">All</span> make it click 'All' https://selenium-python.readthedocs.io/locating-elements.html [link] [comments] | ||||||||||||||||||||||||||||||||
some tips for function countstring return float python Posted: 30 Dec 2020 03:14 PM PST hello, i m new in programming in python. i need a countstring whose it is return a float value (like 24.5) i do calculate dna : i try to calculate each string repated consecutively like "AGATC" "TTTTTTCT" "AATG" "TCTAG" "GATA" "TATC" "GAAA" "TCTG" so i m using https://www.programiz.com/python-programming/methods/string/count for found the strings consecutive i double my substring and next i multiply my count by 2 for obtain the good result when i check my result and my table references i have some difference // result expected, my table references
// my results when i calculate manualy i have a good results : 23 + 23 = 46 24.5 + 24.5 = 49 24 + 24 = 48.... but
for example: TTTTTTCT there is exactly 49 "TTTTTTCT consecutives string in a string DNA: i count = 24 # (so i have result integer, my result expected is float like 24.5) but manually when i divide 49/2 = 24.5 so my result expected is 24.5 for next i multiply by 2 and i obtain 49. I need a countstring whose it is return a float value (like 24.5) if you have some tips i would be happy to read them 😊 [link] [comments] | ||||||||||||||||||||||||||||||||
Posted: 30 Dec 2020 02:08 PM PST I'm making Arkanoid game using SFML and I'm using 2d array with rand function to draw random color bricks. The problem I'm facing is how to detect collision of the ball with bricks of 2d array? Kindly guide me please. If it's not possible, then kindly suggest some alternative. [link] [comments] | ||||||||||||||||||||||||||||||||
What programming language do you recommend for 3D/2D animation? Posted: 30 Dec 2020 03:27 AM PST | ||||||||||||||||||||||||||||||||
Any way to automate a data-gathering process? Posted: 30 Dec 2020 03:04 PM PST Not sure if this is the right place to ask, but say I wanted to fill a spreadsheet with basically the name of every elementary school board in the U.S. and then also find the number of staff employed at each school board, is there any way to help automate this process? Asking here because I've heard of things like web-scraping in Python and wonder if it could be used here. [link] [comments] | ||||||||||||||||||||||||||||||||
Posted: 30 Dec 2020 06:32 PM PST So I know that Gray code can cycle through a truth table by changing one bit at a time. Is there a name for something like this where it changes 2 at a time? or 3? So a cycle would look something like this 0000 0011 1111 1100 1010 1001 0101 0110 Is there a name for this? Any help is appreciated. [link] [comments] | ||||||||||||||||||||||||||||||||
What's the worst "up - enter" mistake you've ever made? Posted: 30 Dec 2020 06:29 PM PST | ||||||||||||||||||||||||||||||||
Dashboard UI generator with accessible data API Posted: 30 Dec 2020 01:29 PM PST Hey guys, I'm thinking of building a drag and drop dashboard builder where you can essentially add JSON elements to it and it will generate a nice looking UI (CRUD interface). The intention is that a non technical person can then use this dashboard to add/edit values that can then be read through an API by a developer. The inspiration comes from when I worked at a company where there were a ton of JSON config files hosted in S3/Github or when we used google sheets as a data store for a marketing person to edit. After some digging on the internet I've found tools such as Retool that were more involved and heavy weight. I'm thinking of building something more light and easily buildable within minutes. Would something like this be useful to you? What problems would it solve? Thanks! [link] [comments] | ||||||||||||||||||||||||||||||||
Logistics working trying to create scripts in outdated system. Posted: 30 Dec 2020 01:27 PM PST I'm currently trying to create scripts that talk to a very outdated warehouse management system. I used to work with a very talented kid who helped me out a lot in excel. He also was able to create scripts for our warehouse management system that talked that helped us transfer data to excel. They system has a script editor and I'm having trouble finding where to start. What functions Shoudl I be trying to learn? Where can I go to find the basic coding language that I need? For example I want to take all the part numbers in the system and there locations. But only specific parts that belong to a certain area. And then create a cleaning tool once it's transferred in excel. Please let me know where I should begin to look and how I Shoudl go about teaching myself. I've seen it done before so I know it's possible, i just don't want to bother him anymore since he left the job. Also please let me know if what I said needs more clarification. Thank you! [link] [comments] | ||||||||||||||||||||||||||||||||
Ways to compute minimal number of chess queen moves to go from a to b? Posted: 30 Dec 2020 02:06 AM PST We have a 10x10 board and two players who own 4 queens each. We want to calculate a so called territory for each player. I'm interested in a computationally efficient algorithm that lets me calculate the minimum number of moves a chess queen would need to reach a certain position, since I need to do the computation four times, for each position on the board. d1(a,b) - minimal number of chess queen moves needed to go from a to b D1(a,b) - min{ d1(a,b) | square b is occupied by player j } Is there an Algorithm that can help me achieve this? [link] [comments] | ||||||||||||||||||||||||||||||||
Is "Modern C++" more of a high level language? Posted: 30 Dec 2020 03:46 AM PST I wanted to learn C++ from a course. The course teaches C++ 11 and C++ 14 which is modern C++. The only reason I wanted to learn C++ was to understand some low level stuffs, I wanted to understand pointers, memory, etc and many more things at the hardware level. But from most of the people in reddit, I found that modern C++ has turned into more of a high level language having abstractions....Is it still worth learning for understanding lower level stuffs, to understand what the code is doing under the hood, or should I learn old C++? [link] [comments] | ||||||||||||||||||||||||||||||||
CSS media queries not working on mobile, but work on desktop :( Posted: 30 Dec 2020 02:51 AM PST Help please, I've tried everything I could find on the internet. I have added the meta tags in my HTML <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0," /> My media queries are in the right order and at the end of the stylesheet. (Desktop version works) I have tried `@media only screen and (max-width: 600px) { /* my refactoring code */ } and also just `@media {max-width} I'm using a mobile of 417px width to test. I'm new to this. Please help me solve this problem. [link] [comments] | ||||||||||||||||||||||||||||||||
Technology for offering app in the cloud Posted: 30 Dec 2020 10:29 AM PST Hi all, I have an idea and I'm not sure whether it is doable, reasonable, useful etc. but I would like to know some more. I don't have much experience with programming of any sort, but I am willing to learn. Say I write a piece of software and I want to offer it to my clients in download form and in a form where they can run it on my servers. How can I do the latter? Take, for example, any software on your computer and assume I would offer it to you like so: you login to a server and you are greeted with a "mini OS" which is all you need to run that program (in GUI form -- think of Apple's icloud.com, where you see a "desktop" with some apps and you click them to use them). Assume further that the app I'm offering you is not a web app, so it is some kind of executable, practically the same I am offering as a download. Basically, I am offering you a kind of a special-purpose OS (some version of GNU/Linux or BSD which I'm also offering for download) which runs on my servers and to which you can add more and more software from my offer. So you go to mysite.com, login, then you are greeted with the desktop, which contains an app manager and the installed apps you choose. Again, the apps are identical to the downloadable versions I am offering, it's just that you may prefer to run them on my cloud instead. I should add that I am considering mostly educational apps (think, for example, of the KDE Education suite), so it's not a game streaming, nor a professional cloud computing environment. As I said, I don't know whether it makes any sense to do this, whether it's a good idea etc, but I would be interested in finding out the keywords to search for in order to achieve that. Or if I'm totally wrong or it makes no sense, please point out my errors. My main goal is to learn and I hope this question is appropriate here or please accept my apologies if it is not. [link] [comments] | ||||||||||||||||||||||||||||||||
How could I make a program for simple input and output based on a list? Posted: 30 Dec 2020 09:43 AM PST For instance, if I'd just created my own cipher, is there some way I could write a program that would compare the text in the input box to the table and output the encoded message, or vice versa? [link] [comments] | ||||||||||||||||||||||||||||||||
Posted: 30 Dec 2020 09:13 AM PST | ||||||||||||||||||||||||||||||||
Posted: 30 Dec 2020 06:33 AM PST I know this subreddit is more geared toward specifically programming related questions but what I'm about to ask has been annoying me for the past couple of days so any help would be appreciated. I understand why the binary system is fundamentally the best for computers. But when we program something as simple as "int a = 25 +4; " the alu computes this and spits out 2@. But how exactly does the computer know that those series of bits represent 29? Or any other decimal number for that matter? Basically what is it that allows the computer to "know" that the bits it is reading in are base 2? Thanks for the help [link] [comments] | ||||||||||||||||||||||||||||||||
Posted: 30 Dec 2020 06:17 AM PST If you are on a website with a form to fill out and edit the HTML of the page prior to submitting, does the entire form get submitted including the changes you made (such as editting terms and conditions) or is it just the information you filled out on the form (such as name, email, etc)? [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