Form input that let's user type but suggests valid options for them to click Ask Programming |
- Form input that let's user type but suggests valid options for them to click
- Need help for learning Python
- Best Python Practice Website?
- My loopComplete function called repeatedly in Anime.js and I'm having trouble figuring out why. Advice would be very much appreciated!
- Java: paintComponent not working when I press a button?
- There is a programmer dude that is making a very good software for a small community of gamers. I want to make everyone donate 1$, so i can send something like 50$ to him.
- What cipher suites are required in an implementation of TLS?
- Im new to python, and need help interpreting how this simple RGB color channel extractor works.
- Fast prototyping programming language for apps and web developments that support rtl
- Wondering where to find someone who can build a small copy-paste program for me
- In C++, say you've defined struct human { int age,color; }Mark; . How can you make it so you can go "cout << Mark" and it will cout the age and color in a way that you have defined, as opposed to typing cout << Mark.age << " " << Mark.color << "\n"; ?
- Tools for inspecting a programs architecture?
- Most efficient way to send server-sent-events user-filtered data
- Which IDE for C&C++ ?
- JS: I'm burnt out and want something new and different
- At what point can I say "I can programm in Python"?
- Really dumb syntax question
- [C++] I haven't been able to figure out what -> does
- Reinforcing bad habits as a self learner.
- Help with php configuration
- Allowing multiple decryption keys.
- How to save H264 frames to disk indexing them with timestamp
Form input that let's user type but suggests valid options for them to click Posted: 22 Aug 2020 07:36 PM PDT I want to create a specific type of input field in an HTML form. I've seen these but can't find any examples to share - I'm sure once I post this I'll see them everywhere. Basically, it looks like a text box but once the user starts typing it suggests options. They can click on the option and it will auto complete in the box. However, it will sort of float in it's own box within the text box and have an x beside it to remove that item when clicked. The user can select as many options as they wish (so long as they are valid options) and remove any by clicking on it. Anyone know what I'm talking about? I would love to see some code examples as I am not sure how to create it. Any suggestions on where to look for this? [link] [comments] |
Posted: 22 Aug 2020 10:36 PM PDT Hey, I am an undergrad student and I want to improve my python skills. I know some basic to intermediate level python but I mostly follow youtube tutorials. I don't have any mentor to guide me. Can anyone please give a step-by-step guide. What to do after I have acquired the basics python skills. I am already comfortable with Django, Machine Learning, and Deep Learning. But I really want to start with open-source projects. [link] [comments] |
Posted: 22 Aug 2020 05:33 AM PDT Hi. I want to improve myself in Python. I know a lot of concepts and I am a computer science student. I used Hackerrank, but Hackerrank is Math based more than programming based but I want to improve myself in coding. What is the best practice website you used? [link] [comments] |
Posted: 22 Aug 2020 03:34 PM PDT I've scoured what feels like the entire internet for help with this. Here is a stack overflow I made with additional information: https://stackoverflow.com/questions/63541734/loopcomplete-function-called-repeatedly-in-anime-js [link] [comments] |
Java: paintComponent not working when I press a button? Posted: 22 Aug 2020 09:16 PM PDT Hey everyone, I have a class to set up my frame (Start) and another to draw everything on it (DrawGraphics). I have a boolean called "start" in DrawGraphics. When you press Enter it should be set to true and graphics should be drawn on screen. Thing is, paintComponent isn't doing anything when start = true and I can't figure out why this is? Class 1: Class 2: [link] [comments] |
Posted: 22 Aug 2020 09:28 AM PDT Only problem is. I dont know what website does this. He is working for free. And we already made 2 mods. And nobody gave him anything. The 2 mods are super useful. And he will make more. So i would like to for example, have everyone send a dollar to a internet bag, where then we can send to him as 50 bucks or a bit more, and the name of all the donators. Its just a symbolic gift just to show that we appreciate his effort. How can i accomplish this? Any website does this? [link] [comments] |
What cipher suites are required in an implementation of TLS? Posted: 22 Aug 2020 04:12 PM PDT What is the bare minimum number of cipher suites I would need to implement in an implementation of TLS, and which are they? [link] [comments] |
Im new to python, and need help interpreting how this simple RGB color channel extractor works. Posted: 22 Aug 2020 01:45 PM PDT Given an image in the form of a 2D array of pixels, i want to extract just the Red channel. This code does this: --------------------------------------------------------------------------------------------------------------------------- def getRedChannel(image): temp = np.copy(image) return temp[:, :, 2] ---------------------------------------------------------------------------------------------------------------------------------- My question is how does this logic "return temp[:, :, 2]" translate into English sentences to return all the red pixels? I thought it was something like: In all Rows and all Columns, get the 2nd element. But that doesn't make sense because Red is the 0th element and this code has an index of 2. I based the above program off of solutions from this stackover flow post: https://stackoverflow.com/questions/38538952/how-to-swap-blue-and-green-channel-in-an-image-using-opencv [link] [comments] |
Fast prototyping programming language for apps and web developments that support rtl Posted: 22 Aug 2020 12:36 PM PDT I used to use unity3d for prototyping apps, games and web pages but now I want another language and setup for quick prototyping of apps and webpages. I want something very easy and handy for hackathons as well as experimentations. It has to support right-to-left languges too. Any recommendations. Thanks. [link] [comments] |
Wondering where to find someone who can build a small copy-paste program for me Posted: 22 Aug 2020 12:16 PM PDT At my work I have to copy and paste a lot of things, this means I have an entire window full of sticky notes. I have an idea for a piece of simple software that would make my life much easier - is there somewhere I can go for freelance work? Any suggestions would be appreciated! [link] [comments] |
Posted: 22 Aug 2020 09:23 AM PDT |
Tools for inspecting a programs architecture? Posted: 22 Aug 2020 12:29 PM PDT Seeking recommendations for tools that serve to breakdown the architecture of a program. Not necessarily looking to fully decompile a program's code, but something more on the level of builtwith.com that gives me basic information about the structure of the program, language, dependencies and other pertinent basic information. [link] [comments] |
Most efficient way to send server-sent-events user-filtered data Posted: 22 Aug 2020 10:51 AM PDT So I'm stuck at which approach I should use for sending real-time data to my clients. I have a database with some records, which can be filtered by data from other tables, I use MongoDB if that's relevant. I am trying to give the user the possibility to filter by a few tables (but with a lot of possibilities)
* These options are provided by my API ** These options are user-entered but are only valid if they are available in that database, so they definitely won't get used at the same time That's A LOT of possible combinations the user can enter. However, the most used filters will be `Regions` and `Vehicles`, the others would be more specific I have thought of a few different approaches
I have also thought of something that if Please help me out here, it's a crucial part of my application and I am trying to figure out how to not overload all my computing power [link] [comments] |
Posted: 22 Aug 2020 10:01 AM PDT Which was the best IDE you used for C&C++ that's free and available for linux (Ubuntu preferably) ? I'll need one for CS college :) [link] [comments] |
JS: I'm burnt out and want something new and different Posted: 22 Aug 2020 10:01 AM PDT Long post but bear with me. I started my semi-serious coding journey about a year ago with Python + Arduino (C-Like language for embedded systems), but I never got fully-serious until about Febuary. Febuary was when I stopped using Python and started with JS (I learned HTML and Basic CSS back in September and the advanced stuff I learned along the way). (I've also messed around in Java a few years back when there were some blocks I wanted to mod into Minecraft, but that was just copy-pasting code and praying that it works. I didn't understand the language) After Basic JS, DOM manipulation, and dabbling in server-side apps in Node, I settled on front-end dev and learned React (Timeline: June) After React, I wanted to dabble in some mobile-dev and used React-Native but didn't like it, So I learned Flutter. In the end, I enjoyed using Flutter but found that in general, mobile-dev isn't for me (Timeline: Late July) And now, in August, I dabbled with Next.js and made a simple blog (Just for a gig not using it), and now I'm super burnt out with web dev. Anything I want to do that's complex is, well, complex. So complex that it needs a good backend as well as frontend (I.E at least someone that works with me). Starting a project feels like a chore, cross-platform app choices aren't great (Electron is a memory hog and isn't great for file size, but no alternatives are as good), and the whole language almost feels like a bodge when you get serious with it. Python is better at handling these problems but still wasn't great (+ auto-completion usually doesn't exist). In short: I'm looking for language suggestions for native, cross-platform, program development for desktop. All the languages below I've tested by making a command-line authentication app with hard-coded data and seeing how easy/difficult it was, unless marked with an asterisk Languages + opinion:
(*): Made a WPF program with a button that plays a sound very easily after about an hour of messing around, but unfortunately the language seems awful for cross-platform (**): Never got it running What are your opinions on what I should learn next? I'm so overwhelmed by the choices right now and I need someone with more experience than me to guide me in the right path. I'm not sure if this would be the last time I use HTML/CSS/JS but I hope it is. [link] [comments] |
At what point can I say "I can programm in Python"? Posted: 22 Aug 2020 07:24 AM PDT I'm learning python at home and was wondering at what point you guys would you guys think one can say "I can program" I know you never stop learning, but at what skill level would for example an employer accept this statement? [link] [comments] |
Posted: 22 Aug 2020 11:10 AM PDT im trying to become more fluent in java, when im using " . " and " ( ) ". I only use them in the right places because thats how they are online, how do i know when to use them when performing a task? like what does a " . " and " ( ) " do? this question probably makes no sense [link] [comments] |
[C++] I haven't been able to figure out what -> does Posted: 22 Aug 2020 09:43 AM PDT If someone could explain it clearly and in detail that would be very appreciated. A specific example I have in mind is Besides this example I'd like to know about -> in general as well. [link] [comments] |
Reinforcing bad habits as a self learner. Posted: 22 Aug 2020 06:50 AM PDT Hello, thank you for taking the time out of your day to read this. Like many people during the covid crisis. I lost my job and had a lot of free time. I have always had an interest in computers, and often wanted to learn to code. After a number of google searches as well as lurking around on a few subreddits. I was finally ready to start my journey. Finding a number of free to use sites, books, projects. I began learning python as my first language. Completing my first project was a proud moment I will never forget. However, being out of work I felt like I was trying to teach myself to code out of desperation. I NEEDED to learn more, to be able to do more. After a while it lost its fun. I started to become rigid in my logic and uncreative. I was making the same mistskes over and over again. Because out of my desperation I had unwittingly reinforced many bad programming habits. I gave up! After some time away, I want to return to learning. I do NOT however want to feverishly chase an unrealistic goal and make the same mistakes of the past. I guess what I'm really asking for is help. How can I discipline myself and reinforce GOOD habits as a self learner. I want to make a career change but at this moment. Formal education/boot camps are not possible for me. Any advice or resources would be greatly appreciated. TIA and I am sorry for my poorly written post. [link] [comments] |
Posted: 22 Aug 2020 06:37 AM PDT Been out of the field for a while, and working on getting skills back. Running PHP with Apache on Linux Mint on my own laptop. Came across a little weirdness -- easily sidestepped on its own, but it lead me down a rabbit hole. Gave an incorrect path for a require_once(...) include file. Noticed the include_path reference in the error.log, and then set about looking for where that variable (include_path) is set. Every instance of php.ini has the relevant lines commented out. (used mlocate and grep to confirm) It isn't in any Apache .conf. Where is this sucker being set? Again, I'm just tryin' to get out of this rabbit hole! Any help is appreciated. [link] [comments] |
Allowing multiple decryption keys. Posted: 22 Aug 2020 06:16 AM PDT As far as I know, all the software that encrypt data (such as "KeePass") I have seen seem to allow only one password. This is kind of problematic, for me, because I am afraid I could forget the password or misspell it slightly. Even a slight error could make me lose all the data. If there are multiple passwords, I could try the other one. So, I am thinking about writing some simple software that allows multiple passwords. I thought about the following scheme:
Is there a better idea? If decrypting the data by brute force takes t amount of time, allowing n number of passwords would reduce the brute force time to t/n, right? If so, if t is sufficiently large, I think t/n would also sufficiently large and so the security will not be weakened too much. Or is the brute force time will be shorter than t/n? [link] [comments] |
How to save H264 frames to disk indexing them with timestamp Posted: 22 Aug 2020 03:42 AM PDT Hello, I'm trying to code a lightweight program that records the stream from an IP Camera available over RTSP and archives it for a limited temporal slot on disk. I need to be able to search for specific points in time and export that part of the stream as a separate file or otherwise play it. My question is about the best strategy of "serializing" h264 frames. Reading basic documentation, I understand that a h264 stream provides I, B and P frames. So I was thinking to serialize the I frame and all the following B and P frames until the next I frame is obtained and to store the time-stamp of each I-frame into a database in such a way that when a specific timestamp (or date/time) span is requested, then the closest I-frame to the beginning timestamp is chosen as starting frame and the closest I-frame to the ending timestamp as ending frame. All this content is then decoded, if asked to be shown on screen, or saved in a container, if a file export is requested. What do you think, is this a reasonable approach? The idea is to avoid decoding until it is really needed (i.e. when asked to see the requested slice of the stream on screen) and work with raw h264 data for archiving. [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