Message from @DanielKO

Discord ID: 464546077757014026


2018-07-05 14:56:44 UTC  

i agree with anything that lets me avoid try/catch

2018-07-05 14:57:34 UTC  

A month or so ago I was doing some serial/FTDI coding. Rewrote a utility originally in C. Half of the original code was error handling and cleanup. The C++ version had just 5 lines in `main()` to report the error message, no explicit error handling or cleanup anywhere else.

2018-07-05 14:58:38 UTC  

nice

2018-07-05 15:00:54 UTC  

Any time an exception would happen, the class would properly reset the device to a known state. So I could just read/write without worry.

2018-07-05 18:57:53 UTC  

Ever since I started titling myself "Computer Programmer" I keep getting offered odd non-programming basic tech jobs by random people.

2018-07-05 18:58:25 UTC  

haha, because people don't know what "computer programmer" means

2018-07-05 18:58:55 UTC  

I helped fix my friends computer, and she goes "so this is what you do all day for work?" 😦

2018-07-05 18:59:57 UTC  

I told her I have IT people to fix my computer for me at work...but a lot of people just don't understand the differentiation between different tech specializations

2018-07-05 19:02:09 UTC  

I'm half tempted to take the jobs. If I can get a programmer cut for IT work

2018-07-05 19:06:08 UTC  

So far my trainer asked if I could set up his new laptop. Ok thats insanely easy, it basically does it all automatically. At most I might do a windows reinstall, even then its a button press. Other job was by a local coffee shop owner who wanted someone that could "hack" information. He wanted to make a dectective agency and wanted a tech guy. Kinda out there that guy. Even then, it would just be social engineering to get info which can be done by anyone that knows how to work social media

2018-07-05 19:22:46 UTC  

@meratrix
>be studying CS
>Family: CAN YOU FIX MY COMUPUTER???????????????

2018-07-05 19:22:56 UTC  

fucking yep

2018-07-05 19:29:06 UTC  

My family is picking up on the backlash to that sentiment, sloooooooooooooowly

2018-07-05 20:48:19 UTC  

CS doesn't involve knowledge of computer parts other than how they function in particular. Just tell them to find someone versed in IT or whatnot. x3

2018-07-05 20:48:47 UTC  

IT is a waste of time for programmers.

2018-07-05 20:51:07 UTC  

In regards to earlier: GC tends to be pretty resource heavy.

2018-07-05 20:51:14 UTC  

But GC is pretty essential.

2018-07-05 20:54:09 UTC  

Also, yeah, having a hard-on for programming in C++ is a bit detrimental, while it's absolutely essential to have fundamental knowledge of lower-level programs and how any language you're currently using that's higher level will be parsed and compiled into at a base level (for optimization purposes) holding onto only working in C++ just kills your ability to program something in a short/efficient period of time.

2018-07-05 21:39:23 UTC  

C++ is very high level dude.

2018-07-05 21:39:53 UTC  

The only edge other languages have is the easy-to-install 3rd party modules.

2018-07-05 21:40:15 UTC  

Who knows, maybe C++23 will have modules.

2018-07-05 21:40:27 UTC  

MS has been pushing for their own horrible package manager.

2018-07-05 21:44:47 UTC  

And I'll take RAII over GC any day.

2018-07-05 22:06:54 UTC  

GC is a tool for only one kind of resource, memory. RAII is more general. You can start to think about various things as resources that can be managed.

2018-07-06 00:54:32 UTC  

Well, I don't know about you, but I don't know many people that actually work directly with assembly. @DanielKO

2018-07-06 00:57:59 UTC  

I only work with it when I've reverse-engineering keygen mes.

2018-07-06 01:01:51 UTC  

``` L = L1;
L <<= 16;
L |= L2;
L >>>= 0;
R = R1;
R <<= 16;
R |= R2;
R >>>= 0;``` I remember this one.

2018-07-06 01:04:04 UTC  

And then my code comments like this.

https://cdn.discordapp.com/attachments/423219052849397773/464597366817947648/unknown.png

2018-07-06 02:45:29 UTC  

I only ever do littl snippets of inline stuff for specific functionality on embedded stuff now

2018-07-06 02:45:39 UTC  

but even that is super super rare

2018-07-06 02:46:00 UTC  

*ASM↑

2018-07-06 02:46:35 UTC  

I was the man with ARM32 ASM back in the day

2018-07-06 04:49:58 UTC  

https://cdn.discordapp.com/attachments/423219052849397773/464654218889003019/unknown.png

2018-07-06 04:50:03 UTC  

There was the logic for the mask.

2018-07-06 04:50:27 UTC  

It was a series of numbers that would follow under those specs.

2018-07-06 04:51:57 UTC  

I could have made a bitmask to clean it up, but yeah.

2018-07-06 04:52:01 UTC  

It's expanded logic.

2018-07-06 04:55:57 UTC  

The keygen after that was encoded with time hashes.

2018-07-06 04:56:01 UTC  

On blowfish.

2018-07-06 04:56:05 UTC  

That was... a hard one.