u/OTL_ - 9 Archived Voat Posts in v/programming
u/OTL_
  • home
  • search

u/OTL_

0 posts · 9 comments · 9 total

Active in: v/programming (9)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: Github is adopting a code of conduct

What language will it be written in?

4 22 Jul 2015 08:20 u/OTL_ in v/programming
Comment on: I Need Help Making a Choice Between Two Options: 1) Learn a Complicated Framework to Cover One Complex Task it Covers, 2) Try to Roll My Own.

That completely depends on the functionality of this re-purposed portion. Is there even a way to work around it without using SpEL? Also, can you reproduce the functionality even if you don't understand what the program is doing? You can do both but it may be worth assessing what is possible given your time frame.

1 21 Jul 2015 11:00 u/OTL_ in v/programming
Comment on: Come up with the most inefficient, poorly written, and complex way to print out "Hello World!".
  1. Write it in C++
  2. Rename the extension to .bmp
  3. Open it in paint
  4. Record the values and make some tweaks to make it an 8x4 block or otherwise
  5. Do it in reverse.
1 18 Jul 2015 10:57 u/OTL_ in v/programming
Comment on: Come up with the most inefficient, poorly written, and complex way to print out "Hello World!".

I never claimed to have made this .gif.

1 18 Jul 2015 10:54 u/OTL_ in v/programming
Comment on: Come up with the most inefficient, poorly written, and complex way to print out "Hello World!".

Not quite, I wasn't the one who wrote the one in the gif, I found it here on stack overflow. However I have reproduced it by writing the c++ code first and then opening it up in paint. Then you add some bogus values to make it a rectangle without changing the rest of the bits that actually contain the code. Go backwards from there and voila!

In theory this could work with any program you want, just depends on the kind of determination you have.

1 17 Jul 2015 00:28 u/OTL_ in v/programming
Comment on: Come up with the most inefficient, poorly written, and complex way to print out "Hello World!".

When writing files on a computer, it's written with bits. The file extensions or what program you open them with is how you expect the bits to interpreted. In a .bmp, the bits are meant to be interpreted as colours but if you open it in notepad then it interprets those bits as text.

4 17 Jul 2015 00:17 u/OTL_ in v/programming
Comment on: Come up with the most inefficient, poorly written, and complex way to print out "Hello World!".

https://veuwer.com/i/2v3m.gif

Not really poorly written, but definitely inefficient and complex.

29 16 Jul 2015 22:12 u/OTL_ in v/programming
Comment on: What programming language changed your outlook on creating software?

Honestly Assembly, more specifically, ARM Assembly. This helped me learn a lot about optimization on a bit-wise level that some compilers don't do necessarily. My C++ has gotten much better now that I understand (at a basic level) how to optimize for memory and others.

But I wouldn't recommend it, every other person I talked to hated working with anything below C. I feel like I'm the only exception that wanted to learn at that level.

1 15 Jul 2015 00:18 u/OTL_ in v/programming
Comment on: Best comments in source code

My favourite:

// No idea what this function does, but it gets rid of a seg fault. 
// Don't question it and accept it.

I think it was the intern that wrote it.

0 14 Jul 2015 21:08 u/OTL_ in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.