Re: How to debug a segmentation fault?

2019-12-09 Thread AmbrusFernas
I'm working on a Reverse Polish Notation calculator for my Data Structures 
class and I get a segfault when I pass arguments to the program at runtime. How 
do you guys troubleshoot errors without line numbers?


Re: Fastest way to check for int32 overflows

2019-12-09 Thread AmbrusFernas
I tried searching it but I couldn’t find anything, could have been me not using 
the right words though 

Anyway, why are i32 integers the fastest when performing calculations? I think 
this is the case for C/C++ too so I’m assuming it’s an architectural thing.


Re: Nim compiling using MS VS2015 (windows)

2019-12-09 Thread AmbrusFernas
iv made some progress. so uh... 
[https://gyazo.com/47eb4eac97fa584b10f26e9a6b8b765e](https://gyazo.com/47eb4eac97fa584b10f26e9a6b8b765e)
 i was following the guide and this step doesnt seem doable (bin/nim c koch) 
the bin is empty. also tried using the aphoria ide but there isnt and exe to 
run it. i appologize if im coming off like an idiot. im eager to learn and 
figure this out so i figured ill look like an idiot now and laugh about it 
later.


Any decent non-video async socket tutorials in c#?

2019-11-28 Thread AmbrusFernas
ust like the title states, I'm looking for some tutorials in regards to 
sockets... my story is long, but I'll keep it brief.

Originally, I was trying to do client-to-mysql forms for fun. Realized there 
was no way to store a DB password in client code securely, so I wanted to start 
working with a client-to-server-to-mysql.

I was actually aware of sockets, but not really 'woke' to the concept of 
sockets, sync, and async. I started a tutorial with a basic client-server 
connection, realized it was a Sync type, and would not work for my project.