Welcome Guest.   Make a donation to an author on the site October 24, 2014, 04:23:01 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2013! Download dozens of custom programs!
   
  Forum Home Thread Marks Chat! Downloads Search Login Register  
  Show Posts
      View this member's profile 
      donate to someone Donate to this member 
Pages: Prev 1 [2] 3 4 5 6 7 ... 32 Next
26  Other Software / Developer's Corner / Re: Herb Sutter's brief look at C++11 on: November 01, 2011, 02:33:38 AM
Quote
Use auto wherever possible. It is useful for two reasons. First, most obviously it’s a convenience that lets us avoid repeating a type name that we already stated and the compiler already knows.

// C++98
map<int,string>::iterator i = m.begin();
 
// C++11
auto i = begin(m);


Second, it’s more than just a convenience when a type has an unknown or unutterable name, such as the type of most lambda functions, that you couldn’t otherwise spell easily or at all.

I'm not sure how much I like this... I mean,.. Isn't this type of thing exactly why we have typdef's ?
At least a typedef still gives you an idea of what type a variable will be, or at least make it relatively easy to look up the type definition in the code. Looking up the return value of begin() in stl seems like more of a pain in the rear, and this is just a simple example... :S


[copy or print]
typedef std::vector<std::string> strvector;

// ...

strvector foo = func(); // <- this seems more useful/readable than:

auto foo = func(); // <- no idea wtf foo is from looking at it.


 two cents




27  Main Area and Open Discussion / Living Room / Re: Friends: Brace yourselves for another economic turn. on: June 16, 2011, 10:48:21 AM
* Gothi[c] waits for dc to be flagged as terrorist organisation cheesy
watch all the paypal funds be frozen cheesy
28  Main Area and Open Discussion / Living Room / Re: Friends: Brace yourselves for another economic turn. on: June 16, 2011, 10:26:15 AM
http://www.youtube.com/wa...ch?v=fREUujocYik&NR=1
29  Main Area and Open Discussion / Living Room / Re: Friends: Brace yourselves for another economic turn. on: June 15, 2011, 05:16:21 PM
You forgot to add that world food stocks are going down and population is going up smiley
30  Main Area and Open Discussion / Living Room / Re: DoCo Banner - Animated! on: June 07, 2011, 01:58:57 PM
I love the part where he sinks  tongue
31  Main Area and Open Discussion / Living Room / Re: DoCo Banner - Animated! on: June 07, 2011, 01:58:23 PM
This is awesome!
Should be the official banner smiley
32  Main Area and Open Discussion / General Software Discussion / Re: Goodbye OpenOffice, Hello LibreOffice on: June 04, 2011, 12:01:38 PM
Quote
I signed up at Oracle for news and they called me, left a message to call them.
Yes they have my #, but no big deal to me.

I don't think they have what I would use, ever.

But considering they called, I suspect there is an aggressive sales force to incorporate their products as a business standard, of which I have not much to do with.

Oracle has been doing that since the 90's
I remember getting a call from them about their oracle database products way back in the 90's just because i had created an account to download something (forget what) ...
33  News and Reviews / Official Announcements / Re: DC Server Down for 3 hours on June 4, 2011 due to datacenter power outage on: June 04, 2011, 11:43:58 AM
That is bizarre. Don't they have redundant power? Was it a blackout? Brownout?

I host with Softlayer in Texas. They've been excellent.

The entire datacenter went dark completely.

Normally they have UPS'es and battery banks to keep things runing until the generators kick in.
The UPS'es "couldn't handle the load" according to them, and everything went down.

It wasn't a brownout as it took quite a bit for them to restore power.
34  Other Software / Developer's Corner / Re: Game Engines and Apps on: May 22, 2011, 04:46:46 AM
Woah, way to bump a great old thread mouser smiley

Also, related: http://www.donationcoder....um/index.php?topic=3352.0

35  Main Area and Open Discussion / General Software Discussion / Re: VoicePics - A Toy App that encourages toddlers to Babble on: May 12, 2011, 11:27:31 PM

SPEDEROFOHUNCO

Speech Development Robot for Humans under Construction


