Welcome to Celestialcoding!

A simple rule

1. Be polite and professional

All code posted here, unless otherwise specified, is licensed under a BSD 2 Clause license. The only note is that these snippets do not have the BSD copyright notice - so you are exempt from including them.
Info
Info

 Shoutbox

Hello, Guest
Please login or register.

 
 
 

Did you miss your activation email?
mustafolins
September 25, 2014

0xDEAD10CC
April 6, 2014

bacon
November 18, 2013

C++ Basic RLE Compression
Posted by: Celestialkey in Tutorials on January 11, 2015, 07:48:31 pm

Code: C++
  1. #include <iostream>// std::cout
  2. #include <fstream> // std::fstream
  3. #include <sstream> // std::ostringstream
  4. #include <random>
  5. /*
  6.         Run Length Encoding - RLE Example to Compression
  7.         Http://Www.CelestialCoding.com
  8.  
  9.         You can go lower level then this tutorial. I will
  10.         only be looking at each byte and checking for duplicates.
  11.         You can do something similar at the macro
  12.         level (look for repeating collections of binary datasets) or even at the lowest
  13.         binary level (look for repeating binary datasets)
  14. */
  15.  
  16. // Used to generate a ~50 meg file for compression
  17. void GenerateRandomFile(){
  18.        
  19.         std::fstream

Re: CelestialCoding Redesign
Posted by: Celestialkey in Misc on January 11, 2015, 11:20:22 am

Lets do it. I'll remove all spam accounts if you can migrate us over to DreamPortal. It looks pretty nice. I'm not quite sure how to unload SimplePortal and all it's modules properly.


EDIT: I've removed all accounts I considered to be suspect. I used 2 criteria.
0-3 posts
200 or more days since last logon.

Many members accounts no longer exist, but they were most likely spam accounts. Since we now have a better bot detector, this major cleanup shouldn't happen again.

Hopefully :P
Re: CelestialCoding Redesign
Posted by: Nathan in Misc on January 11, 2015, 12:43:59 am

I really think we should get a CMS module that makes it more like a website rather than a forum. I kind of like DreamPortal:

http://custom.simplemachines.org/mods/index.php?mod=2763

Also we should take a look at new themes or mods that would fit this forum. I feel like the more things to do and better appearance will drive more people to come and sign up.

Edit: We also need to clean up the spam accounts.
CelestialCoding Redesign
Posted by: Celestialkey in Misc on January 08, 2015, 10:47:38 pm

It is going on 7 years this year that CelestialCoding has been hosted by Nathan. Over those 7 years, we have compiled and created many tutorials for anybody who happened to stumble onto this site and had a desire to learn. During the 7 years though, issues have begun to crop up and I thought it was time to nip them before it became cancerous.

Before I get into why this is happening, please understand this does not in any way affect the nature of this website. This site always has and, as long as it is within my power, always will be a free opensource tutorial site dedicated to helping the everyday guest learn programming or similar practices.

I mentioned before that so

Re: srchub - free source code hosting
Posted by: Nathan in Project Advertisment on December 21, 2014, 05:06:19 pm

I suppose it's time to bump this topic with updates:

srchub has come a long way since I first "adopted" it. Some of my promises have been fulfilled such as TOTP for login, svn and mercurial authentication (I think I'm the first person to do such a thing), and project exporting (it exports to JSON format - no import yet).

3. is not true anymore - I'm using urbackup now and it's working great. I think backuppc is a great product but it's issue that rather than storing backup metadata in a database - it relies on a listing of files to show available backups. If you have a lot of backups (>1000 folders in same folder) for a specific host this doesn't scale well on a default


  •  Total Members: 80
  •  Total Posts: 11145
  •  Total Topics: 1693
  •  Total Categories: 4
  •  Total Boards: 75
  • users Users: 0
  • guests Guests: 20
  • hidden Hidden: 0
  • spiders Spiders: 0