Do you ever feel weird using a feature you built or seeing a mere stranger using a feature you built and / or contributed to? Ask Programming |
- Do you ever feel weird using a feature you built or seeing a mere stranger using a feature you built and / or contributed to?
- How did you get things like callbacks, promises, async await, and arrow functions to "click" and make sense to you? This is still a big blind spot for me
- [C++] I cannot figure out how to get part of my code to work. I would appreciate the help.
- [C++] Need help for setting up Geany for C++ programming.
- Need Help Embedding Facebook Messenger into Website
- Image Comparing bot
- I’m looking to get into programming as well as building a computer. Are there any specific specs I should know about?
- HackerRank solution times out on some test cases. (Java)
- Dockerizing Java CLI
- How do chat clients like slack and discord implement image previews?
- Help with vba assignment.
- Editing windows 10 display configuration with scripts?
- Mongoose & Node.js question about $set for updating objects from an array.
- Snake game problem in C#
- Courses to learn AI in the Montreal or Toronto area?
- Best community to ask AI/ML/data science questions?
- Arduino code
- Software that makes it easy to create mathematic formula programs?
- Free code-signing blockchain service for non-commercial projects
- How do I install SDL_ttf on windows (windows 7)?
- Can anyone tell me how does scrimba.com interactive video works?
Posted: 26 Mar 2019 03:27 PM PDT I'm building an application for an Android and iOS application for an organization and I saw someone using the application one day since they were one of the people we decided to roll the beta out to. It felt so weird seeing them using the application I built. Does anyone else feel that way? [link] [comments] | ||||||
Posted: 26 Mar 2019 06:18 PM PDT I'm a CS grad and was a database engineer for 3 years, moved into web development a bit over a year ago. I still get confused when working with or talking about these aspects of javascript. My thought that is that they're all somewhat related, they are generally used when dealing with asynchronous code, e.g. getting data over a network (?). Do you have any suggestions for how to understand these concepts better? If there are certain books, talks, projects, or anything else I'd be interested. Thanks for any advice. [link] [comments] | ||||||
[C++] I cannot figure out how to get part of my code to work. I would appreciate the help. Posted: 26 Mar 2019 04:15 PM PDT The goal of my program is to find a Bible verse in a Bible .txt file. I want it to tell me if the book, chapter, or book is not found. However I cannot figure out how to get it to tell me when the chapter is not found, or if the verse is not found. I suspect that I need to alter the if statements that correspond to them, but I am not sure what I should change. Here is a sample of the .txt file. Currently, if I search for Jude 2:3 (which doesn't exist) it will output Revelation 2:3, since that is the nearest nearest chapter 2 with at least 3 verse. I need it to stop when it reaches the next book, but I cannot figure out how. Also when I searched Psalm 23:7 (which also doesn't exist) it will go to Psalm 24:7 since that is the verse 7. Here is my code: [link] [comments] | ||||||
[C++] Need help for setting up Geany for C++ programming. Posted: 26 Mar 2019 05:07 PM PDT The code is this: So the expected output must be 3 since the return of f is an rvalue, and therefore it will use the rvalue reference constructor, however, using Geany with the following build commands: Compile: g++ -Wall -std=c++0x -c "%f" Build: g++ -Wall -std=c++0x -o "%e" "%f" The output is 2, at first I thought it was a problem with my code but I tested it in Visual Studio and it gave me 3. Can anybody help me configure Geany so that it gives me the right value? [link] [comments] | ||||||
Need Help Embedding Facebook Messenger into Website Posted: 26 Mar 2019 09:04 PM PDT Hello, I was trying to embedded code into a company website for facebook messenger / to popup as a chatbox to be able to assist customers. I found the following code but wasn't able to get it to work consistently (it would pop up randomly then off on page refresh). Code - <script> window.fbAsyncInit = function() { FB.init({ appId : 'to be found from facebook developer section', autoLogAppEvents : true, xfbml : true, version : 'v2.12' }); }; (function(d, s, id){ var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) {return;} js = d.createElement(s); js.id = id; js.src = "https://connect.facebook.net/en_US/sdk.js"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script> <div class="fb-customerchat" page_id="xxxxx facebook company page ID"></div> I was looking to avoid using a 3rd party app / website for the chatbox, as I figure no need to share customers private info with other parties. so my questions are the following - 1. is the above code correct / is something missing ? is there an updated code? 2. I've read somewhere that I need to include a "privacy policy" for this app on the developer website, is this necessary or am I doing something wrong? If there's another subreddit that would be more appropriate to post this, please PM me so I can cross post. Thank You [link] [comments] | ||||||
Posted: 26 Mar 2019 09:48 AM PDT Hey, I'd like to know how hard it would be to code an extension or bot to search a given webpage for a image on my drive? [link] [comments] | ||||||
Posted: 26 Mar 2019 07:12 PM PDT Title, basically. Is there anything unusual about a computer made for programming? I'm kind of new to all of this, and I'm not really sure if there's a better place to post this. [link] [comments] | ||||||
HackerRank solution times out on some test cases. (Java) Posted: 26 Mar 2019 05:26 PM PDT This is the problem:
This is my code: [link] [comments] | ||||||
Posted: 26 Mar 2019 04:28 PM PDT Hey, I created command line application in Java, but not everybody have installed java on their systems. So I created Docker image running my *.jar application and bash script to build and run docker container. This CLI should be running on CI/CD instances by default or on local machines periodically. My question is, is I'm going to far with this scripting? Maybe there is some better way to do this? My app basically is searching for reports, extracts some values (hard part, and this is the main reason why I used Java) and send them to API. [link] [comments] | ||||||
How do chat clients like slack and discord implement image previews? Posted: 26 Mar 2019 03:39 PM PDT A lot of chat clients will inline an image for you if you link directly to one. But sometimes they give you an image preview even when the link isn't a direct image link. For instance if you post this in discord, https://tenor.com/view/gary-oldman-everyone-yelling-gif-7290106 it will just display the gif itself. But if you go to the link in a browser it displays the whole webpage containing the gif. How does discord know? Have they implemented a custom solution specifically for tenor (and imgur, gfycat, etc), or do the sites include some metadata to help clients? Are there any libraries I can check out that implement this kind of robust image preview? [link] [comments] | ||||||
Posted: 26 Mar 2019 03:06 PM PDT Hi guys, posted here once before for help with some vba code and had great results. Figured you guys could help me out this time, as well. Basically the guideline is as follows: "Design a program that accepts a number representing a class, counts the number of requests for the class and then displays the class number, name of the class and number of requests for each class. " This is meant to be done using arrays which we're just now going over in uni. I have (what I think) To be the baseline for the code, but when i try to output the results, it tells me "method or data member not found" and says that my lst.additem function is the problem. If anyone could tell me what's triggering the error, i'd really appreciate the help! Dim classes(5) As Integer Dim index As Integer index = 0 Do Until index > 4 classes(index) = 0 index = index + 1 Loop Dim yoga(5) As String yoga(0) = yoga1 yoga(1) = yoga2 yoga(2) = childsYoga yoga(3) = preNat yoga(4) = seniYoga yoga(0) = InputBox("How many people will be attending Yoga 1?") yoga(1) = InputBox("How many people will be attending Yoga 2?") yoga(2) = InputBox("How many people will be attending Children's yoga?") yoga(3) = InputBox("How many will be attending Prenatal Yoga?") yoga(4) = InputBox("How many will be attending Senior yoga?") Do Until index > 4 lstYoga.AddItem ((index + 1) & classes(index) & yoga(index)) index = index + 1 Loop [link] [comments] | ||||||
Editing windows 10 display configuration with scripts? Posted: 26 Mar 2019 10:43 AM PDT I'm sure there's a way to do this, I just haven't been able to figure it out. I need to write a script that can change the display settings between PC screen only and second screen only. Are there Hooks/APIs I can use to do this? The way multiple displays work in Windows is so atrocious I imagine they'd include something. [link] [comments] | ||||||
Mongoose & Node.js question about $set for updating objects from an array. Posted: 26 Mar 2019 02:13 PM PDT Hi! I hope the title is clear but I'll explain myself better here, so I have the following model for my mongoose schema:
My array of objects that is questions it's made dynamically in the front-end and can be added perfectly with all the fields as of now, the problem is how to update my array on my server. For updating I've been trying to do the following:
It looks like it can update but not the way I wanted it to. For example this are my questions:
And when I try to update them like for example change question 2 from 'do you do thing' into 'have you went to place', when I save all the objects save with the data in my first position. Instead of achieving updating a single object all of them change into the first from my array. Why does this happen and how can I fix it? Is there a better way to do this? [link] [comments] | ||||||
Posted: 26 Mar 2019 08:39 AM PDT I've got a problem in this Snake project where I can't make the snake move like a regular snake. It's not complete so there's stuff not implemented yet but I'd like to fix the moving part before I move on. I'm doing something wrong and I'd like any help I can get. And if you can, please tell what I can do better to make the code more readable or just more consistent. Just noticed that you might have to comment out the Game Instance in KeyEvents.css [link] [comments] | ||||||
Courses to learn AI in the Montreal or Toronto area? Posted: 26 Mar 2019 08:13 AM PDT Hey, I don't know if this is the right place to post but was wondering if anyone had suggestions about where to fin reputable, in-person, hands-on AI courses (like a web programming bootcamp but for AI). I came across this: https://aideepdive.com/. Any thoughts? Thanks! [link] [comments] | ||||||
Best community to ask AI/ML/data science questions? Posted: 26 Mar 2019 08:05 AM PDT Looking for a heavy programming/math community that does various AI. So far, reddit's communities have not been responsive. Any suggestions? [link] [comments] | ||||||
Posted: 26 Mar 2019 03:48 AM PDT Gd morning..I'm a final year student @ university.. I'm currently trying to design my project.. Is there anyone with Arduino Code experience that may be able to help me write some code for my project.. [link] [comments] | ||||||
Software that makes it easy to create mathematic formula programs? Posted: 26 Mar 2019 03:35 AM PDT Hi, as a warning I know nothing about programming. So I'm wondering if there is some kind of program/software out there that allows me to easily make a "calculator" where I decide what each button does etc. So I could make a program to, for example, decide what my options for dinner are, using variables such as "are the kids home?" "budget" or "healthy?", and then using an equation that I made beforehand, spit out an answer that I've put in depending on . And any number of exciting equations lol I'm not asking for a program that tells me what my options for dinner are btw, Im asking if there is something that allows me to easily make programs like that. This may not be the right place, but honestly I don't even know where to start. Thanks muchly <3 [link] [comments] | ||||||
Free code-signing blockchain service for non-commercial projects Posted: 26 Mar 2019 02:17 AM PDT Hi everyone, I want to invite you to join codenotary.io Why paying for a code signing certificate that proves file integrity and your identity, when there is a blockchain service that does that for free. Lifetime, free access for all non-commercial projects. As we're just getting started we would love to get your feedback. Step by Step guide can be found here: https://www.codenotary.io/help/ [link] [comments] | ||||||
How do I install SDL_ttf on windows (windows 7)? Posted: 26 Mar 2019 01:30 AM PDT Hi, I want to be able to show text on screen in an SDL2 program. I've looked everywhere, but there seems to be next to no information on how to actually install it. I have downloaded SDL_ttf and put the files in the correct place, as well as done my best to install freetype but theres even less information on that. I keep getting the following error when I try to build a file that uses SDL_ttf; c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot find -lSDL_ttf Is there perhaps a better way to do this? [link] [comments] | ||||||
Can anyone tell me how does scrimba.com interactive video works? Posted: 26 Mar 2019 12:49 AM PDT Scrimba.com has this cool feature to click and edit the code while watching the tutorial. The video gets paused and user get to interact with the code from point video was paused. I believe that it's the DOM that's being recorded instead of pixels. Can anyone tell me its algorithm. How can I build such an app? [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