Is the abbreviation "passwd" worth it, to save two characters? Ask Programming |
- Is the abbreviation "passwd" worth it, to save two characters?
- How is this interactive video on Quaternions made?
- Need Help understanding a URL
- How can I make the background of one section the same as the other section?
- Reddit Scraping Help?
- Python function not returning variable?
- How to fuzz test in an old programming language using a different language like C#?
- Reference Manager isn't giving me any options (visual Studio 2017 C++)
- What's the name of the design philosophy used in the NY State of Health government website?
- Python Gmail to CSV Script Error
- Microservices backend - what about frontend?
- Recommend me extension for checking stats on websites
- EU Developers - Have you lost admin rights on your work machine following the introduction of GDPR?
- How do companies like Facebook make sure their software engineers don’t sneakily add or remove things from their main software?
- Passing click coordinates to my main method?
- [Python]Constructor to initialize CLASS variables?
- From a student: Am I obsessing too much about code style? In the industry, is functioning code functioning code?
- Literal Nightmares About Programming
- Python time Complexity
- [C#] Why does this code return -1 when running the query in SQL returns correct value of 0
- PLEASE HELP!!
- How much coding do do I need to study before I can understand something of the complexity of google analytics?
- Java -- help
- Distance between 2 lines.
Is the abbreviation "passwd" worth it, to save two characters? Posted: 03 May 2019 10:27 AM PDT |
How is this interactive video on Quaternions made? Posted: 03 May 2019 05:01 PM PDT Hey guys, I'm wondering if you can point me in the direction of how this video would have been made? [link] [comments] |
Posted: 03 May 2019 04:08 PM PDT Hi all, I was just trying to understand how Nike creates their URLS, so far I have been able to understand a lot of the url but one part just stumps me: eg: https://www.nike.com/t/air-vapormax-2019-shoe-7FNs83/AR6631-005 ' What I have linked is a page on Nike: - air-vapormax-2019-shoe - this part of the URL refers to the product name given to the shoe and can be found in the description. - AR6631-005 - what they have here is the product like sku number, or known as a 'style code' My problem - 7FNs83 - the only part I have trouble understanding is in how they create this part of the URL, my ideas is that its randomly generated or it is an encrypted thing? I don't know what it is and I was wandering if anyone has a clue what this number could potentially be. Much appreciated. Edit:Sorry if this is the wrong place to ask this question, just don't know where to start. [link] [comments] |
How can I make the background of one section the same as the other section? Posted: 03 May 2019 06:18 PM PDT I think this question is simple; How do I have the same background of the "welcome" section replace the background of the "what we do" section in this html template https://html5up.net/hyperspace (you can download the source code at the top right) [link] [comments] |
Posted: 03 May 2019 01:53 PM PDT I'm writing my dissertation about Reddit moderators, and how they mediate conflict, enforce norms etc. Ultimately, I need a load of data to do this. I need to scrape about 6 moderators pages for the last 100 comments, and present them in some sort of document/spread sheet, in order to analyze them. I'm pretty lame at programming. If someone was to help me out, and perhaps write the program, I would be more than happy to buy you a gift of some sort, somewhere around the £30/$40 mark. It would save me so much time, and I realize it might be light-work for some of you guys. Let me know if I'm in the wrong area - thanks for reading. [link] [comments] |
Python function not returning variable? Posted: 03 May 2019 07:20 PM PDT def fun(a,b): x=[] for i in a: for j in b: if i==j: x.append(j) break return x fun([1,3,4],[1,2,4]) I don't get anything returning but if I print instead of return, it shows me the correct x variable. [link] [comments] |
How to fuzz test in an old programming language using a different language like C#? Posted: 03 May 2019 10:34 AM PDT I just got a job as a CSPro programmer and we write surveys and censuses to ask questions in other countries. These surveys can be 100-200 questions long and each survey is very different. I wanted to create a fuzz testing application that would be fed a survey written from CSPro and then generate random responses but I am having a hard time thinking of how I would go about creating such a tool. I wanted 1 application that would not have to be tailored for each and every survey and more of a general tool that other survey writers can just feed their survey through. I also considered writing a batch script that would just run through a survey in sequence generating random responses everytime but that would have to be designed specifically for every survey. Anyone have any ideas or suggestions? I was thinking my application would have to either read in the survey source code and interpret that or it would be fed the user interface and interpret that but I am not sure about the following steps [link] [comments] |
Reference Manager isn't giving me any options (visual Studio 2017 C++) Posted: 03 May 2019 06:01 PM PDT Extreme noob here. I'm just trying to add a reference to my c++ hello_world project (using "Programming Principles and Practice using c++" and it's a bit out of date) and every time I right click the 'Applications' node and click 'add reference' I get the 'Reference Manager' and on the top left a category called 'Projects' that opens up to 'Solutions' with nothing showing in either. No browse tab or category or button, no other tabs besides the 'search' tab. Nothing to choose from. [link] [comments] |
What's the name of the design philosophy used in the NY State of Health government website? Posted: 03 May 2019 05:42 PM PDT I've been perusing the NY State of Health government website for a bit and found that I really like their design philosophy. Just like Google has its own design and calls it "Material Design", is there a name for the design philosophy used by this website? Where could I learn more about it? [link] [comments] |
Python Gmail to CSV Script Error Posted: 03 May 2019 12:11 PM PDT https://raw.githubusercontent.com/gerryjenkinslb/download_emails/master/download_emails.py I am trying to use the above script to download all emails from gmail. Error: https://imgur.com/a/UhOXm1j I changed It also asks to specifyheader parts to save such as from, to, subject. I don't know what category it should be changed to, but it probably shouldn't be 'None' Ran it Need to save How can I do this? [link] [comments] |
Microservices backend - what about frontend? Posted: 03 May 2019 09:23 AM PDT I have a microservice system built using Spring. Everything is nice and clean. And then a question appears - what about frontend? I have two ideas on how to solve this problem:
Did any of you have a similar problem in their work? How and why did you choose the solution? [link] [comments] |
Recommend me extension for checking stats on websites Posted: 03 May 2019 04:36 AM PDT |
EU Developers - Have you lost admin rights on your work machine following the introduction of GDPR? Posted: 03 May 2019 02:45 AM PDT What it says in the title. Our company had an audit done to assess our GDPR compliance, and now all machines are locked down. Installing new software requires an admin password. This is yet to add too much friction as we work on a single long standing product and everyone's toolsets are already established, but it still feels a bit janky. Anyone having similar issues, and what did you do about it? [link] [comments] |
Posted: 02 May 2019 10:45 PM PDT |
Passing click coordinates to my main method? Posted: 03 May 2019 10:25 AM PDT So I've got a class called mouseFunct, and I want it to show the coordinates of where I click. Java has a MouseAdapter & MouseEvent and they work like a charm at giving me my coordinates. But I can't seem to be able to pass these coordinates outside of the mouseClicked method. This might be a really dumb question, but I'm really stumped at this. All tutorials that show how to use MouseAdapter just get the coordinates and System.out.println() them. However, I don't want these coordinates in the console, I want to use them to see what the user has actually clicked on. I have tried making getters or even accessing these variables through the object, that didn't work. I'm really lost on this one, as I've never really used mouse input, usually I do everything over the console, this is my first program ever with actual interface. If you have any tips that may help with my problem, please do say. Anything helps. [link] [comments] |
[Python]Constructor to initialize CLASS variables? Posted: 03 May 2019 10:17 AM PDT I'm working with an object set that's dependent on a common set of class variables. Some of these class variables require extra effort to get (database calls, etc). They (and the data they're based on) are not expected to change during the program's execution. Is there a convenient and tidy way to get this ball running? An __init__ for the Class itself? My current solution is to create a "__setup__(cls)" function and run it at the end of the module. Even if I use "from MyModule import MyClass", the function still gets called. Seems tacky but it works. [link] [comments] |
Posted: 03 May 2019 10:07 AM PDT Especially in regards to things like commenting your code when it's unfinished, or not bothering to. In the real world, what are you expected to do? [link] [comments] |
Literal Nightmares About Programming Posted: 03 May 2019 09:53 AM PDT Does anyone get nightmares about programming? I've dreamt a lot about programming, but last night I woke up several times with full adrenaline, not fully snapped back to reality and shocked like my brain hit its own exception. I'd jerk upright in bed. Something about mixing up objects properties or something. Terrified, but not really making sense. It felt a bit like a fever dream. Sleep is weird. [link] [comments] |
Posted: 03 May 2019 05:32 AM PDT Can somebody explain here why the "count_pattern" function which has 2 for loops runs in less time than "count_pattern2" with no loops Both of the above functions count the number of patterns in the list named test. I ran both the functions 10 million times and saw the difference. It takes 47 seconds to run 10 million times for "count_pattern" and 123 seconds for "count_pattern2" Here is my program: [link] [comments] |
[C#] Why does this code return -1 when running the query in SQL returns correct value of 0 Posted: 03 May 2019 07:58 AM PDT [link] [comments] |
Posted: 03 May 2019 01:55 PM PDT I have my senior project to submit which is an android app. I need a function that will be disabled unless the user is inside the radius I defined. How can I do it? I have no time!! PLEASE HELP MEEE!!! [link] [comments] |
Posted: 03 May 2019 07:45 AM PDT Google Analytics Javascript: https://www.google-analytics.com/analytics.js [link] [comments] |
Posted: 03 May 2019 07:00 AM PDT Hey all - I'm creating a code to be able to add a drop down ComboBox to a code. It compiles fine, but nothing is displayed. I'm sure I'm missing something really obvious. I've tried adding new frame(); to the end of the code and still nothing happens. Any help would be much appreciated! import javax.swing.*; import java.awt.*; import java.awt.event.*; public class CustomerPanel extends JPanel { public CustomerPanel() { // Add a border around the panel. setBorder(BorderFactory.createTitledBorder("Select Customer")); } } [link] [comments] |
Posted: 03 May 2019 05:54 AM PDT Hi so I'm trying to code a game and I need to detect collision of 2 rectangle objects. I have made the rectangles move, but now I need to detect collision. For me, here I have 2 objects: player, enemy. For sideways collision, the player dies. For top collision (player jumps on the enemy), the player stays on the object. For the variables, I have the four coordinates of the rectangles. I make them (the rectangles) move by updating the coordinates. This is a 2d space. I hope to do what I want to by finding the distances between the edge lines and if that's 0, then they're colliding (that part is simple). Any pseudo code or ideas for finding the minimum distance between 2 lines or a better way to detect collision, would be awesome! [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