Computer Science Community Discord Ask Programming |
- Computer Science Community Discord
- Are there any tutorials for a blind person to learn programming basics (java preferably, php, html any)?
- Is it possible to write a code that modifies itself?
- Unsure how to debug this: Trying to inject a DLL into another process child process.
- How do you think explodingtopics.com is made?
- In 4 years, what field do you guys see as the best one to specialize in?
- What are the differences that we can find in asynchronous methods between Javascript and Dart?
- I'm wanting to change careers and get into coding. Where should I start?
- Possible to add an integer to a plot legend with matplotlib?
- I will be starting a Computer Science I in high school in the fall. I was able to sign up for the class because I have an extra credit, whereas normally it is not available to freshmen. Since I will be the youngest person, I am a little worried about falling behind. Anything I can do to prepare?
- Where to get XAMPP?
- Looking suggestions for Open source Map APIs for a Angular 9 project
- I'm a software developer and I feel like I missed the boat on phone app development
- What excites you about programming?
- C# script not working.
- Join the Developer's Inn Discord Server, a discord server to bring together programmers of all kinds to help each other out, collaborate and socialize with other developers!
- What is the simplest Unix command/utility?
- Audio Event Detection. Find and remove censor beep
- I need to run multiple processes at once, which server should I use
- Can anyone help?
- Looking for a small/easy project management (remote git repositories) web application (like redmine) for personal use
- HTML- How to change classes in one page with an onclick function in another page?
- Any Kafka masters here? I have a fresh Confluent Platform with no settings changed, but the REST Proxy is giving the error "HostProvider may not be empty!"
- Agile Methodologies and the v0.1.0 release, what should I include in the project?
Computer Science Community Discord Posted: 07 Jun 2020 04:13 PM PDT Comp Sci Discord Network Hello Computer Science friends, if any of you guys are interested in joining a Comp Sci Discord Networking Community for discussion, JOB SEARCH, ideas, studying, and industrial networking, this is the link, where you could discuss C++, Machine Learning, Data Science, AI, and Python, we have almost 5000 users. This is the link, you can join with your browser. https://discord.com/invite/KRZwxzg Once you entered please type ?rank Computer Science [link] [comments] |
Posted: 07 Jun 2020 08:00 AM PDT My cousin brother is blind and recently he has expressed interest in learning programming. He specifically wants to so android development. Which I know would be very difficult for him. Still I think he should atleast start with Java and see if we wants to go further and get into android. He does not really have knowledge of programming basics. So that's why I was wondering if there exist and tutorials for visually impaired people. It would be nice if its programming basics in Java. Else just programming basics. Or even a java getting started tutorial will do. Thanks a lot for the help. I have asked the same question at /r/learnprogramming [link] [comments] |
Is it possible to write a code that modifies itself? Posted: 07 Jun 2020 09:20 PM PDT A program that somehow could change, add or delete parts of his own code. Is it possible? (And how) [link] [comments] |
Unsure how to debug this: Trying to inject a DLL into another process child process. Posted: 07 Jun 2020 03:39 PM PDT I've built a "simple" standard DLL injector which uses tlhelp32 to get the process ID and I have tried injecting into several other processes. It works in every single process except for those that have prevented DLL injections. But the one I want to inject into is more unique. I don't think it has any preventions, but something still goes wrong. The injected DLL is supposed to create a new console with The target process works like this: It has a parent process which is used to launch various other processes. One of those processes is the one I want to inject into. Lets say the Parent process is called "Parent_Process". The child process which is the one I want to inject into is called "Child_Process.exe". When you launch Child_Process.exe from the Parent_Process, at first while it's loading Child_Process.exe they have two different icons in the task bar. But after it's done loading, they are merged into the same process. Aka the Child_Process.exe is merged into Parent_Process. You can still see Parent_Process kind of framing around Child_Process.exe. In the task bar it looks like it's just one process now. But in task manager you can see Parent_Process and if you expand it you'll see the list of child processes it has running, and one of them is Child_Process.exe. My injector is targeting Child_Process.exe, it finds it and injects the DLL into it without any error checks failing. I know some code will be useful to see, I'm not sure how much to share, because it's quite a lot. I'll begin by showing just the code from the DLL which I'm injecting. I just don't know how to debug this problem. Also, there's a chance there are typos in this code, because I don't copy paste the code. I have the code on my other computer, not the same as the one I'm writing this on. I do it like this to make it inconvenient for me to ask for help, so I only ask for help when it's too difficult for me to solve it by myself. [link] [comments] |
How do you think explodingtopics.com is made? Posted: 07 Jun 2020 08:15 PM PDT I'm fascinated by the website explodingtopics.com. They crawl the web and detect trending words via Google Trends. How do you think it's done? How can they identify the words to check on Google Trends? [link] [comments] |
In 4 years, what field do you guys see as the best one to specialize in? Posted: 07 Jun 2020 12:08 AM PDT Obviously I know you can't predict the future. I know web dev and data science are the big stuff right now but just out of curiosity what do you guys see as the most prominent field in 4 years and the best one to focus in? I'm talking about in the realm of computer science by the way, so like maybe fin tech, big data, etc? This question is mainly geared towards choosing my minor to complement my major, CS.
[link] [comments] |
What are the differences that we can find in asynchronous methods between Javascript and Dart? Posted: 07 Jun 2020 07:16 PM PDT Hi,I am familiar with Javascript. And I skipped the asynchronous programming in Javascript and jumped into Dart and learning Flutter right now. I have been creating apps and also used asynchronous programming in FLutter(aysnc, await, future) . I just wanted to ask, is the concept of asynchronous programming in Dart similar to that of Javascript? If there is a difference, please point me out.Thank you! [link] [comments] |
I'm wanting to change careers and get into coding. Where should I start? Posted: 07 Jun 2020 06:38 PM PDT Hello Reddit! I have been considering learning coding for a while now to be able to change careers and move into something involving coding. I'll give a little back ground. I am an MBA graduate and currently work as a project manager in fabrication and repair industry. I also work as the office manager for this company. I really enjoy streamlining processes and improving systems. I started to get interested in coding after working so heavily in excel and editing macros to produce reports at my current job. I am a polyglot and I do some side translation work as well. I am 31, married and have two kids and I can dedicate up to 2 hours a day to learn coding. I have dabbled a little into python and have made simple programs like rolling dice, rock, paper, scissors, and guess the number. I really enjoy the problem solving involved in coding, meaning you are presented with something you want a program to do, and you have to create that program. So my questions are: I've considered becoming a data scientist because of my background in business. Is that a good career path? Or are there others that might suit me better? Where is the best place to start? (I've considered signing up for codecademy because I need structure) Which language should I start to learn? Thank you for your help! [link] [comments] |
Possible to add an integer to a plot legend with matplotlib? Posted: 07 Jun 2020 06:30 PM PDT Hi I am new to Python and am making a set of scatter plots. I have found the correlation value for each plot and was wondering if there was a way to add this value to the plot's legend? If this is confusing please let me know I tried to include a picture but that appears to not be allowed. Thanks. [link] [comments] |
Posted: 07 Jun 2020 09:35 AM PDT I have about 2 months until it starts and I believe that I will be able to keep up with the class. But I was wondering if there was anything I could do to prepare myself for the workload. I might audit an MIT course on Python, which I signed up for on EdX Are there any easy/beginner projects I could do to get my feet wet? THX in advance :) [link] [comments] |
Posted: 07 Jun 2020 03:23 PM PDT I was downloading it from the apachefriends site but kept getting a warning from virus protector that both the website and downloaded file were non-secure and not to download them. Can anyone provide the correct site for the program? [link] [comments] |
Looking suggestions for Open source Map APIs for a Angular 9 project Posted: 07 Jun 2020 07:14 AM PDT I'm currently building an open source dashboard application, as part of this project it will be giving a visual representation of JSON data that originates from the UK Government Petition website. I want to pull out the values and associate them with a location in the map. Have you guys got good recommendations for an API suited for this purpose? [link] [comments] |
I'm a software developer and I feel like I missed the boat on phone app development Posted: 07 Jun 2020 03:50 AM PDT I hope this isnt a stupid question. For the last 20 years or so I've worked for different government contractors doing fairly large projects after coming to grips with things I can say that I'm competent enough to to know what Im doing in most cases. Recently my wife took a job in Germany so I had to leave my company, I figured with my down time I would start working on smaller projects to keep my skills sharp. I had an idea for a live wallpaper and I thought "how hard can it be?" I get android developer studio, and fire it up and holly cow has stuff changed. Kotlin, and fragments and god knows what else. Where's a good place for a seasoned java developer to start looking for up to date information. I see projects online for simple programs but there 5 to 9 years old if not older. I see my wife playing games and getting frustrated that its pay to keep playing or wait x. I know I wont be able to make the next candy crush or but I figured I should be able to make a simple word search game. I don't know I just feel lost. #EDIT thanks for the responses everyone. [link] [comments] |
What excites you about programming? Posted: 07 Jun 2020 08:16 AM PDT As a programmer, I have often wondered why it is I decided to start doing this. As we all talk about jobs or careers in the programming industry, I do believe it is important to spend some time reflecting why it is we are attracted to this field and how we specialize in it. For example, I found myself to be very interested in specific aspects of ML/AI. I also like web development, Databases, and Networking. But sometimes I lose motivation. So, I am wondering what it is that keeps everyone going? [link] [comments] |
Posted: 07 Jun 2020 06:23 AM PDT Hi, completely pretty new to c#, can you give me any insights on this error and how I can fix then It's kicking up two errors: "No overload for method 'Range' takes 1 arguments" Argument 2: cannot convert from '(float, UnityEngine.Vector2)' to 'float'" Thanks. Sorry if I am making stupid mistakes. Script below: using System.Collections; using System.Collections.Generic; using UnityEngine;
public class Spawner : MonoBehaviour { public GameObject flyingBlockPrefab; public float secondsBetweenSpawn = 1; float nextSpawnTime; public Vector2 spawnSizeMinMax; Vector2 screenHalfSizeWorldUnits; public float spawnAngleMax;
// Start is called before the first frame update void Start() { screenHalfSizeWorldUnits = new Vector2(Camera.main.aspect * Camera.main.orthographicSize, Camera.main.orthographicSize); }
// Update is called once per frame void Update() { if (Time.time> nextSpawnTime) { nextSpawnTime = Time.time + secondsBetweenSpawn;
float spawnAngle = Random.Range (-spawnAngleMax, spawnAngleMax); float spawnSize = Random.Range (spawnSizeMinMax.x, spawnSizeMinMax.y); Vector2 spawnPosition = new Vector2(Random.Range(screenHalfSizeWorldUnits.x + spawnSize), -screenHalfSizeWorldUnits.y, screenHalfSizeWorldUnits); GameObject newBlock = (GameObject)Instantiate(flyingBlockPrefab, spawnPosition, Quaternion.Euler(Vector3.forward * spawnAngle)); newBlock.transform.localScale = Vector2.one * spawnSize; } } } [link] [comments] |
Posted: 07 Jun 2020 06:58 AM PDT Even if you're just learning how to program, or if you've been programming for years. Join the Developers Inn discord server. The goal for the discord is to bring together a community of programmers of all skill levels to help each other, collaborate and projects and socialize together! If you would like to join the server, click the invite link below. - Sky [link] [comments] |
What is the simplest Unix command/utility? Posted: 07 Jun 2020 12:45 PM PDT What Unix command is, in your view, the simplest, and by what definition of "simplicity"? Perspectives based on multiple interpretations of the concept of "simplicity" are desired here. [link] [comments] |
Audio Event Detection. Find and remove censor beep Posted: 07 Jun 2020 08:59 AM PDT Hello AskProgramming. I am seeking guidance to identify the optimal way to identify then remove/replace the censor beep that is commonly used in tv programming (my dog is terrified of the noise and starts trembling when it happens...) I have next to zero programming experience, but after searching stackoverflow I found this python attempt After looking through that I think I am going to try: -Moviepy to take the audio from a video file and convert to .wav. -chop up the .wav file created into frames. -iterate over the frames and correlate to the censorbeep in another .wav file. Is this on the right track? My concern is there is a better/simpler way to do this since the beep is electronically added and is supposed to be 1khz. I saw someone mention onset detection as a possibility as well. Any guidance or suggestions is much appreciated. I am open to any solution, and don't want to go down a path that is inefficient as this will likely take me a lot of time. Thanks in advance. [link] [comments] |
I need to run multiple processes at once, which server should I use Posted: 07 Jun 2020 12:13 PM PDT I bough droplet on DigitalOcean 1GB and 1CPU. I'm running cronjob there. Currently I'm able to run 30 background tasks(processes) at once, once I go up server cannot handle that much. Those background processes are sending requests to an endpoint, collect a data to array and then send it to another endpoint. Each task process 100 data. Can you help me choose the right server. I'd like to run at least 100 tasks(processes) in the background at once. Should I buy more RAM or CPU? Here is current usage, I don't see that server is overloaded with 40 tasks but it can't handle it: https://ibb.co/pwSX35L What am I doing wrong? [link] [comments] |
Posted: 07 Jun 2020 11:38 AM PDT |
Posted: 07 Jun 2020 05:23 AM PDT I wanted to install Redmine on my home server, to i can look up what projects (remote repositories on my local server) I've worked on, with descriptions and the possibility to compare files from different commits. But i have trouble getting Redmine to work, and don't really need all the functions it has anyways. Is there a tool like that, that's easy to install where i can just see a description of my project and visualize the changes? The only ones i find are similarly complex. [link] [comments] |
HTML- How to change classes in one page with an onclick function in another page? Posted: 07 Jun 2020 11:14 AM PDT Basically title. I am trying to do a favorite page and wanted to make it so that when i pressed an icon in page 1, when i switched to the favorite page, the card would be there. And if I un-favorite the card, it would not be there anymore. But I can't find anything that explains how to do this. [link] [comments] |
Posted: 07 Jun 2020 10:56 AM PDT I'm using Confluent Platform v5.5.0 on a fresh install of Ubuntu 20.04 running in a VirtualBox VM. The VM is a guest on Windows 10 Home v10.0.19640, all running on a Dell G5 5587 laptop. I have Zookeeper, Kafka, Registry Schema, and REST Proxy all running after following the Confluent Quickstart steps: https://docs.confluent.io/current/kafka-rest/quickstart.html I've made no changes to any configuration, only downloaded Confluent 5.5.0 and started each of the 4 processes in separate Terminal windows. But, when I try to create a Consumer by POSTing the sample, the error shows a couple times in the REST Proxy Terminal window: [2020-06-07 10:26:38,403] INFO Terminate ZkClient event thread. (org.I0Itec.zkclient.ZkEventThread:83) [2020-06-07 10:26:38,440] ERROR Unhandled exception (io.confluent.rest.exceptions.KafkaExceptionMapper:123) java.lang.IllegalArgumentException: A HostProvider may not be empty! at org.apache.zookeeper.client.StaticHostProvider.init(StaticHostProvider.java:136) at org.apache.zookeeper.client.StaticHostProvider.<init>(StaticHostProvider.java:87) at org.apache.zookeeper.ZooKeeper.createDefaultHostProvider(ZooKeeper.java:1312) at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:951) at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:688) at org.I0Itec.zkclient.ZkConnection.connect(ZkConnection.java:70) at org.I0Itec.zkclient.ZkClient.connect(ZkClient.java:1228) at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:157) at org.I0Itec.zkclient.ZkClient.<init>(ZkClient.java:131) at io.confluent.kafka.utils.ZkUtils$.createZkClientAndConnection(ZkUtils.scala:95) I'm able to send GET requests to these endpoints http://192.168.1.164:8082/topics/jsontest http://192.168.1.164:8081/config and receive the topic list and configuration, respectively. So I think the REST Proxy is mostly working, but I'm missing something in a property file. I found this line in /etc/kafka-rest/kafka-rest.properties #zookeeper.connect=localhost:2181 but uncommenting it only gave the error: [2020-06-07 12:33:11,546] ERROR Server died unexpectedly: (io.confluent.kafka.schemaregistry.rest.SchemaRegistryMain:50) java.io.IOException: Failed to bind to /0.0.0.0:8081 at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:346) at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:307) at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:231) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) at org.eclipse.jetty.server.Server.doStart(Server.java:385) at io.confluent.rest.ApplicationServer.doStart(ApplicationServer.java:192) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) at io.confluent.kafka.schemaregistry.rest.SchemaRegistryMain.main(SchemaRegistryMain.java:43) Caused by: java.net.BindException: Address already in use Does anything stand out as something I've missed or done incorrectly? [link] [comments] |
Agile Methodologies and the v0.1.0 release, what should I include in the project? Posted: 06 Jun 2020 11:52 PM PDT I'm still getting used to Agile methodologies. Been trying to digest them for a few months now. While it's getting easier, I'm still getting suck on a few parts on the larger scale of things. I'm starting to grasp how each release should be just small changes to the product with constant deployments. However, how does this work on larger scales? More specifically, the v0.1.0 release of a project? The smallest usable version of a project can often take me months to write, (I work solo, and sometimes need to juggle several projects at once) which is a large contrast to the "release every few days" mentality Agile is built around. While I understand that a few months may not be very long in business scales, I write open-source software and am living donation to donation, lol. How do professionals in the industry tackle this? My question also highly encompasses new features that might require lots of work to get started. For me, I've noticed it's important to keep releases rolling to keep the public eye, so any and all advice would be greatly appreciated! [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