Email notifications to website users - I have some that should go out "immediately" upon user interaction, but others will be sent based on server time stamp. Best practices? Ask Programming |
- Email notifications to website users - I have some that should go out "immediately" upon user interaction, but others will be sent based on server time stamp. Best practices?
- Ideas for how to implement an event ticketing system?
- (Java) what is a "class method"
- Why do O'Reilly published books have such unrelated to programming covers?
- Novice programmer working almost exclusively in Microsoft Access and VBA. Looking for career advice!
- Do I need a laptop as a Software Developer?
- How to go about creating a form that auto populates a Word template?
- Can you organize documents in a Mongo Collection?
- Im gonna start teaching myself programming. What language should I use?
- I have never done any programming before. What is C# and is it helpful or interesting to learn?
- What language would be best to create a web-based personality test with multiple results (kind of like the Keirsey Temperament Sorter)?
- Making a game for my portfolio?
- How do set line spacing in C#
- Can you please clarify why I should use OOP?
- What makes a REST API robust?
- Is there a webcam application for PC that has facial recognition and lenses as good as Snapchat?
- Adding a email signup newsletter to a website
- I am ready to die (makefile in bash)
- Help - Server Error in '/' Application
- [Java] Need help with if statement
- [Beginner help] C++ problem involving replacing a string
- Help with public safety program
- How does an MVC application looks like
- How to Trigger FCM events on new gmail mails.
- Trying to figure out how to manipulate RJ45 cable to get vacuum reading
Posted: 19 Feb 2018 07:17 PM PST Hey guys, I'm writing an auction script to sell my art. It is about 90% done, the last thing I have to deal with is email notifications which happen in response to certain events (User places a bid) but also happen based on timing (Users are notified when an auction starts). The timing based events will of course require a recurring chron job that checks server time, then checks to see who should be notified, and sends out emails. The "immediate" emails like upon signup or placing a bid I would normally just do in real time, but because I already have to write this chron-based script I'm wondering if it would make sense to create a "Message Queue" database that is processed every time the chron job runs .... and add ALL messages to that queue to be dealt with by the chron. I guess I'm just looking for some general feedback on the overall "theory" or "approach" to this. If it makes any difference, this site is written in PHP, mySQLi, javascript, KnockoutJS ... Thanks for any insights or ideas. [link] [comments] |
Ideas for how to implement an event ticketing system? Posted: 19 Feb 2018 09:51 PM PST I'm a dev for a small company and we might be taking on a partnership to develop a ticketing/e-commerce type site for music venues. I was tasked with trying to find resources on how stuff like that works in the real world right now, but I'm sort of coming up blank. Our initial idea was to have the organizer create an event. Then a user can purchase a ticket to that event, and they are emailed a printable form with a QR code that links back to our server API with a unique token. When they get to the event, the attendants would have some kind of scanner to read the QR code, which processes the link to our API and verifies the token, then accepts/rejects the ticket. But there are multiple questions here. I know that there are handheld QR readers and the like, but I had a hard time finding out how they actually WORK. I mean, in my mind, this process will require the QR reader to connect to the internet to send the verification request to our server. I'm guessing the QR readers don't have built-in wifi/4g or whatever, so I'm mostly curious how this process would work in a real world scenario. What if the wifi is down or the mobile network is having congestion problems, etc? I found this system which seems to be fairly similar in scope to what we would have in mind (granted I haven't tested it or anything, so I'm not even sure if it works): https://github.com/Attendize/Attendize The downside is that it's in php, and I have literally 0 knowledge of php to be able to edit it to our own needs. The vast majority of my experience is with a MEAN stack, with some personal experience in C#, Java, and Python. Anyone know of other similar systems or libraries built for those languages? Or just where I can find more information about this type of system in general? Thanks for any help! [link] [comments] |
(Java) what is a "class method" Posted: 19 Feb 2018 11:02 AM PST is it static or non-static? does it have parameters? Thanks! [link] [comments] |
Why do O'Reilly published books have such unrelated to programming covers? Posted: 19 Feb 2018 01:02 PM PST |
Novice programmer working almost exclusively in Microsoft Access and VBA. Looking for career advice! Posted: 19 Feb 2018 02:21 PM PST Hi /r/AskProgramming! Looking for some advice for my career. Background: I am 26 years old and I have worked as a contractor on a government base for the past four years. Their first project had me work on an Access database without any prior experience with Access or programming. That lasted maybe a month before they placed me in an Operations role. The government loves using spreadsheets and my job was no exception, but I thought to myself that an Access database (similar to what I worked on during my first month) would work far better for what I am trying to accomplish. Little by little I worked on an Access database which my bosses loved so much they now have me working on Access databases full time. I love my job, but from a personal growth perspective I am concerned I am spending all my time strengthening an outdated skill set. I never wrote a single line of code before taking this job and now most of my day is spent writing VBA and setting up data structures using SharePoint Lists as a back end. I work in a closed government environment and for the most part I am limited only to what is available to me. I cannot use MsSQL Server, so I use SharePoint and Access instead since everyone already has this software on their computers. I am all self taught from searching google whenever I needed to learn how to do something new (I know those looking to hire programmers very much look down upon this). I also have no other programmers within my work environment. Lots of Excel gurus, but hardly any Access or programming specialists. This means nobody is checking my work beyond "does it work?" Nobody ever checks my code. I am pretty sure this is every programmer's dream job, but I am wondering how sustainable it is. I came across this thread and the top comment hit a little too close to home. I know I have a knack for programming and it is something I want to do for a living. I also am very aware of how much I don't know and that finding a job with my background outside of my unique situation in this closed government environment would be pretty difficult. What is a good direction to go in to make sure I am have employment security with a relevant skill set? I am thinking javascript, but am unsure. I do not plan on leaving my current job any time soon. It is a great company and is likely my career. But I also want to have confidence in my value as a programmer. Any advice is greatly appreciated!! [link] [comments] |
Do I need a laptop as a Software Developer? Posted: 19 Feb 2018 10:30 AM PST So I just graduated in December and accepted a job as a software developer, due to start in a couple weeks. I've had my MacBook Pro since I finished high school in 2011 and I don't see it lasting much longer. For people who have been working in this industry for a while, is there even a need for me to get a new laptop? I obviously used it every day during college, but between my desktop PC and going to work every day, I don't think I'll need a portable laptop. Just wanted some second opinions. [link] [comments] |
How to go about creating a form that auto populates a Word template? Posted: 19 Feb 2018 04:14 PM PST The template contains about 50 pages and about 20 variables. Majority of the form will be performing a Find & Replace function essentially. The tricky bit is that some of the variables have sub variables which will require the form to remove or include sections depending on their input. Any help would be most appreciated [link] [comments] |
Can you organize documents in a Mongo Collection? Posted: 19 Feb 2018 01:42 PM PST I am a bit confused by how flexible mongo documents are and I am worried that it might be bad for performance. For example I have a collection of documents where each document has an id field that is never changed after its creation. It exists solely so that that document can be updated whenever a new document is passed in with a matching id. I am worried that this behavior is not optimized in mongo because there is no contract that every document I insert has an "id" in its JSON so I wouldn't think that mongo could optimize the finding of a matching document with id in it without trouble. Is this accurate? What am I misunderstanding? [link] [comments] |
Im gonna start teaching myself programming. What language should I use? Posted: 19 Feb 2018 06:11 PM PST I have a bit of experience with programming (Python with a Raspberry Pi and whatnot) but I want to learn a language I will have some practical use for. I'd love some suggestions, if you have any. [link] [comments] |
I have never done any programming before. What is C# and is it helpful or interesting to learn? Posted: 19 Feb 2018 05:20 PM PST There's a camp that teaches you game design with unity in C# is programming with this interesting for the average person? What are the possibilities? [link] [comments] |
Posted: 19 Feb 2018 05:16 PM PST I am a novice programmer and am trying to create a personality test like the title says. First of all, if anyone replies, thank you. I have done a lot of research and this information is hard to find! Would this sort of thing be possible in HTML? I'm leaning towards js, personally. [link] [comments] |
Making a game for my portfolio? Posted: 19 Feb 2018 05:05 PM PST Hi, so I'm about to finish my AS in computer science and I'm applying for an online bachelor's afterwards. I'm trying to do a side project for my portfolio. I like video games so I figured I'd make a 2D platformer game. I want to get into software engineering. I'm not necessarily trying to become a game developer, but I figure making a game would be fun. It would be cool to finish the game one day and release it, but I'm mainly trying to expand my portfolio. For the past couple of months I've been using game maker language for game maker studio. My concern with this is game maker language only applies to game maker studio. Should I continue expanding on my current game in game maker studio or ditch what I have and use a more universal language? I've read that unity uses C# and javaScript, should I use unity instead? Or does it not really matter? My main goal is to expand my portfolio so I can get a job at some point. The main reason I started with game maker studio is because it was super cheap and pretty easy to use. I was able to pick up the desktop developers version for like 80 dollars, and at this point I have enough experience with it that I don't need to look at tutorials for 95% of what I want to get done. Also, from what I've researched, most game engines are pretty expensive. I have 1.5 years experience with C++, and I'm currently in data structures with Java. I've also made a couple of projects in sfml for my classes. [link] [comments] |
Posted: 19 Feb 2018 12:13 PM PST I'm very new to programming so i know this is probably super basic, but i cant figure out how to get the products to line up under the columns i have set. How do i go about doing this? [link] [comments] |
Can you please clarify why I should use OOP? Posted: 19 Feb 2018 11:44 AM PST My professor taught things in either an overly complicated way, or a way that didn't make sense at all. For example, a near-verbatim sentence of his was:
W-what? Even if by any chance he was talking about parsing, why would you take extra steps when you just just prompt yourself and give ample whitespace? Another strange comment:
He talks this way about functions/methods. I seriously haven't seen someone speak in a more ambiguous way. Apparently referencing code lines would make too much sense. I feel like I learned functions in the most inconvenient way. He never explained what "passed in" meant, nor "return". I know what these words mean, but it would have been entirely easier for a newbie to say that a function in programming is essentially the same as in mathematics; a return statement is equivalent to the output. Also: I never cared about encapsulation; his explanation was very poor. I need a compelling argument to care about something.
What? He might as well have "programming let's you do stuff"; my point is he didn't provide any fundamentals to well, any theory or reasons to do anything. He didn't provide the theoretical nature of information hiding/abstraction. Can I ask someone to give me good reasons to care about OOP? I really want to, but with my memories of that professor, I only use objects to call functions/methods, and I never understood why he sets local variables to instance variables if they are only referenced in methods/functions; that seemed like the biggest waste of time. [link] [comments] |
Posted: 19 Feb 2018 10:36 AM PST |
Is there a webcam application for PC that has facial recognition and lenses as good as Snapchat? Posted: 19 Feb 2018 09:47 AM PST Basically I want to own an exact lens that is featured on Snapchat from time to time and I want to be able to use it on my PCs webcam instead of my phone. I really have no idea where to ask this question either, so sorry if this is the wrong place! [link] [comments] |
Adding a email signup newsletter to a website Posted: 19 Feb 2018 09:39 AM PST Title says it all, im trying to add a section for users to sign up for a newsletter on my website, i would prefer to have it in php or javascript any advice helps thanks. [link] [comments] |
I am ready to die (makefile in bash) Posted: 19 Feb 2018 01:19 AM PST I give up, forget figuring this out I just want to sleep. My professor decided that the best way to teach and electrical engineering 102 class (I'm a CS major taking it because it's cross listed, so probably better off than most other students, but by God am I lost) how to program was to throw everyone off he deep end. We're using SSH to connect to the school's linux servers where he wants us to write everything in vi. By program 3, we are supposed to be using a makefile for our code. It's like 20 lines with basic control statements in one file. WHY. But that's fine, I can jump through hoops. Except for one problem, the powerpoint is as follows: *Are you bored of typing: gcc –o filename.exe –Wall –g filename.c (note: I really am not) *Makefile is a build script that you can copy and edit a picture of a makefile which I copied, modifying src file name and all that, tabs not spaces NEXT SLIDE *PROGRAM6 (note: this is only program 3 --) - Type "make" *Can be done inside vim!!! *Errors... WHAT DOES IT MEAN. "Errors..." GEE GOLLY THAT REALLY HELPS ME. I have a French test in 4 hours that I at some point will need to study for. I want to sleep. Please save me, reddit, how do I make this makefile work? It keeps saying "make: Nothing to be done for 'makefile'." [link] [comments] |
Help - Server Error in '/' Application Posted: 19 Feb 2018 12:23 PM PST I do IT work for a client that uses a really old custom program. They have to keep this program running for several years, but last week they started getting an error when trying to search the db. The error (Server Error '/' Appplication) had "The 'vfpoledb' provider is not registered on the local machine" in the Stack Trace. I tried registering that dll, but no luck. I then reinstalled Virtual FoxPro, and now that error is gone, but we get an error that says "Error accessing xxxx database." This new error looks like it is a part of the written code. I am willing to pay for help. I have no background in coding. Even if no one here can help, can you at least point me in the right direction to find someone? Thank you in advance! [link] [comments] |
[Java] Need help with if statement Posted: 19 Feb 2018 12:15 PM PST Picture of code: picture I have defined the variable "key" at line 63 and then try to assign it a value in the if statement at line 71. However, at line 81 it says that the variable was never initialized. I have to use an if statement because I'm reading through lines of a file and need to extract info once a certain keyword is found. If it is found I need to extract that particular keyword, and then the info that follows up to a certain point. Why can't I use the value assigned inside of the if statement, and how can I fix it? [link] [comments] |
[Beginner help] C++ problem involving replacing a string Posted: 19 Feb 2018 12:07 PM PST https://i.imgur.com/bJCpyaJ.png My code so far: My problem is that the output only replaces the first substrings, but doesn't do the rest. [link] [comments] |
Help with public safety program Posted: 19 Feb 2018 11:57 AM PST I've got quite a bit of experience with computers and I'm better that your average end user but I've never done any development. I work for a fore department. I'm looking at taking a raspberry pi and using it to send out emails with our calls. The way out current system works, when a tone drops (at a specific sound frequency, for simplicity let's say 120 hz) The computer begins recording from the input for thirty seconds. At the conclusion of the thirty seconds, an email goes out (to our phone numbers) containing the audio file. How? Where do I start? I want to try it but I don't know where to begin. [link] [comments] |
How does an MVC application looks like Posted: 19 Feb 2018 11:09 AM PST I've read the theory, I've seen diagrams and some examples but I guess I still don't really have a mental picture of how an MVC pattern actually looks like, everything I read is always too vague but when asked in interviews they want specifics. Am I even using MVC when I think I am? Am I using it without even realizing it? [link] [comments] |
How to Trigger FCM events on new gmail mails. Posted: 19 Feb 2018 10:44 AM PST The main problem I am currently facing is something quite simple however I am unable to give much time and thoughts to it. I want to trigger fcm messages on new emails. Where some data from the email will be forwarded with the fcm message data. I am basically trying to trigger action on a phone depending on the mails. And this has to be instantaneously. I can write a server which can subscribe to Gmail push notifications and then which will trigger fcm events too. However this all will be over engineered and will consume lot of time. Rather if I can use firebase functions to do all of this, then that would be great. Please suggest ways to tackle the problem. Thanks !!! [link] [comments] |
Trying to figure out how to manipulate RJ45 cable to get vacuum reading Posted: 19 Feb 2018 10:23 AM PST Hello reddit, I'm currently trying to find a way to manipulate the voltage inputs/read the voltage outputs of an RJ45 cable plugged into my computer. I have an active pirani vacuum gauge where I need to send a voltage to certain pins, and then read a voltage to different pins in order to read the vacuum's pressure. I've done something similar to this with arduino and pressure readings, but I have no idea how to do this on an actual computer with it's ethernet port. Anybody have any advice? Thanks for reading, a desperate redditor. [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