36  Main Area and Open Discussion / Living Room / Re: Anyone here using a standing desk? on: May 11, 2011, 03:32:43 PM
Also, according to the graphic each extra hour of TV = 11% extra death risk,
So by that logic, watching 10 hours of TV would instantly drop you dead cheesy
37  Main Area and Open Discussion / Living Room / Re: Anyone here using a standing desk? on: May 11, 2011, 03:29:27 PM
So, If I am to believe this infographic, then eating gum while sitting would consume more energy than standing?
So, obviously the solution is not to get a standing desk, but to chew more gum!  cheesy
38  Main Area and Open Discussion / Living Room / Re: what is the benefit of this old style network on: April 24, 2011, 11:56:47 AM
At work (Hosting company) we run a quad-nic setup.

* Two NIC's for internal (LAN) traffic.
* Two NIC's for internet (WAN) traffic.

In VmWare the two LAN NIC's are grouped, and the two WAN nic's are grouped for redundancy. (if one link goes down, the other one remains up.) - They are also connected to four switches, that are also set up in a redundant manner.

This allows a physical separation between LAN and WAN for security and performance, and a fully redundant network.

Nowerdays with VLAN's you can get away with separating LAN/WAN on the same switch, but many sysadmins and corporations are (with good reason) paranoid enough to not trust their network separation to a VLAN configuration in a switch (which can be hacked to change the config). Physical separation is simpler than VLAN's and not subject to (malicious) misconfiguration in the switches.

39  News and Reviews / Official Announcements / Re: Server - Apache problem running out of memory on: April 19, 2011, 08:24:56 AM
First of all, while mouser states "we don't know" he really means "he doesn't know" smiley I tried to explain, but oh well...

The problem is this:

Recently we have been implementing a lot of caching in order to speed things up. The database currently does quite some heavy query caching, and on the apache side we have besides the usual stuff, APC for php opcode caching (which the forum software, smf, can use the API for). All of this, of course comes at a cost of memory.

We had maxclients set quite high (200), which makes things run pretty fast with prefork, since there's always processes around to serve new clients. The problem is that the average apache process size has grown to around 30MB, so worst case scenario is 20*30MB=5.8GB, which is more memory than the server has.
In fact, after the aggressive MySQL caching, there is only 780 MB free for apache to play around with.
This is why I have decreased MaxClients to 20, which will prevent us from running out of memory, at the cost of some slowdown.

So really, all we have to do at this moment is probably just make the MySQL caching a bit less crazy, to make some more room for Apache.

As f0dder points out sort of kind of, the fact that Apache with prefork is process based, it makes memory consumption a bit hard to predict (since the memory size of a process changes by what script is running, moreover, if you use keepalive, it grows with the number of requests a client makes over the same connection to the same client thus making things even more unpredictable).

I wouldn't go as far as switching httpd, but we could switch MPM. There is an experimental event MPM for apache, but I'm not sure how I feel about using an experimental MPM on a production server.

To make matters worse, packet loss at softlayer has been really hurting us.
This is their latest excuse:

Quote
    SoftLayer Engineers are aware of the sporadic packetloss and/or connectivity to FCR01.SEA01. Currently engineers are working on resolving this issue; however, there is a chance a reboot to the router will be required. In the event this needs to happen, a notice will be posted here along with any other information gathered.

-- Update --
Service has been restored to customers behind FCR01.SEA01. During the process of working on the router, the issue manifested itself into 100% CPU resulting in upstream and downstream links going down along with routing protocols. Engineers were able to stabilize the router without a reload, and are currently monitoring it to determine if the fix is permanent.

-- UPDATE --
Engineers have determined this is not a permanent fix for the FCR01.SEA01 issue. During the course of troubleshooting this issue with Cisco, it has been determined that the best course of action is to upgrade the router to the latest IOS version. This will be happening at approximately 01:30 CDT.

--UPDATE--
Engineers are continuing to work with Cisco TAC on this issue. At this point, the router has been restored to service at approximately 03:20 CDT. Some customers may continue to experience intermittent packetloss behind FCR01.SEA01.

Working for a hosting provider myself, I understand that stuff happens, but this packet loss stuff with them has been going on ever since we moved to their seattle data center Sad every day.
Also, one would think that softlayer is big enough to have a replacement router ready they can just put in (or have a proper redundant network that can route around it for that matter).
40  DonationCoder.com Software / Mircryption / Re: Blowssi - Perl v5.10.1 - 2/3 subtests failed on: April 19, 2011, 12:34:12 AM
You might be able to get away with just skipping the make test step.

