How was software projects structured before OOP was introduced? Ask Programming |
- How was software projects structured before OOP was introduced?
- What's your favorite programming language and what feature makes it your favorite?
- Sending a templated email that’s accessible via hyperlink
- What other technologies go hand to hand with android development?
- Is there any way to prevent WSL2 from taking up so much memory?
- How do I determine if a chess move sequence is likely to be alpha beta pruned?
- Tweepy cuts off the full tweet when scraped
- Question regarding delegates and event handling in C#
- Need some advice on what I am doing wrong when it comes to programming...
- WPF DataGrid Generation. Binding data question!
- Workflow for Linux development?
- User guides for X?
- I'm struggling to understand some details about this LINQ ToDictionary extension method. Please help :)
- Why is it hard to make software compatible?
- How should I format this pseudo-selector?
- Chat-bots
- Am not native english speaker, help with this variable and function naming issue
- Noob question about a program that asks the weight and height of 5 students
- i have a question about a project whether is it possible or not ..
- How to automate nodejs and mongodb installation
- Looking for a meaningful and challenging project
- Java Service - Mirror Database Table as Cache
How was software projects structured before OOP was introduced? Posted: 27 Jun 2020 04:03 PM PDT |
What's your favorite programming language and what feature makes it your favorite? Posted: 27 Jun 2020 06:15 AM PDT |
Sending a templated email that’s accessible via hyperlink Posted: 27 Jun 2020 08:01 PM PDT I don't know if there are any apps that might make this easier but any tips would be super helpful! Im making a mailto link, so that users can click a link and have their mail app opened with an email template ready to go, which makes for an easy send. I've looked around and what I have is a line of html, the problem is that I don't have a website to host this on and maybe making one would be overkill for this simple task?
This line of html allows for me to be able to send templated emails if I store on my notes app, but I can't create/ share a hyperlink for people to be able to use. Does anyone have any advice on this? thanks! [link] [comments] |
What other technologies go hand to hand with android development? Posted: 27 Jun 2020 12:17 PM PDT |
Is there any way to prevent WSL2 from taking up so much memory? Posted: 27 Jun 2020 11:37 AM PDT I was having a blast switching over to Windows and using WSL2 until I realized that, over time, WSL just ends up growing and growing and ends up eating more and more memory. I don't know what's causing this specifically, but I believe the culprit to be the [link] [comments] |
How do I determine if a chess move sequence is likely to be alpha beta pruned? Posted: 27 Jun 2020 05:24 PM PDT Say I have a 10 move chess move sequence. How do I determine (false negatives allowed but not false positives) whether a move is pruned in an alpha beta search? I'm trying to work out (for fun) how one would use Grover's algorithm for deep heuristic chess searches. My oracle for Grover's algorithm: Seed pseudo random number generators with each Grover's algorithm input value. Perform pseudo random moves from some position. If the move sequence was pruned, start over, otherwise perform another random move up to your search depth. Find the minimax heuristic of that node and return 1 if it's above some MAX value (which you can determine from whether Grover's algorithm finds any values above a trial MAX). Clearly the challenge here is determining if a move sequence is worth considering in isolation. If I don't, then classical alpha-beta pruning achieves the same quadratic speed up as Grover's algorithm and quantum computers don't help. [link] [comments] |
Tweepy cuts off the full tweet when scraped Posted: 27 Jun 2020 12:48 PM PDT I can get up to the 140 characters but any longer it cuts off with ... I have tried a few ways trying to add in tweet extended and full text into my code but it doesn't seem to work. I am still getting to grips with Tweepy so any help would be greatly appreciated. I am using Google Colab for this. [link] [comments] |
Question regarding delegates and event handling in C# Posted: 27 Jun 2020 03:07 PM PDT Can a class both be a subscriber and the provider of events or do I need a separate class that deals with subscribing to events? [link] [comments] |
Need some advice on what I am doing wrong when it comes to programming... Posted: 27 Jun 2020 10:38 AM PDT Hi there, I have been learning various programming languages for around 5 years at this point. Most of the languages that I have learnt I feel fairly confident in. However as I expand the types of projects that I wish to work on I am finding that I am struggling to translate my idea into code. The language and the syntax is not the issue but taking and idea and figuring out how to implement it is. Don't know if others have struggled with the same issue. If so then how did you overcome it? Am I doing anything wrong? Thanks! [link] [comments] |
WPF DataGrid Generation. Binding data question! Posted: 27 Jun 2020 02:21 PM PDT |
Workflow for Linux development? Posted: 27 Jun 2020 02:03 PM PDT I am currently a windows stack dev by profession. (Not a personal choice, the only dev position I could find out of college was a windows shop). For some of my personal projects, I'd like to venture into the Linux world and take advantage of the cross-platform capabilities of .net core since c# is still my language of choice. I currently have one project I am renting VPS space for (running windows server). The dev workflow is basically just do all dev work on my win 10 PC, drop the compiled code on to the VPS, and then tell it to go. What would be the equivalent workflow if I were to rent an Ubuntu VPS instance? My assumption is just to set up an Ubuntu VM in VirtualBox and use VSCode as my IDE. I want to avoid dual-booting, and I need a windows machine for my professional work. Is this a good/Linux-noob friendly way to get started? I'd like to hear some suggestions. I do have some experience using Debian and Ubuntu to host game servers, just not for dev work, so Linux isn't 100% foreign to me. bandwidth The only reason I can afford windows server VPS (for my project that is currently making me $0) is my host is low bandwith (unmetered, but capped at 100mbps). If I were to create a project that required more bandwith Linux would be the only affordable option for me. [link] [comments] |
Posted: 27 Jun 2020 11:48 AM PDT Are there good guides for powerusers of X? I've found X Window System User's Guide but it seems dated. I'm looking for a book going through the concepts of X that the poweruser (i.e., customized keyboard layouts, setting up remote sessions) needs to understand, and goes through standard client utilities (xmodmap, xinput, etc.). Ideally, with lots of examples. To be more concrete, it should provide intuitive answers to the following:
I ask because the resources for X seem fragmented. I wonder if there's material that would give me clear, concrete principles. [link] [comments] |
Posted: 27 Jun 2020 09:58 AM PDT To clarify; I can use the method but don't understand some details. The part in bold+italic down below is the bit that I think I'm struggling with most in case you don't want to read the rest. Here's an example of the implementation of the extension method that I'm trying to understand: Dictionary<string, string> result = ListOfTypeWithTwoStringProperties.ToDictionary(k => k.StringKey, v => v.StringValue); And here's the tooltip of the extension method in visual studio: (extension) Dictionary<string, string> IEnumerable<TypeWithTwoStringProperties>.ToDictionary<TypeWithTwoStringProperties, string, string>(Func<TypeWithTwoStringProperties, string> keyselector, Func<TypeWithTwoStringProperties, string> elementSelector) I'll break down the parts of that here and you can fill in and correct me where I mess up: -Dictionary<string, string> -Enumerable<TypeWithTwoStringProperties> -.ToDictionary<TypeWithTwoStringProperties, string, string> -(Func<TypeWithTwoStringProperties, string> keyselector, Func<TypeWithTwoStringProperties, string> elementSelector) Any tips or insights would be very much appreciated. [link] [comments] |
Why is it hard to make software compatible? Posted: 27 Jun 2020 03:52 AM PDT Think about video games for example. Why is it so hard to port games from one platform to another? And why does it often cause bugs? I know different platforms need different compilers and different needs/strengths, but at what point does the source code start depending on the platform? I'd imagine these things to be generally programmed in a much higher level! [link] [comments] |
How should I format this pseudo-selector? Posted: 27 Jun 2020 09:19 AM PDT I'm making a GitHub homepage clone with HTML and CSS. For the navigation bar at the top, there is a set of bell icons, user icons, and arrow icons. They are in a "ul" with an "id" called "profile-nav-bar" which is the 2nd "ul" in a "nav" I would like to avoid using the "id" and instead use a pseudo-selector like "nth-child" Does anyone know how to do this? Any help would be greatly appreciated :) Here is the Gist GitHub: https://gist.github.com/joshualiu555/1a0637304f8d14b9478fef38342847a2 [link] [comments] |
Posted: 27 Jun 2020 04:25 AM PDT Hi guys, I was thinking to start building a chat-bot and I'm kinda new to all this so I've been wondering what programming language do you recommend building the bot in ? (especially for Messenger or Telegram or even Instagram) [link] [comments] |
Am not native english speaker, help with this variable and function naming issue Posted: 27 Jun 2020 06:04 AM PDT there are 2 followers and I have function like SendFollowersPositions The function is sending 2 positions of 2 followers Should that be SendFollowersPositions or SendFollowerPositions or SendFollowersPosition or SendFollowerPosition i swear i never know what to choose? [link] [comments] |
Noob question about a program that asks the weight and height of 5 students Posted: 27 Jun 2020 02:00 AM PDT I need my program to ask the weight and height of 5 students but i can't capture all the data that i want just the first weight and that's it Where did i messed it up? An image after compiling: https://imgur.com/tQE8Z4E Here is the code: https://pastebin.com/stdK2jxc Thank u [link] [comments] |
i have a question about a project whether is it possible or not .. Posted: 27 Jun 2020 05:31 AM PDT so first thing is i want to learn python language (my first programming language) and by searching few times i got the answer that making a project or ur fav project would make it less boring and fun ...so i am thinking to make programm that will automate android game clash royale ..the main goal is that it will open the app at certain time of the day .. recognize the chest and ,,than it will click on it open it and it will collect it ... than it will reqest card rom the app and close it . this two things would be done at time which i will select ....i dont whether this is possible but i thought some from here should have atleast idea of what do i need to do something like this ...also can i do something like this with python or would i need to any other language..if it isnt possible my main goal is to make a project with python becoz i get bored easily when i start python everytime so i u know something like this.please also suggest me :) thank you ! [link] [comments] |
How to automate nodejs and mongodb installation Posted: 27 Jun 2020 04:21 AM PDT I have a client who wants a desktop application. I m thinking about using electronics for front end and nodejs and mongodb for backend. The client does not to spend on servers. So I would need to deploy the backend on one of his machines. How do I create a one click installable which would install node and mongodb on his machine, run the node sever on localhost. Edit: the client uses windows 10 [link] [comments] |
Looking for a meaningful and challenging project Posted: 27 Jun 2020 03:21 AM PDT I am looking for a fun but meaningful project, I feel like all of my projects are pretty terrible and boring. Like they get the point across and do have some technicality behind them but still don't feel like anything that would wow anyone. I am starting my CS degree this September but I doubt I'll do anything much different there. What I'd like to do is create something that is either really useful or just really fun and cool to make. The difficult doesn't matter. I know Golang and Kotlin. Some of my ideas were:
Basically something that will allow me to learn fundamentals and that I can be proud of, that I can really say is cool and difficult. Also, something that could allow me to research and get a better understanding of performance optimization, cool algorithms. I don't wanna work on basic straightforward projects anymore.Here's my Github ( I am proud of the things I've made so far but I want to go a step further) https://github.com/Nikola-Milovic?tab=repositories Any ideas are appreciated! If you can provide some getting started literature or places to look for information that would also be superb! [link] [comments] |
Java Service - Mirror Database Table as Cache Posted: 27 Jun 2020 12:57 AM PDT We've got a SQL table which has two columns, an integer ID (1, 2, 3, 4, ...) and a String value. There are two things we do with this table -Lookup the ID given the string or vice versa -Get or generate a new ID. This is a stored proc, so given a String, if it already has an ID return it, otherwise generate a new ID. This table gets accessed a lot, and we want to add a Java service/cache layer on top of it which keeps a copy in memory to reduce calls in the first case, or in the second case where the ID already exists, and if not it can just pass it onto the table and call the stored proc. I was thinking Spring Boot to get the Java service going and define some Rest endpoints, but what would be good as a cache? In my head I don't see why we couldn't just read the table into memory manually (i.e. executing the SQL with JDBC and just storing the table in a Map object.) But I'm sure there's a good reason why techs like redis or hazelcast are used. Not done anything like this before... Thanks!! [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