);
diff --git a/src/components/jobs/Jobs.tsx b/src/components/jobs/Jobs.tsx
index a9d649f..1094e11 100644
--- a/src/components/jobs/Jobs.tsx
+++ b/src/components/jobs/Jobs.tsx
@@ -6,12 +6,9 @@ import "./Jobs.css";
export default function Jobs() {
return (
-
-
Work
-
- {AllJobs.map((job, i) =>
)}
-
+
+
Work
+ {AllJobs.map((job, i) =>)}
)
diff --git a/src/static/data/Hobbies.ts b/src/static/data/Hobbies.ts
index 4141af3..2031a5c 100644
--- a/src/static/data/Hobbies.ts
+++ b/src/static/data/Hobbies.ts
@@ -10,6 +10,14 @@ const RunningHobby: InfoCardProps = {
listClassName: "col-12"
}
+const Lifting: InfoCardProps = {
+ title: "Lifting",
+ description: "Once I was done with cross country, I was so used to working out everyday, I just couldn't stop. I started lifting as a break from my 6 years and 10,000 miles of running and really really liked it.",
+ listTitle: "Personal Records",
+ list:["Bench - 235lbs", "Squat - 345lbs", "Deadlift - 345lbs (I think)"],
+ listClassName: "col-12"
+}
+
const VideogameHobby: InfoCardProps = {
title: "Video Games",
description: "Video games are what got me interested in programming in the first place. I tend to play them a lot less now in favor of programming though, I'll occasionally sink a couple hours into a game.",
@@ -17,5 +25,5 @@ const VideogameHobby: InfoCardProps = {
list: ["Galaga", "Clone Hero", "Minecraft"]
}
-export const AllHobbies: InfoCardProps[] = [RunningHobby, VideogameHobby];
+export const AllHobbies: InfoCardProps[] = [RunningHobby, Lifting];
diff --git a/src/static/data/Jobs.ts b/src/static/data/Jobs.ts
index 0de9efa..5ffe010 100644
--- a/src/static/data/Jobs.ts
+++ b/src/static/data/Jobs.ts
@@ -1,7 +1,8 @@
import Job from "../../types/Job";
import VrboImage from "../images/vrbo-logo-min.png";
import CavImage from "../images/cavcash-logo-min.png";
-import ChicksImage from "../images/chicks-logo.svg";
+import ChicksImage from "../images/chicks-logo.png";
+import CompImage from "../images/compwallet-logo.png";
const VrboJob: Job = {
title: "Data Scientist",
@@ -19,15 +20,13 @@ const VrboJob: Job = {
const CavCashJob: Job = {
title: "CEO & Software Engineer",
- company: "CavCash Inc",
- timespan: "May 2017 - Present",
+ company: "CavCash",
+ timespan: "May 2017 - April 2021",
items: [
"Founded the company",
"Wrote a C# webAPI",
"Managed mongoDB and MSSQL databases",
- "Deployed and maintained k8s clusters on bare metal",
- "Managed CI/CD & DevOps in Azure DevOps",
- "Ran & migrated services between Azure, AWS, and GCP"
+ "Deployed and maintained k8s clusters on bare metal on in-house datacenter",
],
image: CavImage
}
@@ -36,7 +35,7 @@ const ChicksJob: Job = {
title: "Software Engineer",
company: "Chicks Gold",
uri: "https://chicksgold.com",
- timespan: "April 2021 - Present",
+ timespan: "April 2021 - October 2021",
items: [
"Added features & bugfixes to .NET 5 API",
"Added features & bugfixes to Aurelia website",
@@ -46,6 +45,18 @@ const ChicksJob: Job = {
image: ChicksImage
}
+const CompWalletJob: Job = {
+ title: "Chief Technology Officer",
+ company: "Casino CompWallet",
+ timespan: "October 2021 - Present",
+ items: [
+ "Architected & built in-house advertising platform",
+ "Work on Ruby-On-Rails API",
+ "Updated a React Native mobile app used with ~15,000 users"
+ ],
+ image: CompImage
+}
-export const AllJobs: Job[] = [VrboJob, CavCashJob, ChicksJob];
+
+export const AllJobs: Job[] = [CompWalletJob, CavCashJob, ChicksJob, VrboJob];
diff --git a/src/static/data/Projects.ts b/src/static/data/Projects.ts
index 740559f..ede3af9 100644
--- a/src/static/data/Projects.ts
+++ b/src/static/data/Projects.ts
@@ -2,13 +2,22 @@ import InfoCardProps from "../../types/InfoCardProps";
const WebsiteProject: InfoCardProps = {
title: "personal-site (this website)",
- description: "As a primairly backend guy, I wrote my last website as a JSON file (imatating a webAPI). Feedback showed that that was a bad idea so I made this pretty neat site (in my opinion). If you like it, feel free to use it yourself!",
+ description: "As a primairly backend guy, I wrote my last website as a JSON file (imatating a webAPI). Feedback showed that that was a bad idea so I made this pretty neat site (in my opinion). If you like it, feel free to use it yourself! The backend is run in a homemade datacenter (a few Dell Poweredges on a rack) running on Kubernetes.",
listTitle: "Technologies & Resources used",
list:["React", "Typescript", "Bootstrap", "Icons8", "Docker", "Kubernetes"],
link: "https://github.com/nickorlow/personal-site",
linkTitle: "GitHub Repo"
}
+const RoomyProject: InfoCardProps = {
+ title: "roomy-sentry",
+ description: "Built software to monitor the presence of a person based on sniffing the wi-fi packets of their mobile devices. Practically used in order to tell if my roommate is home.",
+ listTitle: "Technologies Used",
+ list: ["C#", ".NET 6", "NoSQL", "Docker", "nginx", "React Native", "Cloudflare"],
+ link: "https://github.com/nickorlow/roomy-sentry",
+ linkTitle: "Github Repository"
+}
+
const CavCashProject: InfoCardProps = {
title: "cavcash",
description: "CavCash started as a project in 2017 as a way to pay with flashdrives. After recruiting a few friends to help me, we build ourselves into a PayPal competitor but shutdown due to funding. I continued to re-write the platform as a cryptocurrency.",
@@ -36,5 +45,5 @@ const SPONODEProject: InfoCardProps = {
linkTitle: "GitHub Repo"
}
-export const AllProjects: InfoCardProps[] = [WebsiteProject, CavCashProject, XenMapProject, SPONODEProject];
+export const AllProjects: InfoCardProps[] = [WebsiteProject, RoomyProject, XenMapProject, SPONODEProject];
diff --git a/src/static/data/blogs/c-sharp-c-assignment.md b/src/static/data/blogs/c-sharp-c-assignment.md
new file mode 100644
index 0000000..9759468
--- /dev/null
+++ b/src/static/data/blogs/c-sharp-c-assignment.md
@@ -0,0 +1,71 @@
+# Doing C assignments in C#
+
+Thanks to Arpan Dhatt for doing most of the work on this (his blog here: [https://arpan.one/posts/messing-with-gradescope/](https://arpan.one/posts/messing-with-gradescope/))
+
+At the end, he made this comment:
+>And so, that's the end of this post. To whom it may concern, don't try doing your C assignment in C# (you know who you are).
+
+The reason for this comment (besides the fact that I talk about C# a lot) is due to the fact that C# requires a runtime to be installed for it to work. This is because C# does not compile to native bytecode but rather compiles to an intermediary language (dubbed CIL by Microsoft) and is then translated 'Just In Time' by the runtime.
+
+This makes running assignments in a docker container where the runtime is not already installed considerably hard. One option we have is that we could just include the runtime in our submission. Sounds easy, right? Well it would be non-trivial to do but due to the fact that the .NET runtime is very large, I wouldn't consider this a good idea (Not to mention it's super boring).
+
+The better solution is to use .NET's (experimental) AOT compilation feature (formerly called CoreRT). C# has had a number of attempts at an AOT compiler such as :
+
+- List
+- LLD2CPP built by Unity
+
+We'll be using the official AOT compilation built by Microsoft. In order to use it, all you have to do is add the following to your `nuget.config`:
+```xaml
+
+```
+and then install the package: `Microsoft.DotNet.ILCompiler`. After doing that if you run the command: `dotnet publish -r [Runtime] -c [Config]` and after waiting a considerable amount of time, you'll have a full-fledged C# application compiled directly to your target runtime's bytecode!
+
+Compiling my simple Hello, Wold test to linux-x64 (`dotnet publish -r linux-x64 -c Release`) and adding it to my project files should let me run it using the same method Arpan used in his blog.
+
+But running that command gives this beautiful error:
+`Cross-OS native compilation is not supported. https://github.com/dotnet/corert/issues/5458 [.../CSharpAOTCompilation/CSharpAOTCompilation/CSharpAOTCompilation.csproj]`
+
+This (unfortunately) means that I need to either find a Linux machine to run this on or spin up a docker container to compile it for me. Luckily, I'm pretty good with docker and was able to spin this Dockerfile up relatively quickly that allows for this compilation:
+```dockerfile
+
+```
+
+After doing that, we can follow the instructions followed by Arpan and viola! C# runs on Gradescope!
+
+I don't recommend this but it was fun to do and I needed stuff to write in a blog.
+
+## Other Interesting (Low Level) C#/.NET Features
+
+C# actually has many lower level features people don't expect it to have. Some of these include pointers and direct memory management. Pointers can be enabled by encasing your code in an unsafe code block.
+
+Example (Written by [Microsoft](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/unsafe-code))
+```c#
+
+// Normal pointer to an object.
+int[] a = new int[5] { 10, 20, 30, 40, 50 };
+// Must be in unsafe code to use interior pointers.
+unsafe
+{
+ // Must pin object on heap so that it doesn't move while using interior pointers.
+ fixed (int* p = &a[0])
+ {
+ // p is pinned as well as object, so create another pointer to show incrementing it.
+ int* p2 = p;
+ Console.WriteLine(*p2);
+ // Incrementing p2 bumps the pointer by four bytes due to its type ...
+ p2 += 1;
+ Console.WriteLine(*p2);
+ p2 += 1;
+ Console.WriteLine(*p2);
+ Console.WriteLine("--------");
+ Console.WriteLine(*p);
+ // Dereferencing p and incrementing changes the value of a[0] ...
+ *p += 1;
+ Console.WriteLine(*p);
+ *p += 1;
+ Console.WriteLine(*p);
+ }
+}
+```
+
+In .NET 6, the `NativeMemory` class was introduced which you can read about here: [](). It allows for malloc-like memory allocation and freeing which can be important for performance (and is also generally just better than letting a garbage garbage collector do your
diff --git a/src/static/images/chicks-logo.png b/src/static/images/chicks-logo.png
new file mode 100644
index 0000000..5da12f2
Binary files /dev/null and b/src/static/images/chicks-logo.png differ
diff --git a/src/static/images/compwallet-logo.png b/src/static/images/compwallet-logo.png
new file mode 100644
index 0000000..d7fefdc
Binary files /dev/null and b/src/static/images/compwallet-logo.png differ