Subscribe to Stuck in an Infiniteloop        RSS Feed
- - - - -

Hold the Shift Key!?

Icon 2 Comments
Hell is other people's code. Why did they do this? I understand the logic, but the implementation... it goes on and on. At least at that point you have the source and you can reason about it. Not so with Windows.

What did I want to do? I had a friend who was having problems with using a system restore point in Windows 10. I've used...
- - - - -

The Scorch Trials

Icon 1 Comments
I hate terrible book to film adaptations. Especially if the source material is excellent. Enter The Maze Runner. A book pentology published starting in 2009 to 2016, but recently got the silver screen treatment. WARNING, spoilers spoilers spoilers!...
- - - - -

/r/cscareerquestions is a cesspool

Icon 3 Comments
Programming communities come in two flavors: Q&A and message boards. Stackoverflow is an example of the former with Dream.In.Code the latter. Bytes, cprogramming, cplusplus, Daniweb, the list goes on and on. Then there's reddit. Forums for news, code, computer science, you name it. I find /r/programming...
- - - - -

Byte Arrays in Java, Size Does Matter

Icon Leave Comment
I have recently been doing some processor development in Apache NiFi. Being mostly a C++ guy, this was a nice throwback to some Java work I did many years ago. To describe briefly, Apache Nifi:



...
- - - - -

The False Owl

Icon 1 Comments
Generally when software fails, there is some sort of error message that informs the user what happened and what, if anything, they can do to rectify it. Then there are cases where is no such message and the user is left with nothing. And then there's this:

...
- - - - -

An Isomorphic Exercise with Old Code

Icon 2 Comments
Has anyone looked at code they wrote six months ago and went...what was I thinking?

Today I went to some code I wrote in 2009. That's right, 2009. This interesting challenge...
- - - - -

GzipWriter vs. Zlib::deflate in Ruby

Icon Leave Comment
I spent the better part of the yesterday afternoon trying to figure out why I was getting different results when using GzipWriter versus using Zlib::deflate and putting my own headers on it. Lo and behold while both gzip and zlib use DEFLATE...
- - - - -

Working with Binary Data in Ruby

Icon Leave Comment
Ruby is fun. Ruby is sexy. But Ruby doesn't do underlying bytes as nice as I'd like. But Knowles, whatever do you mean?

Consider the following, I have a file with contents:



If I tell you nothing else about the file, what can you infer? Well it's probably hex, but maybe it's ascii. If you read this file in Ruby and print it out...
- - - - -

Interstellar Review

Icon 8 Comments
SPOILER ALERT

I just watched Interstellar and in an attempt to quantify what I thought was going on, I went to the white board. The missus and I then had a marker duel on the details:



I'm pretty sure there is a plot hole somewhere, but I haven't yet scoured the internet for details.
- - - - -

Burned by Endianness

Icon 4 Comments
Sometimes the best bugs are the ones you unintentionally put in yourself.



Consider the following problem. You have a buffer of arbitrary binary data that is interpreted as various data pieces. In this particular scenario you are putting various sized integers in this buffer. The buffer is defined to be network byte order.

Let's say you...

  • (15 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »

May 2016

S M T W T F S
1234567
891011121314
15161718192021
2223242526 27 28
293031       

Tags

    Recent Entries

    Recent Comments

    Search My Blog

    0 user(s) viewing

    0 Guests
    0 member(s)
    0 anonymous member(s)