(Personal) I can't stop trying to figure out a better solution and I need to get back on track ASAP Ask Programming |
- (Personal) I can't stop trying to figure out a better solution and I need to get back on track ASAP
- Whats a good program to visually layout how your program works?
- [C++] Current approach to shared libraries?
- Averaging Doubles
- [PYTHON] Functions in Python
- For the people who've worked as a programmer in Japan: Were you able to program (in the IDE) the same way you would in an English-speaking country?
- i would like to write a script that will simulate dragging the side of an application's window, but where should i start?
- What do you guys think of golang-esque error handling?
- Keeping up with programming news, libraries, and tools
- Any tool to create Polaroid image chart ?
- How do I get my arduino pro-mini to work with the hc-06 bluetooth module
- Processes sharing sockets
- Angular ng bootstrap modal
- PHP - Advanced Custom Fields & Calendar
- Postgres Connection issue
- Socket Connection to a server (SSL)
- [C++] Detecting mouse hover over the circle [openFrameworks]
- Xojo VB Combobox missing out last string
- Why do you think developers prefer to write their own code when building parts of app that are very common (such as a user db)?
- Looking to get OS X Pop Up based on status of a field in a web page.
- Tabbers, do you believe Spacers hit the space key repeatedly?
- Are there any good resources to learn the USE of certain Java Features.
- How to design a smart updater for an application?
- Need help making random number grid.
(Personal) I can't stop trying to figure out a better solution and I need to get back on track ASAP Posted: 11 Jul 2018 07:28 PM PDT I'm really kind of screwing up a new gig ... I seemingly can't stop endeavoring to make every implementation as clean and as awesome as possible while my new boss would love nothing more than at least a build they can play with.... it's embarrassing and I literally feel like I can't stop doing what I'm doing. It's like I keep trying to make these tiny things better and better and better and better ... I've been writing code professionally for 4 years and never quite had gone through anything like this. In one way I think maybe I'm a little over writing standard stack crap and maybe I got sold on the company's mission more than the role, I'm not sure if I'm trying to find solace in the code but if so it's not going to work out well - there's no way they should keep me on with my lack of deliverables thus far, I wish I could find some focus. Has anyone ever gone through anything like this? Do you have any advice? [link] [comments] |
Whats a good program to visually layout how your program works? Posted: 11 Jul 2018 08:09 PM PDT I am trying to visualize a few things about a project I am doing before starting the project so I know where to start from. I guess I am somewhat looking for flowcharts I think it is. Basically, anyway I can create a conceptual programming system and layout of how the program is going to work. Thank you! [link] [comments] |
[C++] Current approach to shared libraries? Posted: 11 Jul 2018 09:05 PM PDT In most large projects that I've seen or worked on, its common to split pieces of the application into separate modules, typically meaning shared libraries. I've been trying to up my C++ chops over the past few months by working on a personal project and one issue I've come across is that due to ABI and memory implementations, its a bad idea to expose std library types through a shared library's API. I know that it was quite common in the past to create custom utility types for large enterprise C++ projects (such as string, ref counter ptrs, collections, etc.), so is that still a common approach for getting around shared library pitfalls? It seems crazy to me to reimplement all these std library types (especially with C++ 11 adding smart pointers, variant, any, etc.). So my question is, what are typical enterprise applications doing now to get around this? Is it still common to create custom types for large projects? Or do projects try to stick to static libraries instead to avoid the issue? [link] [comments] |
Posted: 11 Jul 2018 07:04 PM PDT Context below, but my question is pretty simple: what's the best way to go about averaging a whole lot of doubles without doing too many floating point operations, and without losing too many significant digits. I'm improving some C# code for my job. I have a crap-ton of structs, each containing several short arrays (of uniform length) of doubles. I need to condense them down into a single struct of the same type by averaging each index in each array across the whole list of structs. The code currently uses a built in C# average across each array and index. Instead, for each array I would like to average all indices in parallel, to make better use of the cache. So pretty much I just need to write a function that takes a list of arrays of values, and averages each index across all the whole list. I don't see any way to do this with the C# API so I'm just doing the averages by hand I guess. [link] [comments] |
Posted: 11 Jul 2018 09:44 AM PDT Hey guys, I was trying to create a student program that gives the user the option to add students to a list or view the existing list using functions in Python 3. The problem is that when I try to add students and then view the existing list - the list is empty. I can't seem to find the problem in my code. Can someone help me? My code: https://paste.ofcode.org/yPwmcHsduGgFLbSppHq4h6 Thank you! [link] [comments] |
Posted: 11 Jul 2018 05:06 AM PDT To expand upon this, I would like to eventually work as a programmer in Japan, as I have my roots there. I can speak the language pretty well, so, under normal circumstances, I'd be able to work there thanks to that. But, I'm not so sure as to how that'd go in programming. I've heard that the only difference is that they comment in Japanese, but I just want to make sure. Thanks! [link] [comments] |
Posted: 11 Jul 2018 05:28 PM PDT end game: -simulate split screen by orienting size of window -simulate screen preference -program up to 4 i plan on doing most of the logic for the code, but i cant imagine what libraries, functions, or whatever else should be used. google just couldn't understand It's also possible that i just don't know that the mac already does something like this. i'm new to the mac. I just want to take workflow automation into my own hands and i'm getting a bit ahead of myself [link] [comments] |
What do you guys think of golang-esque error handling? Posted: 11 Jul 2018 03:13 PM PDT I have started to use golang-ish error handling in my other languages, the first big test being javascript. async/await is a nice improvement for handling some promisified things, but then you can handle your try/catch and return a single value to your variable, so error handling is a little awkward since you don't have those separate closures now. So, I had this idea, and am wondering what you all think (if there is a better sub for this, let me know). Is there a name for this pattern? I'm using it in a fairly large project now and it's been great for organization. But I'm wondering if there are obvious pitfalls I don't see, please let me know! The only downside I see from a java perspective is that errors are handled manually instead of letting a throw propagate all the way up to some top level function, but as golang slowly infests my soul, I am ok with that. [link] [comments] |
Keeping up with programming news, libraries, and tools Posted: 11 Jul 2018 02:07 PM PDT What sites do people use to keep track of what's new? Right now I mostly check github.com/trending once a week or so, and hackernews on and off, but wondering if anyone has any other sites to keep up with what's new. Main downside is with github trending is you obviously only see github repos so you miss stuff hosted elsewhere. Hackernews tends to not have a whole lot of news about libraries for languages that are less popular (ruby for instance) and is mixed in with general articles (same with reddit) So hopefully I have just fallen behind in the times and there are a pile of great sites folks here can tell me about :) [link] [comments] |
Any tool to create Polaroid image chart ? Posted: 11 Jul 2018 12:26 PM PDT Hello, I am looking for a tool or service that takes in pictures and creates automatic Polaroid versions of them and creates links between them. Like the suspect board in crime movies have a board with some mugshots which are linked to each other by lines, something like that. [link] [comments] |
How do I get my arduino pro-mini to work with the hc-06 bluetooth module Posted: 11 Jul 2018 12:10 PM PDT Hey guys. So im tryna flash an LED from a arduino pro mini with an hc-06 and I can quite get it to work. I started off with a program thats supposed to just return what I type into the serial window so I know its working. At first I every time i typed a number 1-9 it gave me a weird box after the number. Then after some fuckery and turning the computer on and off, it gave me numbers 1-9 but after that it converted the 0 in 10 to a question mark. now it will show that its connected and paired to my computer but it will say that the port is busy when I try to open the serial window. heres my arduino code(pretty much copypasted from here): here are some pictures of my setup: https://imgur.com/a/L0jd7jl any help/advice? Thanks y'all [link] [comments] |
Posted: 11 Jul 2018 11:47 AM PDT So when a process forks and the child processes all inherit the socket handles (for TCP, etc) how is the recieved data distributed amongst the processes? Is it some system or just whichever process "gets there first"? [link] [comments] |
Posted: 11 Jul 2018 10:01 AM PDT how can i re-format modal? im trying to make a full screen pop up, and i dont want shadows, but the css sheet from ng bootstrap overides everything no matter what i do. any idea? [link] [comments] |
PHP - Advanced Custom Fields & Calendar Posted: 11 Jul 2018 09:19 AM PDT Site I am working on uses ACF and they want to run WP FullCalendar. Events are being put on the calendar for when they were posted. There seems to be one solution out there, here, but I can't seem to get that to work. I assume it's the $acf_date = get_field('yourdate'); line. Right now I have $acf_date = get_field('F j, Y'); but I have a feeling I am wrong and I am not sure how to find the correct format, because all the events disappear when I put that in. [link] [comments] |
Posted: 11 Jul 2018 08:50 AM PDT We're using postgres as our database and we have one application server with one connection to the database. If it helps, the application was written in Go. It seems about two weeks of the application running, we get this error: Restarting the application server fixes it. shared_buffers is at 128MB but we only have ~15 users in the system and they use it infrequently. max_connections is at the default of 100 so I know there are more connections available. pg_stat_activitiy shows at most 3 connections to the database (not sure why there are 3, there should be 1). We're going to try increasing the memory to 512MB and see if that helps. I don't think that it would but someone on stack overflow suggested it and we have the available memory. This application is a live demo, but it is functional and being used. I need to know the cause of this issue before it goes 100% live. Any ideas on how to fix it? [link] [comments] |
Socket Connection to a server (SSL) Posted: 11 Jul 2018 08:25 AM PDT How can i establish a socket connection to a server (SSL) ? Also with automatic reconnecting if connection? Working with XML so Functionality for both sending and receiving XML messages over the socket Thanks in advance. [link] [comments] |
[C++] Detecting mouse hover over the circle [openFrameworks] Posted: 11 Jul 2018 07:49 AM PDT I need to detect is my mouse pointer above the circle that I drew. My code: https://github.com/Regeneric/sraca Images: https://imgur.com/a/6bycJGz [link] [comments] |
Xojo VB Combobox missing out last string Posted: 11 Jul 2018 07:13 AM PDT Hello, the issue I am having is that I input three json objects using a php script, to which i convert into strings and output into a textarea in vb fine. But it adds all the strings outputted into textarea aside from last one. I am very confused by this and request advice. My code: In my textarea, I am having the strings of: general, random, slacktest I am wanting those same strings in the combobox as well If you require more code to understand it, please do ask. [link] [comments] |
Posted: 11 Jul 2018 07:07 AM PDT I understand that it gives a sense of ownership and that it is useful for learning, but when you want to build something quickly, why do everything from scratch? Wouldn't it make life easier if you could just choose from a few standardized examples that you could just drop into your app? I know there are lots of example apps on github, and I usually find those useful, but they're always so specific and are sometimes inefficient/or have bad style. [link] [comments] |
Looking to get OS X Pop Up based on status of a field in a web page. Posted: 11 Jul 2018 06:37 AM PDT At work, we have a web page that displays live feedback of certain tasks. I am looking to have a couple of fields monitored in some way and when they change to a specific result notify me with a pop up. Is there something that already does this or what would I look for to create this? [link] [comments] |
Tabbers, do you believe Spacers hit the space key repeatedly? Posted: 11 Jul 2018 03:20 PM PDT |
Are there any good resources to learn the USE of certain Java Features. Posted: 11 Jul 2018 05:32 AM PDT Hi Folks, I know this question seems quite ambiguous, to explain further I am required to coach University graduates with some of the features from Java 8. Specifically Streams, Optionals and Lambdas. So they are new to me, and even though I have begun to understand the practical application of them and I have no industry experience of using them. Without this context, showing a stream in action, as fun as it is, is a relatively redundant exercise. When I search for why we use Streams, I am met with a lot of tutorials showing me how to use them or what they can do in very niche scenarios, but no real WHY we should be using them. Thanks for your patience. [link] [comments] |
How to design a smart updater for an application? Posted: 11 Jul 2018 04:03 AM PDT I have a custom launcher to play two of my games and want to include a "smart" update process with incremental updates in order to prevent downloading the newest version in its entirety. With regards to this I am aware that I will have to work with checksums to figure out which files to actually update. However I have a few questions regarding this:
[link] [comments] |
Need help making random number grid. Posted: 11 Jul 2018 01:48 AM PDT Not sure if this is the best place to ask, if not direction to a better place would be appreciated. I need to make a grid that will fill with random numbers from 1-2,000 give or take. We don't have the total yet but is there anyway I could go about achieving this? [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