How to learn cybersecurity/hacking by yourself Ask Programming |
- How to learn cybersecurity/hacking by yourself
- How to get the square root of a number to 100 decimal places without using any libraries or modules (Python)
- Get a static variable in another function (C)
- Do I need to know any programming basics in order to go to college?
- Assignment Help
- How can I detect lost of precision due to rounding in both floating point addition and multiplication?
- Suggestion for a work laptop
- Help with my python programing class
- Developing a cross-platform desktop application with a frontend in HTML (Any Language)
- Database choice
- Data Structures for Compression?
- Code in C++ won’t update in terminal
- What is the exact CPU instruction for addition?
- How to avoid both GNU Make and shell from unwrapping the commas and apostrophes when defining variables
- Retrieveing and parsing HTML data in the browser.
- While loop ends program (C)
- Given raspberry pi on work to solve server side issue, is it really possible?
- How does this LinkedIn profile look to you?
- Seeking help with my program's results.
- Is it true that I should learn React Native over Flutter if I want to get a job, currently?
- Paralax scrolling effect (multiple images) HTML
- How to scrape/read a DOM of a website (in C/C++)?
- Viewing full page source with python and selenium
- Reactive Java Applications Repositories
How to learn cybersecurity/hacking by yourself Posted: 10 Oct 2020 12:05 PM PDT I am currently in high school and am very interested in cybersecurity/hacking, however, I have no idea where to start. I know Python basics, but that's about it. I'd like to have an as deep as possible understanding so I think first learning computer science topics might be good (I found the website teachyourselfcs.com, don't know if it is good for this though). I was also recommended to do CTFs (which sound very fun and interesting), but as said I want to have a deep understanding so I think first learning CS is important, instead of just learning through trial and error from the ground up (obviously I'll do a lot of trial and error once I know CS, if you recommend me to learn CS first, but not without any previous knowledge, which is probably more effective). Under no circumstance do I want to be a script kiddie, because as said I want to understand everything deeply (I prefer to write things myself instead of using already existing tools, as I exactly know how everything works and can also adjust it). So, how can I learn cybersecurity/hacking by myself? What resources should I use? What topics should I learn? What concepts should I understand? What programming languages to learn? How to write malware? How to find exploits? Do I need to know about hardware (ex. electrical engineering) to be a good hacker/cybersecurity engineer? etc, etc. Thanks [link] [comments] |
Posted: 10 Oct 2020 08:59 AM PDT For a college assignment, I've been tasked to get the square root of a number to 100 decimal places I've found an easy way of getting the square root, but the output only goes as far as 52 decimal places before defaulting to outputting zeroes i.e
The output of this is 1.4142135623730951454746218587388284504413604736328125000000000000000000000000000000000000000000000000 so as you can see it defaults to zeroes around half way through the number. I understand why Python won't do more decimal places as its just an approximation https://docs.python.org/3.4/tutorial/floatingpoint.html Any way of making the result more accurate without using any imports/libraries etc.? [link] [comments] |
Get a static variable in another function (C) Posted: 10 Oct 2020 07:31 PM PDT How would I make a function to retrieve the current value of counter? I'm thinking I would need to use pointers, but I'm not sure how. [link] [comments] |
Do I need to know any programming basics in order to go to college? Posted: 09 Oct 2020 10:57 PM PDT I have just started learning Python and thought that it might be a very good idea if I went to college next year (I'm in 12th grade now) and study programming. But I have some questions: Do I need to know programming basics in order to pass the admission exam for college? Or do universities not require you passing any admission exam and you just start to learn about programming in college? I know it depends on the university, but I would like to go to one that will offer me a good education and will enable me to find a job as a programmer after graduation. I don't want to spend 3 or 4 years in college just to learn how to say "Hello World" and then to work for Mc Donald's. I would be very grateful for productive answers. [link] [comments] |
Posted: 10 Oct 2020 06:55 PM PDT Hi, I just started into my second year of robotics and AI in university and was given an exercise for next week to create a programme that can compute an equation in Python. Although I'm struggling to understand the actual equation, would anyone be able to explain it to me? dy(t)/dt = -y(t) + 1; y(0) = 0 Thanks [link] [comments] |
Posted: 10 Oct 2020 12:08 PM PDT |
Posted: 10 Oct 2020 05:47 PM PDT So my work doesn't provide laptops and instead request their employees to get their own based on their preference and they will fully reimburse the cost. I personally own a Mac and haven't used a Windows PC in quite a while. Following would be the recommended specs: Core i5, storage upto 1TB, 8-16 GB ram. I don't what exact tools I'd be using in addition to an IDE and othe specific tools given it's a programming role. Anywhere upto $1100 USD should be good enough. [link] [comments] |
Help with my python programing class Posted: 10 Oct 2020 01:32 PM PDT Hey all I have a python assignment and I can't figure this question out "Final grades will be entered for a class, one at a time. Determine the number of passing and failing grades and display the output. The input will terminate when the user enters a grade of 999." How would you write a code for this in python? [link] [comments] |
Developing a cross-platform desktop application with a frontend in HTML (Any Language) Posted: 10 Oct 2020 01:09 PM PDT I'm looking for a way to develop a desktop application where the "frontend" GUI is written in HTML, and the backend can be Javascript, Python, C#, or Java (C# is most preferred and Javascript is least preffered, but I can work with any of these), and I want something that isn't Electron or NW.JS, anything that doesn't ship a full Chromium browser. I saw Wails for GOlang and I saw some demo projects which looks promising and have a tiny executable size (<10mb), but I have little experience in GO and don't want to use it. [link] [comments] |
Posted: 10 Oct 2020 11:29 AM PDT Hi all, I am crawling a few websites to get product information. For now, I am storing product URL, product name, price, vendor_name/website. The user will access the website to check prices, filter based on the type of product. Which database do I use? I am familiar with RDBMS like MySQL/MariaDB. Given that the user will search a lot I felt its better to use something like elastic search. I am aware I can use regex searches in MySQL too, but based on a bit of Googling I see elastic search is great for full-text searches, is a NoSQL DB, good with pretty much anything and newer version are very resilient/reliable. The aim of building this application is just to learn some new stuff and If what I build is good enough may be used by 50k people Maxx(Upper limit). MySQL/MariaDB have free instances in Heroku. Anything similar for elastic search? Which is free or very very cheap? I checked bonsai(Heroku add-on) anything cheaper and can handle the traffic I mentioned? Is elastic search really the best NoSQL solution for the job or something like MongoDB will be better for the use case? [link] [comments] |
Data Structures for Compression? Posted: 10 Oct 2020 09:04 AM PDT So we have to make a project for our Data structure course. I am thinking of making/implementing a conpression algorithm. I know huffman coding uses Trees but this project is already taken. So I want to implement some other compression algorithm What compression algorithm uses DS as its implementation? What Data structures are used for that specific algorithm? [link] [comments] |
Code in C++ won’t update in terminal Posted: 10 Oct 2020 02:57 PM PDT (I am using visual code studio) Trying to test some simple text code in the terminal in visual studio code, but it won't update when I change anything in the code I am very new to coding, just simply writing a piece of code that says "You have (int. value) pieces of pie" I downloaded a compiler, named "code runner" and I pressed ctrl+alt+n to start the compiling, it says its running and then done with the text "exited with code=0" and when I try to test the code again, nothing updates Anyone know if I'm doing anything wrong? Thanks! [link] [comments] |
What is the exact CPU instruction for addition? Posted: 10 Oct 2020 02:49 PM PDT I remember doing this a long time ago at college, but I copletely forgot, and am unable to get to the answer on my own. So what bit shift or mask or whatever is used when adding or substracting 1? I'm interested in overflow / underflow. Getting from EDIT: x86 architecture. [link] [comments] |
Posted: 10 Oct 2020 02:32 PM PDT If you don't mind, please respond here: Stackoverflow link [link] [comments] |
Retrieveing and parsing HTML data in the browser. Posted: 10 Oct 2020 11:59 AM PDT I either get an CORS error or empty response body when I try to do something like this:
[link] [comments] |
Posted: 10 Oct 2020 11:16 AM PDT Hello fellow programmers! I'm new to the programming world so don't judge me, haha! So, I came upon a small problem. I'm developing a small terminal (command prompt) game in C, based on RNG. I know C isn't convenient language for game programming, but have in mind this game is based on my current knowledge of the language (including functions, pointers, dynamic allocation and structures). I work in Visual Studio, and I stumbled upon a problem while writing while loops. I tried isolating different blocks of code in order to see where is the problem (compiler doesn't show any errors) and I realized Visual Studio compiler works on principle where after while loop ends, code ends also. You can see that I wrote this code:
In order to check if this was true, and it turns out it was (this is do-while loop, same thing happens with while loop). After while loop ends puts("Game over!") doesn't print on my screen. When while loop ends, cmd prompt actually closes itself. Program just escapes basically from cmd prompt. Do you know why is this an issue? [link] [comments] |
Given raspberry pi on work to solve server side issue, is it really possible? Posted: 10 Oct 2020 06:16 AM PDT I am not sure whether this should be posted on r/cscareerquestions or here. I decide to post it here because title of my post. Got my first developer job, my main responsibility is to ensure that devices work seamlessly with raspberry pi, printer, and odoo. Some errors arise, it's from server side. But here's the problem, they didn't provide workstation/PC for me. So I took one of their raspberry pi, monitor, keyboard, and mouse to use for development while in the job. I don't have laptop and they know it. It's been a month since they promised to get me a computer. My understanding is that, whenever there's issue related to server side code, I will create localhost of exact same copy in my own computer, then try to re-create the issue and attempt to solve it. But I am not even given read access to development server (file and folder structure, I got frontend GUI/website access), not production. I spoke with co-worker, who's in the same boat as me. He installed the odoo community edition (different than enterprise ones), and load up whatever in their git repository. He has a Macbook (not provided by company), I don't. So my question is: is it really possible to do it in raspberry pi? Am I expected to bring my own device? Am I missing any technical skill that I am not aware of? [link] [comments] |
How does this LinkedIn profile look to you? Posted: 10 Oct 2020 08:50 AM PDT I need some feedback on my LinkedIn profile: https://www.linkedin.com/in/jonas-hendrickx/
I may have job hopped from 3-5, but the rest was circumstantial. Does this look alarming to you? It seems to be getting noticeably harder to be noticed by recruiters. [link] [comments] |
Seeking help with my program's results. Posted: 10 Oct 2020 08:50 AM PDT Hello all. I am currently writing a program in C++ that will calculate the total price of three types of items (consisting of chairs, tables and desks), where the user is asked if he or she wants to purchase the items and has the opportunity to input "no" if he or she does not want to buy one or more of the items. I am attempting to accomplish this task using if/else statements and multiple functions, and I have largely been successful thus far. However, if the user does not input no ( or an indicated variant) or yes ( or an indicated variant) then I have written the program such that it will inform the user that his or her input is invalid and it will then re-ask the question by calling the function again. This was all well and good until I realized that if the user did enter an invalid input and then entered yes when the question was asked again and then entered a number, that in the final calculation it would not consider the value that the user input and just default to 0. So it obviously has something to do with the recalling of the function when the user enters an invalid input. However, I can not identify the source of the problem for the life of me ( I am novice programmer). If anybody has any idea of what might be causing the problem please let me know. Any suggestions are welcome of course! I will copy and paste the contents of my program below. Note that if you see any weird backward slashes (\) that don't look like they should be there, then they are probably not in my actual program. For whatever reason when I copy and paste my code into a reddit post a bunch of backward slashes get added. I fear editing them out may result in disorganization in the post and make my copy and pasted code become unreadable. #include <iostream> #include <iomanip> #include <cmath> #include <string> using namespace std; int chair(); int desk(); int table(); int chair() { } int desk() { } int table() { } int main() { } [link] [comments] |
Is it true that I should learn React Native over Flutter if I want to get a job, currently? Posted: 10 Oct 2020 07:37 AM PDT |
Paralax scrolling effect (multiple images) HTML Posted: 10 Oct 2020 07:32 AM PDT Hi all, just wondering if anyone has any experience with creating anything similar to this. The idea is the same as this video: https://www.youtube.com/watch?v=0ITA_pwfzDE&t=92s&ab_channel=Webflowwhere images scroll at different speeds depending on z co-ord. However, I'm coding in HTML, CSS and Javascript if need be. Any help is greatly appreciated. [link] [comments] |
How to scrape/read a DOM of a website (in C/C++)? Posted: 10 Oct 2020 05:35 AM PDT hello, I'd like to learn how to read a DOM of a website in C/C++ (in windows). I'd want to not use an external library, but I can use winapi at least. [link] [comments] |
Viewing full page source with python and selenium Posted: 10 Oct 2020 05:34 AM PDT I am retrieving the full page source of a web page using a web driver, yet I notice that it is incomplete. I think that this may be because of "lazy loading", but I am unsure of how to fix it in selenium. [link] [comments] |
Reactive Java Applications Repositories Posted: 10 Oct 2020 04:04 AM PDT Hi everyone, Does anyone know any repos where I can find real examples of Reactive Applications written in Java/Kotlin and SpringBoot? Saw plenty of sample apps, especially the ones shown at Spring conferences/presentations, but they don't represent "real world" app examples. I would like to explore bigger reactive apps and how they're built, especially with microservices architecture, but haven't found any public repos. If you know any would you share it? Thank you in advance. [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