As a part of my computer science class grade I need to post this problem on stackoverflow and have a discussion about it but it's not getting much steam, pls help? Ask Programming |
- As a part of my computer science class grade I need to post this problem on stackoverflow and have a discussion about it but it's not getting much steam, pls help?
- Started a new contract based game dev job, I now hate my life - what is a good vs bad programming job like?
- newbie here. how do i copy my code so i am able to show it on reddit?
- Relearning C++?
- C# ~ Need help using File.OpenRead to get a path inside a text file. Keep getting "Illegal characters in path" exception.
- Android / Java Question - Cannot Save State of RecyclerView
- C++ fstream question
- [C]Find largest increasing sequence
- Is making a chrome extension that can hold sensitive data a good idea?
- Can someone recommend any easy-to-use online compilers?
- What do we want to use for custom maps for a database?
- Looking for solution for smart search on ~5000 strings
- A latex to text parser in python?
- Error: spawn mpg123 ENOENT in using mpg123 npm package in node.js
- Are Macbooks still the best laptop for webdev?
- What is the hashmap for in post requests? (Java/AndriodStudio/Volley)
- NullReferenceExcpetion at Discord.Net by remove a reaction!
- About to start a C# project with a requirement to use oracle sql developer in the backend. How well do these work together, what should I know?
- Interact programmatically with sound mixer in windows for usb audio controller
- Most appropriate file extension for disassembled HLSL shaders?
- FingerprintScanner on thinkpad help
Posted: 27 Oct 2018 02:36 PM PDT |
Posted: 27 Oct 2018 09:19 PM PDT I have several years experience as an indie game dev, however, I recently started working for another company based on a less than stellar contract and my gut told me wasn't worth it - I'm starting to feel like I should have listened to my gut and passed on this place. In summary, this new job has completely sucked out my passion for programming. The manager yells at people, there are constant arguments, the attitude of some of the other programmers there is very condescending and unapproachable, the pay isn't very good, and many other problems. I guess my questions is what is the process generally like when starting to work in a small to medium size team? What should one expect from a good versus bad workplace? Is it normal to just be thrown in without any onboarding process? When I started a month ago, this place I'm at now asked me to sit down and review code and then started giving me deadlines and projects the same day and almost every week the directions change with putting projects on hold, starting new projects, changing timelines, and just a fucking mess. In that time I've cycled through dozens of projects on the most shit of computer hardware that can barely run google chrome, let alone cycle through several unity projects at a time. No one explained their company workflow or processes, no one spent even half a day providing a basic overview of how their services interact, etc - it was literally just "sit down and figure it out yourself" because their other programmer couldn't be bothered to explain. IMO this was really shitty because while yes I can figure out how things work over time, going through hundreds of class files and tens if not hundreds of thousands of lines of code is not a productive use of my time with deadlines in the air mere days later. The place is very uncomfortable to work at, their manager yells a lot, people are constantly interrupting and there is no ability to focus on tasks at hand. When you look into the eyes of many people there, it is like their souls have been sucked out of them and crushed. I'm applying to other places but if this is what it's like in Canada as a game dev, I feel like I would rather find another career and just be a hobby indie dev. [link] [comments] |
newbie here. how do i copy my code so i am able to show it on reddit? Posted: 27 Oct 2018 08:29 PM PDT |
Posted: 27 Oct 2018 06:04 PM PDT Hi, I'm about to graduate college with an applied math degree and was wondering if there's any resources for relearning c++? I used this book https://www.amazon.com/Programming-Principles-Practice-Using-2nd/dp/0321992784 when I was doing research in physics since I needed to know it. Now I'm applying to data science and coding jobs and need to refresh up on c++, but I don't need to start from the beginning which a lot of resources do. If there really isn't anything I'll just go back through that book i guess. [link] [comments] |
Posted: 27 Oct 2018 09:48 AM PDT So I've been messing around learning how to use C# and Windows Form in Visual Studio and I decided to let the user save their values in the program to a file. Everything works, the values save to what I called a .tss file and the information is saved properly. It even loads properly when I allow them to load the file when the program in running by using an OpenFileDialog to get the file's path and using it's Stream values in my loading function. However I want the program to load the values in automatically if the user specifies to. Kind of acting like the OpenFileDialog function but automatically getting a path from a specified text file. So what I did was let the user save the file path of their .tss file to a text file document called "default.txt", so that when the program opens it loads the "default.txt" file and gets the .tss file from the path the user specified. But, whenever the program starts and it reads the text document I get an "Illegal characters in path" exception. I'm not sure what characters are not allowed to be used and I tried copying the file path from the created text file directly into my C# code and it worked from there, but whenever it tries to read it from the text file I get the exception. Here is my code on loading in the "default.txt" file on program startup: I'm not sure whats causing the issue, at first I thought it was an issue with the backslashes, but even when I told the program to convert all single backslashes to double backslashes I still got the exception, so I was at a loss what to do. Last Notes: The last bit with the "loadTSSFile(stream)" works independently from the start function, I also use it when the user opens a .tss file from within the program using an OpenFileDialog button so I know the function itself works as intended. I know I might be using more code than intended, but I'm trying to reduce any room for program errors or crashes so I always make the program double check for files and if they don't exist create them. [link] [comments] |
Android / Java Question - Cannot Save State of RecyclerView Posted: 27 Oct 2018 06:56 PM PDT Please see SO post below, I cannot figure out how to save my RecyclerView position/state: [link] [comments] |
Posted: 27 Oct 2018 01:52 PM PDT So I have an assignment where I created a temp converter from c->f or f->c. Then a few other add-ons to it from labs. Now I have to create an fstream file with 3 temperatures in Fahrenheit as the input file, and the output file should give me the converted temps in Celsius. I'm about 4 weeks new in C++, so I'm having trouble figuring this out Is this a fstream with arrays? I'm not sure what to google to find better research on how to figure my problem out. What should I be looking at (google search wise, youtube video wise) that would show examples of how this is done? Thanks for any help! [link] [comments] |
[C]Find largest increasing sequence Posted: 27 Oct 2018 05:23 PM PDT So this is a homework problem for my programming class. I have to find the length and index of the largest sequence of increasing numbers in an array. I'm not done yet but I've come across a problem I can't understand. e.g. 1 2 3 4 should output length=4, index=[0,3] 1 1 3 5 7 should output length=4, index=[1,4] 1 2 3 2 5 7 8 should output length=4, index=[3,6] It works fine for 1 sequence, but it will not print the largest sequence as I've intended e.g. 1 1 2 3: length=3, index=[1,3] but for two sequences, it only returns the first 1 2 3 1 2 3 4: length=3, index=[0,2] it should be: length=4, index=[3,6] but for THREE sequences, it goes crazy 1 2 1 2 3 1 2: length=3, index=[4,6] it should be: length=3, index=[2,4] 1 2 3 1 2 3 4 1 2: length=4, index=[6,9] it should be: length=4, index=[3,6] here is my code: https://pastebin.com/YfqKDiCf I'm really at a loss. Nothing I try works. Any help would be appreciated! [link] [comments] |
Is making a chrome extension that can hold sensitive data a good idea? Posted: 27 Oct 2018 09:31 AM PDT I'm just not sure on how secured a chrome extension can be. Is it possible for attackers to get their hand on the stored API key or stored passphrase on my chrome extension? If it is, is it possible to prevent it? [link] [comments] |
Can someone recommend any easy-to-use online compilers? Posted: 27 Oct 2018 03:26 PM PDT I have been using repl.it for the past year, now. But now it no longer wants to work. It normally does not compile, and when it does it just prints the code itself and not the output. So while it's unfortunate, I have to ditch it. I really want something similar to repl.it. Does anybody have a suggestion? [link] [comments] |
What do we want to use for custom maps for a database? Posted: 27 Oct 2018 02:49 PM PDT Nonprofit with some bigger things on the horizon... we have been making do with importing raw data into a Knack directory which worked for several years. I'm very frustrated with Knack's mapping limitations and need something that can display the data in a more customizable manner - color coded pins, specific fields popping up when you click on a given pin, the ability to see ALL members in our database at once (currently 5000+, would be double that if we were more user friendly) on a top level map and narrow it down either with filters or a keyword search vs Knack which limits us to making those searches separate. Want people to be able to search for members within a given distance from a selected city/address/zipcode, and see which services those member have registered to provide. I know enough IT to get myself into trouble, and I have the time to dive into learning how to manage these things, and if the programming is not unduly difficult I don't mind learning how to do it. Is there some better platform that would work for us to be able to build this map search feature, then embed it onto our website? Additionally we are going to want to have a mobile app for this as soon as it's possible to build. Again something I don't mind learning, but I'm not sure where to begin. If it's more cost effective to just hire someone to put together all of this (I only have so much time), I would love an idea of where to go to advertise for such a job, what kind of rate should be offered? Any idea on the kind of time involved, total cost we might expect? [link] [comments] |
Looking for solution for smart search on ~5000 strings Posted: 27 Oct 2018 02:24 PM PDT Strings can look something like "Avoiding A with B" or "Using A to beat C". I'd like to be able to search for A and have those come up. Also, A might look like "X and Y" and I'd like to be able to search "X Y". I'd like to be able to search "A B" and have "Avoiding A with B" come up. I don't think elasticsearch is what I'm looking for. I guess I'm looking for something that is able to recognize that "and" is just a filler. I also looked at Algolia but I don't really think I should have to pay, since my back up is just trying to use Google or Ctrl-F. I'm not above just making a publicly available website, having Google index it, and then searching it with Google like "site:mysite.com X Y". That's pretty much how I search reddit anyway. It's much easier to let Google have a good search engine than write your own. [link] [comments] |
A latex to text parser in python? Posted: 27 Oct 2018 04:09 AM PDT I am looking for a latex to text parser which could convert simple equations or text in latex to normal text. Does anyone know of any implementations/ repository? EDIT : Its basic function would be to convert a simple equation like $\frac {1}{x}-\frac{1}{x+2}$ to [link] [comments] |
Error: spawn mpg123 ENOENT in using mpg123 npm package in node.js Posted: 27 Oct 2018 12:12 PM PDT ` events.js:167 throw er; // Unhandled 'error' event ^ Error: spawn mpg123 ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:229:19) at onErrorNT (internal/child_process.js:406:16) at process._tickCallback (internal/process/next_tick.js:63:19) at Function.Module.runMain (internal/modules/cjs/loader.js:745:11) at startup (internal/bootstrap/node.js:236:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:560:3) Emitted 'error' event at: at Process.ChildProcess._handle.onexit (internal/child_process.js:235:12) at onErrorNT (internal/child_process.js:406:16) [... lines matching original stack trace ...] at bootstrapNodeJSCore (internal/bootstrap/node.js:560:3) ` [link] [comments] |
Are Macbooks still the best laptop for webdev? Posted: 27 Oct 2018 11:28 AM PDT |
What is the hashmap for in post requests? (Java/AndriodStudio/Volley) Posted: 27 Oct 2018 10:40 AM PDT Hey y'all, I've been learning Volley and AndroidStudio this semester in classes and one big question I have is what is the hashmap for in POST requests? Every single tutorial I've seen includes it but I can comment it out and still have success in posting the necessary information to my server in every case so I'm kind of confused as to what it is necessary for. Been learning Volley and implementing these things using Java if that is relevant. Thanks! [link] [comments] |
NullReferenceExcpetion at Discord.Net by remove a reaction! Posted: 27 Oct 2018 05:03 AM PDT Hello i need help with Discord.Net API!I try to delete a reaction from a user, but i didn't work!So this is my code!
And there is a NullReferenceException at [link] [comments] |
Posted: 27 Oct 2018 01:07 AM PDT I've never worked on a project running against an active server like oracle before; mostly worked on headless databases such as Access and Sqlite. I'm guessing this is more of the same thing? Except that I would need to take into consideration the credentials and stuff. I suppose connecting to the environment involves simply latching new code to the oracle-specific driver? How well does oracle work with the C# environment? I would assume that it is built with java in mind, but I dont think that it would be that restrictive. Lastly, is there anything else I need to consider when taking up this project? Like some framework/library I can take advantage of? The project itself will probably involve basic crud/manipulation/management stuff like a library system/Inventory (This is a learning side-project) [link] [comments] |
Interact programmatically with sound mixer in windows for usb audio controller Posted: 27 Oct 2018 04:46 AM PDT Hi, I just sketched the core concept of a usb sound controller for windows. I know there are easy ways to do the basic thing (a fancy knob for master volume and mute), but I want some extra features:
The hardware side is really easy, a microcontroller talking over usb to a little guy listening for him on the background. The software side is a little hard though: with nircmd I've got an easy way of setting master volume, and app volume knowing the process id, but I'm stuck thinking in a way to get some system info I need such as:
I just can't figure out who nor how I have to ask for this info. I got as far as sndvol.exe but can't find any way to request the info I need. If the level of the operations I want to do is beyond sending simple commands through the shell like I pretend, I don't mind jumping to the mud and start learning about lower level stuff (drivers?), since the purpouse of the hole thing is learning. Any tip or discussion about the methods and problems i got is welcomed, thanks! [link] [comments] |
Most appropriate file extension for disassembled HLSL shaders? Posted: 27 Oct 2018 04:40 AM PDT I'm disassembling shader bytecode and saving the raw assembly to files. What extension should I use? Thanks [link] [comments] |
FingerprintScanner on thinkpad help Posted: 27 Oct 2018 12:32 AM PDT Hello Everyone, Trying to build a database with fingerprint scanner for a student organization. Does anyone know if possible to test fingerprint scans with the Thinkpad built into keyboard scanner? I know theres arduino fingerprint scanners but i prefer to use the one built into my laptop to test out workings. Thanks for taking time to read [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