I am trying to darken a whole state when the user hovers over a county in that state in the following svg file using css. Ask Programming |
- I am trying to darken a whole state when the user hovers over a county in that state in the following svg file using css.
- Is English a prerequisite to learning programming?
- What kind of questions would you expect for programming interview for a job with the following requirements?
- Where could I learn about programmatic ways to randomly group elements of a set into subsets? Perhaps with arbitrary constraints?
- Old profile type Website/Domain
- I am trying to create a JSON POST request using apache poi. I keep getting a 500 error from the server, and I cannot figure out what is wrong with my code. Do I need to have something else running when I try to connect to the web server? This is currently what I have:
- How does influencer marketing platforms work ?
- How can I pull live baseball scores with my Pi and display them on a scoreboard?
- [FREE] Python Programming Bible | Networking, GUI, Email, XML, CGI course
- Java - QWERTY Weighted Levenshtein
- This '&' symbol c++
- Why do some companies use Solaris over Linux?
- How granularly should one define the term "operating system"?
- How are neural networks structured for specific tasks?
- MSI Mystic Light music mode?
- Learning about password manager implementations. What am I missing?
- Layman hypothetical question on data for console gaming.
- Module.exports and require confusion
- Coder May Answer ???
- Have you found a way to make non-work programming projects fun and relaxing?
- Facebook Graph API
- DLLs missing in release, present in debug
- Mobile Phone Character Encoding
- Webscraping for a beginner.
- How would I create an 'Add to list' feature on my website?
Posted: 07 Aug 2018 03:37 PM PDT This is the file in question: https://upload.wikimedia.org/wikipedia/commons/5/59/Usa_counties_large.svg I am a complete beginner when it comes to this, so I am not sure if I need to be doing this step in another language or something else. Right now I have found a way to highlight each individual county when I hover over it using this code. But my goal is to be highlighting entire states not just counties. My original thought was to do something like this(my example theoretically worked on state 35, New Mexico, but it never worked so I never pursued a universal solution) I thought that this would highlight all of New Mexico when I hovered over any part of it, but it does not. Any help would be appreciated. Thanks. Edit: formatting [link] [comments] |
Is English a prerequisite to learning programming? Posted: 07 Aug 2018 07:24 PM PDT |
Posted: 07 Aug 2018 07:50 PM PDT Specifically, what kind of questions would one ask for bash scripting, multi-threaded programming and cross-platform development? [link] [comments] |
Posted: 07 Aug 2018 10:01 AM PDT Got a data science question and I don't know how to learn more about the issue, starting with not having the terminology I probably need. I want some way to randomly assign elements of some set X with n units into a number of bins B. So, if n = 100 and B = 10, then there are 10 units in each bin. I want to be able to do this, but ultimately, I want to be able to introduce arbitrary constraints, for instance one or more of these:
ideally, some or all specific constraints could be applied in a way that minimizes the need to iterate the algorithm, i.e. something more efficient than just re-running until the conditions are achieved by chance. Though if for certain constraints that's the only way to do it, I'd like to know that, too. What is this kind of problem called, and how might I learn about the current state of the art? [link] [comments] |
Old profile type Website/Domain Posted: 07 Aug 2018 01:36 PM PDT Hey reddit, I have this LAMP stack website I used as an online portfolio & wordpress blog to help transition to a software engineering job. I have long since stopped updating the website, but I see the value of having a long-lived site for its search engine benefits (comes up first when you search my name). I pay about $80/year for this site, which isn't breaking the bank, but I was hoping to find a cheaper way. I will gladly keep paying for the domain name (~15/yr), but perhaps I could just redirect all requests to a github page with all the blog posts/portfolio pieces? Any help is appreciated, thanks! [link] [comments] |
Posted: 07 Aug 2018 11:51 AM PDT String urlStr = "http://somewebsite.com"; [link] [comments] |
How does influencer marketing platforms work ? Posted: 07 Aug 2018 10:31 AM PDT I have quite a rough idea about how influencer marketing platforms work, I know they access influencers data from social networks through different apis, but I have a few questions I am asking myself:
[link] [comments] |
How can I pull live baseball scores with my Pi and display them on a scoreboard? Posted: 06 Aug 2018 07:40 PM PDT I've never worked with a Raspberry Pi but I've done some low level programming and database work. I'd like to dedicate my pi to some type of scoreboard which pulls info like the box score, current pitcher, current batter, etc from all live games and displays them on a scoreboard that I design. I was thinking maybe baseball-reference.com would be a good source of live data. I'm not really sure where to start. Anyone know of any similar projects I could follow? How would I do this? Edit: Looks like this would work with my idea. I'm not sure how to integrate that with my idea though.. How do I design a scoreboard and pull data from that? [link] [comments] |
[FREE] Python Programming Bible | Networking, GUI, Email, XML, CGI course Posted: 07 Aug 2018 02:21 AM PDT |
Java - QWERTY Weighted Levenshtein Posted: 07 Aug 2018 01:01 AM PDT Are there any java libraries or repositories that have implemented a QWERTY weighted levenshtein? I am looking to match user typed strings with a list of strings that I have. Any help is appreciated. [link] [comments] |
Posted: 06 Aug 2018 08:27 PM PDT Hi, I was wondering what is this & symbol is for, when used in const <int>vector &box; [link] [comments] |
Why do some companies use Solaris over Linux? Posted: 06 Aug 2018 07:29 AM PDT Not meant in an aggressive way; just not super familiar with Solaris, and Solaris also seems like an inferior version of Linux. What makes it attractive? [link] [comments] |
How granularly should one define the term "operating system"? Posted: 06 Aug 2018 07:32 PM PDT I'm browsing through Wikipedia, and I'm seeing over and over things like "Fedora is an operating system," "Microsoft Windows is an operating system," etc. But the thing is: aren't these things really operating system families? For example, Fedora 28 may be an operating system, but Fedora is not. Fedora is a group of extremely related operating systems (namely, Fedora Core 1, Fedora Core 2, .... Fedora 16, ...), no? Maybe it's just that I like to define things at a high level of granularity, and so I'm missing the bigger picture. But even so, I think defining an operating system this way is better? What do you guys think? EDIT: I am looking for an ontological definition. Maybe I should have been more clear. For those who aren't sure what I mean, browse around Wikidata. In fact, here is the link for the Wikidata item for Operating System: https://www.wikidata.org/wiki/Q9135. Using the query service, here are some instances of Operating System: https://query.wikidata.org/#%23Cats%0ASELECT%20%3Fitem%20%3FitemLabel%20WHERE%20%7B%0A%20%20%3Fitem%20wdt%3AP31%20wd%3AQ9135.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D [link] [comments] |
How are neural networks structured for specific tasks? Posted: 06 Aug 2018 05:54 PM PDT So some context to this question: While always being interested in programming I'd never really dived into it. However, recently I've wanted to write a program which can turn a hard copy book into a word document. I believe that I may be able taking images of the text in the book, and use the images as input data for the neural network. I feel like this task might be rather large; at least, it feels daunting. So, a few questions if I may... Firstly, how does the structure of the network affect the function? Secondly, how would you tackle hurdles like: in book pictures, after all they're not text. Using the program to draw the image doesn't seem viable. How could the picture be isolated and incorporated into the word doc? (Also are there any other hurdles I've missed that are obvious?) And finally, how is the number of neurons, and layers, in a network determined? Surely it's not arbitrary. Also, I'm really new to programming. Feedback (both what I've done well and poorly) on how I've tackled the project so far would be greatly appreciated! [link] [comments] |
Posted: 06 Aug 2018 05:03 PM PDT on my Z270 SLI PLUS from MSI, it has a RGB header for a light strip. in the software (Mystic Light) there's a mode for the LEDs to react to music. this is good and all but the LEDs take about 0.25 secs to update, making the reactive LEDs pretty useless. The reason i'm asking about this here is that i was wondering how i would go about making my own software (hopefully not) or making modifications to the existing Mystic Light software to make the updates faster. [link] [comments] |
Learning about password manager implementations. What am I missing? Posted: 06 Aug 2018 04:46 PM PDT For my own amusement, I'm looking into how password managers work. As part of this, I'm creating a toy password manager, and I stumbled onto a design that I haven't see in the wild and I'm wondering why. I assume there's some glaring hole in my design/knowledge that makes such a design unusable, but I can't figure it out. The Encryption ProcessIn my example there is a 2 part encryption system.
POST getSafe:Takes in a json object {username, passwordHash} and returns the safe associated with the username IFF the given hash opens the safe and provides the key POST setSafe:Takes in a json object {username, passwordHash, newHash, safe} where safe is the encrypted safe in some format (base64 in my impl) passwordHash is the password for the safe on the server side, and newHash is an optional property representing the new hash if the user changed the password on their safe. Set fails if: A) the passwordHash doesn't provide the key on the server side safe OR B) the original hash (or the new hash if provided) doesn't reveal the key on the uploaded safe The benefits of this design
Pro/Cons (may be a pro or a con depending)
Drawbacks as far as I can tell
What am I missing? EDIT1: Restructured my design to explain the encryption process properly and added a con of the design. EDIT2: Who the hell uses 8 space tabs? [link] [comments] |
Layman hypothetical question on data for console gaming. Posted: 06 Aug 2018 04:01 PM PDT I do not know how to ask this succiently so I will explain in a large question. Why cannot at least statistical Data be transfetred between the PS4 and Xbone? Anything from SP games saved progress uploaded onto a cloud. All the way to an MP server that saves stats and progress online. I always figured it was just a MS or Sony issue because they hate each other. Some games do have cross play though. How hard of an issue is this for third party games to let happen? Let's take EA for instance - they have infrastructure for all three platforms for the very same game. Couldn't they make money for charging a fee of taking one players account on one system, and letting you transfer data into an other. Basically am I asking how hard is this feat to pull off technically. Wether it could be done - or if it is more of a financial, or just a business issue between multiple parties. (Edit: Don't all modern day consoles follow the PC architecture as well? That's why crossplay is possible with certain games?) PS: I apologize if I have the wrong sub for this type of question. I wasn't sure if it's just to ask how to program or if layman's like myself could ask programmers and computer engineers questions. Every game developer I talked to seems like they want it but can't get by hurdles. [link] [comments] |
Module.exports and require confusion Posted: 06 Aug 2018 03:24 PM PDT Hello guys, I have a google OAuth setup using passport.js. The index.js looks like this The config module looks like this The authRoute.js module looks like this The code works as expected but I am having a hard time understanding why we do not need to require the config module on the authRoute.js module. As per my understanding all module files runs independently and therefore we need to require everything that module needs to run. How does authRoute module figure out the google configuration not required in that module? [link] [comments] |
Posted: 06 Aug 2018 09:27 PM PDT There are two types of people - Comment answers if you can ?? if (Condition) { Staements /* .... */ } And if (Condition) { Statements /* .... */ } [link] [comments] |
Have you found a way to make non-work programming projects fun and relaxing? Posted: 06 Aug 2018 05:13 AM PDT I posted last week about working 80 hours a week on various programming projects. The one thing that was lost is that my programming projects are mostly optional. >9-5 is an EE job, but word got out about my python automation and my boss has put me leisurely on a project >5:30-8:30, my interns come over to work on an unrelated website, and I program my full stack RN JS/Laravel PHP project. Tokens on Javascript is probably what is prompting this thread. >8:30-10:30, very casual arduino programming or embedded systems research. To be clear, these were/are fun for me. But frustrations with bugs quickly have made these hobbies quite frustrating. I've taken a multi day break and I'm a little bit excited to jump back into things, but I'm wondering if anyone has found any mental exercises or has any beneficial habits that can keep the day going. [link] [comments] |
Posted: 06 Aug 2018 10:52 AM PDT Does anyone know how to automatically collect all the Facebook IDs of all the people that message my fanpage? I know that the graph api of the platform can help but my coding skills are limited. Thanks in advance. [link] [comments] |
DLLs missing in release, present in debug Posted: 06 Aug 2018 10:28 AM PDT Hello everyone, I apologize if this question was already asked, but I've searched for "missing dll" and "release", without finding an answer. I'm compiling a program in VS2012 which references quite a few dlls for Crystal Report. When I build in debug, all necessary dll files are present in bin/debug. When I build in release, only a few are present (which causes the program to, not suprisingly, crash). From what I see, some dlls are referenced in the project's property window and some others are referenced in the project's app.config file. Those in the property window are copied, those in app.config aren't. Is there any attribute I could enter in my app.config file to force it to copy its references when building in release? Or do I have to remove the references from app.config and enter them in the project's property? [link] [comments] |
Mobile Phone Character Encoding Posted: 06 Aug 2018 09:16 AM PDT This is a fairly simple question, but I'm having a hard time finding a straightforward answer through search engines. What sort of character encoding do mobile phones use? I received a text that had these characters ’ in place of apostrophes. It got me thinking about character encoding, though I'm not sure that the symbol swapping actually has anything to do with character encoding differences. Bonus question: any idea what could cause those characters to be displayed in place of apostrophes? [link] [comments] |
Posted: 06 Aug 2018 07:38 AM PDT Hi Guys I'm fairly new to programming - what I need to do is webscrape the following url: https://www.europcar.co.uk/locations/uk so I can get a list of all the UK locations with postal address and postal code? Any ideas on the best way to begin? Tried parse hub but got totally lost and after 4 hours of tutorials and reading thought I'd see if anyone had any good recommendations. Ideally need the data in a csv or son file. Thanks Callum :) [link] [comments] |
How would I create an 'Add to list' feature on my website? Posted: 06 Aug 2018 06:07 AM PDT Hey Everyone, I've been creating a recipe website during my summer break and I want to add an 'Add to list' feature. So basically if the user clicks on the basket button under the recipe it will add all of the ingredients to table in the sidebar. I have researched similar features and they all use PHP and SQL, unfortunately I only have minimal experience in PHP and none in SQL. So I'm wondering what the best way to go about creating it is, will I just have to learn PHP and SQL or is there an alternative? Could I use JavaScript and minimal PHP? [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