Code

#include <stdio.h>
void main() {
	int i = 0;
	i = ++i + i++;
	printf("%d", i);
}
// what is the answer?
#include <stdio.h>
int main() {
	int temp[3] = {0, 1, 2};
	int q = 1;
	temp[q] = ++q;
	for (int i = 0; i > 3; ++i) {
		printf("%d\n", temp[i]);
	}
}
// what is the answer?

Posts


Die Free

January 10, 2022

Live and Die Poor

Diagram Fun

November 05, 2021

A simple fun diagram tool

Python Httpx

January 01, 2021

A simple next-generation HTTP client for Python httpx.

Keyboard

September 20, 2020

One Keyboard to rule them all, One Keyboard to find them, One Keyboard to bring them all, and in the darkness bind them.

Ec2 Nvme Drive

May 11, 2020

When using ec2 instaces with NVME drives you need to set them up.

Resource Based Microservices

January 10, 2020

Microservices and Design, I have seen good design and very bad design so all a part of learning.

Python And Rabbitmq

December 09, 2019

Message queues and Python. Using Pika in python. What is Pika? Pika is a python package for RabbitMQ.

Python Development

December 01, 2019

I wrote this up as I had to rebuild my development computer and so I wanted to document how I do my base Python install

Installing Go Lang

May 23, 2018

I have been thinking about learning Go and so I copied this from a simple Go install guide.

Python And Sqlite

January 21, 2018

Wanted to learn a little Python and SQLight, here is a simple example

Holiday Hack Challenge

December 15, 2017

Holiday-Hack-Challenge, This year was good but I thought it was harder then in the past.

Python And Elastic

December 01, 2017

Searching elasticsearch, a very under rated interface that companies don't use.

Python Graphing

November 10, 2017

Python Matplotlib, graphing in python can help display data and it can be done in a simple interface. With working over ssh so much I found this an extra step to learning how to use Matplotlib. Fast forward I also learned about using the io.BytesIO() and that is my bread and butter now.

Progress Bar

November 04, 2017

I think at this point I have started working and when writing code for more people then me they sometimes expect output when the task is completing. So I realized using loading bars can help show that is it working.

Shell Logging

October 23, 2017

Logging, Bash and Python As I have worked more I see why logging is so important. Often when you work you have to update old code so logging can help debug code when tests are not available.

Python And Requests

May 01, 2017

Working with Python and Requests. Requests is maybe one of the best parts of python. Simple but also very extensive.

Python And Json

April 01, 2017

In work I have moved from being a java developer to a python developer. I have had to work with json and python and dealing with json a lot so. Here is step one in learning python and json. I do enjoy working with json in python.

Make A Password

March 27, 2017

When you need a password but want to autogenerate it use this simple bash password generator

Diffie Hellman

March 10, 2017

Diffie-Hellman Key Exchange I made this when I had to explain this as a TA but just found it and thought it would be good to share.

Java Generic Queue

March 06, 2017

Java Blocking Queues, I took these notes back in my undergrad. Maybe they will help someone. Good luck

Dwm Install

February 04, 2017

DWM plain and simple, the best simple window manager. Also checkout sbar!

Regex Practice

January 16, 2017

Learn Regex, it will help you. Warning though when all you have is a Hammer, everything looks like a Nail — When learning regex know that it has a time and a place.

Collect Curl Data

January 10, 2017

Curl Metrics, I wanted to measure response times from a group of servers but could not install a lot on the server I needed to monitor from. So I found this somewhere on the internet and thought I would keep it.

Undefined Errors

January 06, 2017

Undefined Behavior I ask a question like this when I interview to see how people act with these question I think you can learn a lot of people with how they talk about these types of questions.

Educational Videos

December 14, 2016

Youtube university! You can learn so much off of the internet, back in 2016 I thought these videos helped me learn just a little more.

Message Delivery

November 12, 2016

Remote procedure calls or RPC how they work and all the random information I found on them back ihn 2016. Back in 2016 when I started this I was in my undergrad and a class had use do a project about them.