I'm not the author of Crypt-ircDH1080 so you might want to ask whoever made that module.
All I can say is that it works fine here on perl v5.12.2
It's pretty hard to debug stuff without ssh access over a forum smiley
41  Other Software / Developer's Corner / Re: Partial (corrupted) downloads from a server (Not a valid win32 application etc) on: April 11, 2011, 04:17:47 PM
Does the server allow download resuming?
Yes. (Apache does by default)
42  Main Area and Open Discussion / General Software Discussion / Re: DLS: Mozilla publishes name and shame list of slow Firefox add-ons on: April 05, 2011, 07:03:17 PM
Might be worth noting that they only benchmarked ff startup/shutdown time, not the actual impact on page rendering!
43  DonationCoder.com Software / Mircryption / Re: mircryption-compatible script for irssi on: March 31, 2011, 02:47:55 PM
The meewbies.com instructions might be a bit outdated since they were written for previous versions of blowssi.
KiTTy was nice enough to put up the instructions for the older versions, but hasn't been around lately to update it.
The "official" instructions are included in the archive.
Basically, you just need to install the required perl modules, drop the script in ~/.irssi/scripts and add a /load line to your ~/.irssi/startup line for it. Not much to it really smiley

44  Main Area and Open Discussion / Living Room / Re: The Official DonationCoder.com card game: CodyCards on: March 30, 2011, 08:15:42 AM
Awesome! smiley looks great!

45  DonationCoder.com Software / Mircryption / blowssi - mircryption compat for irssi - v0.2.0 - Jan 03, 2011 on: March 29, 2011, 01:57:29 PM
blowssi is a an irssi cryptography script.

Download from official web page: http://linkerror.com/blowssi.cgi

Key features:
  • Compatible with mircryption and FiSH.
  • Supports both cbc and ecb encryption modes. (to use cbc encryption just prefix the key with cbc: )
  • Blowssi is Free (both as in freedom and as in beer) software (licensed under the GNU GPL v3)
  • Blowssi will work on any platform perl and irssi work on.
  • dh1080 key exchange (since 0.2.0)

Requirements:
  • perl (...duh)
  • Crypt::ircBlowfish (see bundeled zip file, but also available from donationcoder.com)
  • Crypt::ircDH1080 (see bundled tar.gz file)
  • Crypt::CBC (on gentoo you can just: emerge dev-perl/crypt-cbc)
  • MIME:Base64 (on gentoo you can just: emerge perl-MIME-Base64 (which is a virtual package) or emerge perl-core/MIME-Base64 though you probably already have it.)
  • irssi (... duh!)

Installation:
  • First make sure all requirements are installed (see above).
  • To install, just put the script in ~/.irssi/scripts and put this in your ~/.irssi/startup :
  • /load ~/.irssi/scripts/blowssi.pl
             
More detailed installation instructions: http://mewbies.com/how_to...si_for_irssi_tutorial.htm
46  Main Area and Open Discussion / Living Room / Re: The Official DonationCoder.com card game: CodyCards on: March 29, 2011, 12:20:55 PM
Looks good! smiley

But yes, a codycards specific thing would be neat smiley I imagine, with a graphic of cody in a cage filled with coins, and lots of things coming at him (the predators and weapons etc on the cards) smiley
47  Main Area and Open Discussion / Living Room / Re: The Official DonationCoder.com card game: CodyCards on: March 29, 2011, 12:03:27 PM
If you're going to have the cards professionally printed, shouldn't you have a design for the back?
48  DonationCoder.com Software / Programmer Libs / Re: PythonProtoCards - Prototype Card Game Images - v1.2.01 - 3/25/11 on: March 25, 2011, 12:23:33 PM
As having played fun games made with this library, I can only recommend it! smiley
49  Main Area and Open Discussion / Living Room / Re: Amazing LEGO Great Ball Contraption Breaks World Record on: March 19, 2011, 11:01:10 AM
This is extremely awesome.
I wish lego wasn't as expensive as it is Sad
50  Other Software / Developer's Corner / Re: Discussion of CMS suggestions for the DC software directory on: March 02, 2011, 05:09:17 PM
Yeah, but it's still what would be ideal.
I wish there was a CMS LIBRARY instead of a CMS webapp. This would make life so much easier in terms of integration. And not just for DC, but for umpteen other projects i have going Sad
Pages: Prev 1 [2] 3 4 5 6 7 ... 32 Next
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.033s | Server load: 0.23 ]