Faker
Faker
Explore posts from servers
KPCKevin Powell - Community
Created by Faker on 4/30/2025 in #help
Why big data storage medium like data lake, data warehouse and data lakehouse matters
Hello all, I have a question: I was reading a bit about big data in general and often, I came across the terms data lake, data warehouse and data lakehouse. I know each storage medium have their way of storing data, for example, from what I've read, data lake is more suitable to store unstructured data while data warehouse is more suitable for structured data while data lakehouse involves both. My question is, why can't we just use SQL databases or NoSQL databases?
8 replies
KPCKevin Powell - Community
Created by Faker on 4/28/2025 in #help
What is a socket and how does it work?
Hello guys, I have a quick question, previously I wanted to know what a socket is and how it works. I read a bit about networking in general and then tried to understand how sockets work. So basically, from what I've understood: 1. A socket is just an endpoint that enables us to read data or write data (just like a file can be read from or written to.) 2. Now, in the TCP/IP model, a socket is created, we give it an IP and a Port number. Then TCP will just to its things, wrap all packets, ensure they are assembled in required order or retransmit lost packets etc. 3. The underneath layer will then deliver the packets by some way. (Sockets doesn't do the communication themselves, instead the layers in the TCP/IP model does that, so socket is kind of just a label? Like ok this is the gate that is allowed to send data or receive data?) Can someone confirm whether the things said above is correct please... feel free to add up to it if needed.
4 replies
KPCKevin Powell - Community
Created by Faker on 4/27/2025 in #help
Should we ignore both node_modules and package.json files when pushing to a remote repo?
Hello guys, sorry to disturb you all... I have a quick question. I read that when creating a github repository and when pushing js files that uses external node libraries, we should ignore the node_modules since this will affect performance. Should I still upload the package.json file?
23 replies
KPCKevin Powell - Community
Created by Faker on 4/24/2025 in #help
Why are there so many JavaScript frameworks?
Hello guys, it's been sometime now that I have been using vanilla HTML/CSS/JS. I wanted to learn some frameworks just to see how all of that works and from what I've told, in real world/jobs, the majority of time, we use frameworks to do things. My first question is: What do we have so many frameworks from Next.JS to Angular.JS to Vue.JS to React.JS and so on please. Second is, if I need to learn a framework for JavaScript and also for CSS, are there any recommended frameworks please. (By the way HTML doesn't have any framework on its own? There are terms that I saw like pug, SASS etc I think, are these related to HTML ?)
164 replies
KPCKevin Powell - Community
Created by Faker on 4/23/2025 in #help
What's the difference between Vue/React Framework vs CSS Framework like bootstrap/tailwind
Hello guys, in the world of web development, there are lots and lots of framework and I was wondering, when people they "Vue" or "React" Framework, does this mean a global collection of HTML/CSS/JS working as one or like "Vue" framework related only to HTML and then, we add our CSS styling ? Like I once heard "use tailwind" for your CSS, I only know the word and from what I've read it's a framework for CSS (Correct me If I'm wrong pls)?
42 replies
KPCKevin Powell - Community
Created by Faker on 4/22/2025 in #help
Advice to become a better developer
Hello guys, I have a question. As a developer, whether it's for software development, web development, game development, how do we do to have a bit more "weight" towards our fellow friends? I mean if we consider fields like networking and security, their are lots and lots of certification but what about developments? What kind of certifications do we need to do/undertake please? Or beside certifications, what else can we do please. Say I want to be a software developer, what would be the right way to make myself a bit more "unique" ? (please bip me for a response)
20 replies
KPCKevin Powell - Community
Created by Faker on 4/21/2025 in #help
When accessing an API that needs authentication, where do we include API key?
Hello guys, when we need to access an API for a web service, I saw that sometimes the API is included in the URL itself, is it good practice? When can we do that or what are the other methods used to provide an API key to use a web service?
fetch("https://api.example.com/data?api_key=YOUR_API_KEY")
.then(response => response.json())
.then(data => console.log(data));
fetch("https://api.example.com/data?api_key=YOUR_API_KEY")
.then(response => response.json())
.then(data => console.log(data));
Do we do something like that?
28 replies
KPCKevin Powell - Community
Created by Faker on 4/18/2025 in #help
Arduino vs Raspberry pi
Hello guys, sorry to disturb you all... is there any expert in arduino or raspberry pi here please. I want to get started with IoT (internet of things), I want to have my own server (I saw someone on youtube creating his own server using only his rasbperry pi).... I don't really know what's the difference between an arduino or a rasbperry pi... would really appreciate if someone can just give me an overview and if someone can recommend me what to have to build my own server and just get started with IoT, will really appreciate :c
107 replies
CC#
Created by Faker on 4/16/2025 in #help
✅ Program is running in rider but I kept having the red line on my file names
No description
4 replies
KPCKevin Powell - Community
Created by Faker on 4/15/2025 in #help
Choosing appropriate database based on type of data
Hello guys, was just reading a bit about structured and unstructured data. I read that normally, social media posts unstructured data. Basically, in order to store unstructured data, we use databases like MongoDB (a kind of NoSQL database I think). My question is, I remember that I was doing a small project on a social networking site and I read in a post somewhere that it's better to use a relational database like Postgress rather than mongodb. Can someone elaborate why please. Because here we have both structured and unstructured data, so which kind of database/types of database would be the most appropriate.... is it possible to use a combination of both?
35 replies
KPCKevin Powell - Community
Created by Faker on 4/14/2025 in #help
Learning AI, ML and LLMs stuffs
Hello guys, I want to learn about ML and AI, how LLMs work and stuff like that, can someone recommend any good resource/books that englobe AI and its entirety please.
1 replies
CC#
Created by Faker on 4/13/2025 in #help
Trying to log database operations into file and insert values into db using ef core at same time
Processing failed: The process cannot access the file 'C:\Users\user\RiderProjects\TestMigrations\driving-school-booking-system\MainProject\MainProject\Logs\logs.txt' because it is being used by another process.
Processing failed: The process cannot access the file 'C:\Users\user\RiderProjects\TestMigrations\driving-school-booking-system\MainProject\MainProject\Logs\logs.txt' because it is being used by another process.
Hello guys, I'm trying to read from a file and inserting into my database, which I was able to do. The problem is since database is already in used, I'm not being able to log the operations in my log file. So I was wondering what is the issue here, is it some kind of threading issue where same thread can't access database more than once and we can resolve it using some kind of multi-threading ?
12 replies
CC#
Created by Faker on 4/12/2025 in #help
Reading CSV file in C#
Hello guys, quick question. I need to read a csv file. Is there any recommended way of doing it or I just stick with the classic way of reading the file line by line and spliting them by the common delimiter? I read that their are in-built libraries for CSV, should I use them ?
24 replies
CC#
Created by Faker on 4/12/2025 in #help
✅ namespace and using keyword in C#
Hello guys, I have a quick question. I don't understand, when do we use the using keyword and the namespace keyword... can they be used interchangeably ? (don't remember if I once saw a namespace along with a library name... is that even allowed?) . Now, the namespace, sometimes I saw something like that: namespace {...}like we have the curly braces but sometimes we don't. My IDE always do the heavy lifting but I wanted to understand what the syntax is :c. Do we use the keyword using when we need to use certain libraries? While the keyword namespace is used to related to certain folders/cs files? I'm a bit confused here :c... what about the namespace {...} syntax please
C#
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.EntityFrameworkCore.Diagnostics;

namespace MainProject.Context;
C#
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.EntityFrameworkCore.Diagnostics;

namespace MainProject.Context;
11 replies
CC#
Created by Faker on 4/10/2025 in #help
How to interpret IDE suggestions like method signatures
No description
9 replies
CC#
Created by Faker on 4/10/2025 in #help
Rider suddenly can't run source code, SDK issue
You must install or update .NET to run this application.

App: C:\Users\Test\RiderProjects\driving-school-booking-system\MainProject\MainProject\bin\Debug\net8.0\MainProject.exe
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '8.0.0' (x64)
.NET location: C:\Users\Test\.dotnet

The following frameworks were found:
9.0.0 at [C:\Users\Test\.dotnet\shared\Microsoft.NETCore.App]
You must install or update .NET to run this application.

App: C:\Users\Test\RiderProjects\driving-school-booking-system\MainProject\MainProject\bin\Debug\net8.0\MainProject.exe
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '8.0.0' (x64)
.NET location: C:\Users\Test\.dotnet

The following frameworks were found:
9.0.0 at [C:\Users\Test\.dotnet\shared\Microsoft.NETCore.App]
Hello guys, I don't understand, code was working and running fine yesterday. When I try to run it this morning, this error occured. In my sdk folde, ,in the dotnet folder, I have both sdk 8 and 9 but code doesn't run
6 replies
CC#
Created by Faker on 4/6/2025 in #help
Implementing IEnumerable<> for a custom hash table data structure to be able to use LINQ
Hello guys, I needed to create a hash table from scratch. Now, I want to use that hash table with LINQ. I read that we need to implement the IEnumerable<>. That done, my IDE yell at me to use the follwing methods:
C#
public IEnumerator<V> GetEnumerator()
{
throw new NotImplementedException();
}

IEnumerator IEnumerable.GetEnumerator()
{
return GetEnumerator();
}
C#
public IEnumerator<V> GetEnumerator()
{
throw new NotImplementedException();
}

IEnumerator IEnumerable.GetEnumerator()
{
return GetEnumerator();
}
I believed it's mandatory to implement them since they are part of the interface. My question is, what is theur usage, why do we need them? The implementation given is what my IDE gave me, do I need to add more logic to it?
45 replies
KPCKevin Powell - Community
Created by Faker on 4/5/2025 in #help
Virtual Machine (VM) vs Docker
Hello guys, sorry to disturb you all... I just have a quick question about one of the tools used in DevOps. I was reading that Docker is one of the tool used. I've read a bit about it and from what I've understood, it's just a package/container that contains standardized units (runtime, dependencies, code, etc...) that can be run anywhere (when we say anywhere, this means on any OS and machine independent ?). My question is, why do we need to use docker... I've never used it but I know it's extensively used. I know when we need to "deploy" an app, we would use docker, but why ? When we say "deploy" an app using docker, where is it deploy? Last question, how is a docker different to a virtual machine and when is one better than the other? I read that VMs have specific resource allocated to them while they are running, while dockers share resources.
14 replies
KPCKevin Powell - Community
Created by Faker on 4/3/2025 in #help
Proxy vs Reverse Proxy
Hello guys, I was just reading a bit about proxy and reverse proxy. Can someone confirm whether my understand is correct please: 1. In proxy (forward proxy), the proxy hides the ip of the clients, so we don't know who request what. 2. In contrast, for reverse proxy, the ip of the servers are hidden. We don't know how sent what. Can someone explain why proxy and reverse proxy are important please. I read that reverse proxy is used for load balancing because when we send a request, the reverse proxy can decide which server to use in contrast with forward proxy (does forward proxy only has one server?).
17 replies
CC#
Created by Faker on 3/31/2025 in #help
Resource to learn making GUI in C#
Hello guys, is there any recommended resource to start making GUI from scratch in C# please
37 replies