Creating a ports-like system for Debian in under 400 lines of Bash

Icon Leave Comment
I haven't posted in a while and this is my first blog entry. I haven't seen a lot of Bash tutorials/projects here and I'd like to illustrate how powerful it can be. For those who have never used FreeBSD, the ports system there let's you get and build software from source code. This can be attractive to power users that want to...

Applying Functional Programming Ideas To OOP

Icon Leave Comment
The ideas of functional programming...

Hadn't been in a chatroom in a long while

Icon Leave Comment
Spent some time in a chatroom today. Fond memories of mid 90's and my youth came to mind, as I once again marveled at the delicate precision needed to balance my passion to be heard and responsibility to be communal in this fragile environment. I'm taken back to that time, but my memories of then are tentative and faint. I can remember...

2019 Day 3 Part 2

Icon Leave Comment
I have to calculate something different this time around. Last time it was the closest Manhattan distance to the central port or the shortest intersection one could get to from the origin. This time it's not the closest intersection, but the intersection that has the smallest sum of steps between both wires leading up to it.


Checking script

Icon Leave Comment
Testing code


Mirroring SSL Kafka Clusters with Brooklin

Icon Leave Comment
Linkedin was the birthplace of Apache Kafka. Last year they also open sourced a project called brooklin...

2019 - 10 - 08

Icon 1 Comments
I come onto this forum occasionally to check up on things. Mainly to see if the forum is still around in a day and age where Reddit is basically the go to gathering hole for programmers. But personally, I think Reddit is missing something in any of its communities, though I'm unsure what that is exactly.

I don't use this site very often...

Chroot questions

Icon 1 Comments
Hi, first off Im not a computer programmer or know anything about coding. I really need to be educated in lamens terms and if someone could please help me Id forever be great full. I was told by someone that Im in a chrooted environment and someone has wrecked my homestead. I was told I needed a power wash to clear the cride and maybe an...

Design: Snake

Icon Leave Comment
I saw a couple posts about the Snake game recently, and I realized that I've never actually tried to tackle this game. This post is only about design, so if that idea doesn't interest you, feel free to skip this entry.

Alright, so Snake is played on a grid of W,H where W = some width and H = some height. A snake segment is a 1x1 cell at...

Difference Between Web Applications and Mobile Applications

Icon Leave Comment
There is common misconception that web applications and mobile applications are the same things. But in real, these both things are different. They are also developed and deployed different.

Difference between mobile applications and web applications are:

1. Mobile app are built for specific platforms like Apple iPhone, Android and iOS. They...

don't use getframeinfo

Icon Leave Comment
I found another enormously slow method in Python: getframeinfo.

from inspect import getframeinfo


It's eating up 21% of my code time. I only call it 90 times in a certain program whereas some other funtions are used 5000 times. To give you an idea of how slow it is, it is 535 times slower than the...

ADA: Hello World

Icon Leave Comment
Here we go, jumping into ADA Programming. So here is everyones favourite, Hello World in ADA.

with Ada.Text_IO;procedure Hello isbegin   Ada.Text_IO.Put_Line("Hello, world!");end Hello;

with Ada.Text_IO;use  Ada.Text_IO;procedure Hello isbegin   put("Hello, world!");end Hello;

Today I learned #1

Icon 1 Comments
Dear journal,
I just discovered this blogging part of the D.I.C...
Does that count as learning?
I don't know, but that is one of the things that I learned today anyways.

That's all for now... (if we are not counting learning to work with scrum)

I'll be back at this blogging thing tomorrow.


Icon Leave Comment
I am developing a hangman game using c++. here is my code so far.

a handy solution template for

Icon Leave Comment
Readers here may have noticed that I like the problem set - it's got interesting problems, it's well structured, and the submission process is pretty clean.

However, it's not QUITE as clean as I'd like, so I found myself writing a little solution template to make it more convenient to solve and submit problems....

Problem 1 - The Beginning.

Icon 1 Comments
Multiples of 3 and 5
Problem 1

"If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.
Find the sum of all the multiples of 3 or 5 below 1000."

The Cloudy World

Icon 3 Comments
As I am sipping a cup of coffee and writing this blog post on a Saturday afternoon, I keep thinking about how fast time has passed. I joined DreamInCode on May 16th, 2009, just a few months before going to college. Today, it's May 13th 2017 and these numbers make me realize how much time has passed (not to mention, make feel a bit...

The Journey Continues

Icon Leave Comment
I've been super busy lately, but I managed to get started on a for fun side project titled "Martha". I am developing a Facebook bot using PHP (for now) to basically be my personal assistant;

- Google things for me
- Schedule Reminders for me
- Tell me upcoming appointments
- Save contacts to my GMAIL Contacts which will...

ASP.NET Core MVC Sniplets

Icon 1 Comments
We are using ASP.NET Core MVC. It is cool but finding up-to-date information is a little tricky because it is so new. Well, not brand new, but most information available is still for earlier versions.

I tend to search for "ASP.NET MVC ..." and initially assume that it hasn't changed. (Most of it hasn't changed.)

I'm not...

Text-Based RPG Development Day #1

Icon 2 Comments
Hello, welcome to the first entry into my Development blog.

I've been working on this project for a few days already and so far I have added:
  • Added Basic Inventory System
  • The First Monster (Giant Rat)
  • Currency System
  • ...
Hello! We have 2,609 blogs, with a total of 4,317 entries and 5,277 comments.
Israel   has recently created a new blog. Why not go take a look?

List Blogs

  • Show
  • Sort On
  • Per Page

279 Active Users


279 Guests, 0 Anonymous Users