October 25, 2024
Chicago 12, Melborne City, USA
C#

16 bit C code for real mode kernel

I don’t know how to compile my C kernel for 16 bit real mode. I have tried a variety of compilers with no luck. My bootloader simply loads raw sectors from the floppy (my kernel lives right after the first sector on the disk) to the physical memory address 1000h:0000h then jumps to it. How

Read More
java

Why do Java packages look like folders?

This is what it looked like before… This is how it looks now… From one moment to the next they were changed and I don’t know if it was due to configuration, but the icons only appear as folders even if I created them as a package I also don’t know if that can affect

Read More
python

What do ai programmers do these days (how do they work)

Hi everyone this is my first post. I have recently started programming (3 months at most) and had this road: python basics –> pandas numpy matplotlib and scipy –> scikit –> tensorflow and keras. All of that I have learned more or less superficially tho. Of course later on I will reinforce my knowledge (both

Read More
GPL

Free GPL Menu by User Role for WordPress

What is Menu by User Role for WordPress? Menu by User Role for WordPress is a great little plugin that gives you the ability to create a Public Menu, a menu for users Logged in and menus for each User Role defined in your WordPress website. The plugin gives you complete control over the menus in your WordPress-powered website.

Read More
javascript

How to compare two big number in javascript

Why below code output result is equal? How to compare? var num1 = 340282000000000000000000000000000000001 var num2 = 340282000000000000000000000000000000000 // 3.402823E+38 if(num1 == num2) { console.log('num1 equal to num2'); } else if(num1 > num2) { console.log('num1 bigger than num2'); } else { console.log('num1 lower than num2') } You need to sign in to view this answers

Read More
security

Share of networking in the field of Cybersecurity

what is the share of networking (field or study) in the cybersecurity. Is every cybersecurity expert should study networking and to what extent. Additionally there is a slit difference between a Cybersecurity Expert and Ethical Hacker? I ask a question on Networking and cybersecurity You need to sign in to view this answers

Read More
SQL

How can I implement only tables into my environment?

すっきり分かるSQL入門第4版を学習しているんですが、自分のSQL Workbenchで参考書のテーブルを作って、その中で参考書に沿った学習をしたいんですが、どこでテーブルのみは確認できるんでしょうか? 公式などで挙げられていますか? 実際に調べてみると、たくさんありすぎて、どの問題のどのテーブルなのかわからなくなりました。 自分の見ている場所があっているのか、やり方が間違っているのか教えてください。 また、MySQLでの学習する際にどういったことを考えながら学習していけば良いんでしょうか? You need to sign in to view this answers

Read More
CSS

How auto execute function and change stroke color to svg by percent?

I’m aproach tto js but I’ve many difficult to do the below action. I’m using the circlifull jquery for a data counter in my web page, the data is calle ny api from the server and sent to the page by modifying the css. I have difficult to change the attribute stroke to class "circle"

Read More
C++

Problems with C file access arguments

I’m trying to learn C by making a basic daemon. I’m struggling to understand reading and writing files, since the arguments are correct to most posts and docs. My code is below: #include<stdio.h> #include<stdlib.h> #include<unistd.h> #include<stdbool.h> #include<stdint.h> #include<string.h> #include<signal.h> #include <libnotify/notify.h> #define EXIT_SUCCES 0 #define EXIT_FALIURE_READING_FILE 1 #define EXIT_FALIURE_LIBNOTIFY 2 char *ProgramTitle = "styckynotes"; char

Read More
HTML

Javascript stops working after highlighting search results

I put together some code for a simple search bar with a predefined list of search terms to highlight words on the page that matches the search. Everything works fine, but after clicking on a search result to highlight the words on the page, the javascript completely stops working until the page is refreshed. Here’s

Read More