Tuesday, July 26, 2022

journal july 26th

 

I realize you've got you're own lives, so you don't need to read this. I'm in front of the computer a lot, and just typing things out comes most naturally. It's a journal, to get my thoughts out of my head and hopefully get back to what I need to do to move forward. I'm happy that there is a distributed systems paper group. It was a fun way to connect, and maybe something a little more neutral than asking for help with a project. I don't feel like I fit in where I live. There are a lot of React and C# development jobs, but I typically don't gravitate that direction. I thought I had it made when my HAM buddies challenged me to find a gig, and I found one on GitCoin for a known web3 project, but it got closed up when I pointed out a broken link in the documentation. Oh well. I spend a lot of time at home these days. It's frustrating that my interests don't seem to fit in with the local market. I've been into distributed/decentralized systems for about 10 years but it doesn't seem to be a thing here. I always have to remind myself to keep my chin up and focus on where I want to go, even if that means finding and investing in another community to succeed. I found a JavaScript discord that I wasn't aware of, so it is another place to look if I get totally stuck.
I think I will get back to working with group theory. I've been trying to figure out how this fits in with cryptography, and well category theory too. (It's a subset afaik). Tonight is the HAM thing. I guess if I cannot pull myself away from my project and learn something like React or C#, I could work at the drive-in for extra cash. Or just not bother, and read books and build projects for as long as I can. I think I've been pretty good about managing my money, with a few exceptions. I'll be going to the Internet Identity Workshop this fall. I hope to present on an abstract data model for dids and v.c. (if possible) and talk about my adventures with IoT. A friend of mine just sent me a cryptographic protocol that they developed. I'd like to check it out. If it can get me away from using an auxiliary cryptographic co-processor it could save on the complexity and unit cost.

Monday, May 2, 2022

String, Char *, and char[]

https://www.geeksforgeeks.org/convert-string-char-array-cpp/

https://www.techiedelight.com/convert-std-string-char-cpp/

https://www.geeksforgeeks.org/char-vs-stdstring-vs-char-c/


Wednesday, February 16, 2022

identity with skynet

 Identity with skynet:

https://blog.sia.tech/skyid-how-to-make-decentralized-identity-using-skynet-2b282682f5b3

 I wonder if they support verifiable credentials though....I suppose this would require a did method.... does skydb have a computer layer??? would this be needed?

I think something was said about creating a react app, so maybe this is possible.

Wednesday, December 29, 2021

Thoughts about my project (progress, maintainability, productivity)

Reposting from the techlahoma #tech-talk channel

I'm working on my project, but it seems to be taking awhile. I think about each part and built a small prototype of each part and then I piece these parts together thinking about the whole.

Does oop help organize all the moving parts so it is easier to rationalize?Maybe it is how my brain works, but I am basically forced to print my code out a lot, mark it up with pen,crayon, pencil, compare it  to new (and previous) code that works, and fit it into new code. In graduate school, I did a lot of procedural programming, and C is a procedural language. I do print out code that is written in typescript, so to extent it is my brain.I think writing tests both in Unity for C and Jest for typescript/javascript has helped me cover some bases. It hasn't always been TDD. I think some of the time I have had not but a vague idea of what I should code, and what libraries I should use, or what parts should be there. It was this should do this, or this should talk to this. ...Over time by working through it I discovered I also needed to do thisValgrind is a very useful tool for writing C code. It just saved the day today my reminded me I needed to initialize a struct. After I did this, my code worked in a much more desirable way. (edited)

I'm definitely coding by code I can find online. It is not always easy to know all of the code that I need to get small things to work. Some might call this boilerplate?zI remember starting out with HTTP requests, and then through discussions here, switching to websockets. I needed a persistent connection that did not hang up because I was constantly streaming data out. (if I recall correctly)My computer is littered with small programs that I have run or compiled. Some only have a small change from the next. At times when I have had the discipline to use Git my organization has improved. (edited)

I do get scenes like this quite a bit. There is nothing quite like printing stuff out and marking it up, whether it be code, a tutorial, or documentation.


I thought that maybe this should be a blog post.

Sunday, December 12, 2021

Thursday, December 2, 2021

Using Jest Links

https://www.valentinog.com/blog/jest/
Jest Tutorial for Beginners: Getting Started With JavaScript Testing, July 25, 2020 by Valentino Gagliardi

Expect a function to throw an exception in Jest, July 4, 2019 by ecadmin
https://eloquentcode.com/expect-a-function-to-throw-an-exception-in-jest

An Async Example : Jest
https://jestjs.io/docs/tutorial-async#resolves

Jest Partial Match:
https://codewithhugo.com/jest-array-object-match-contain/