Description of compile time error: fileutils.cpp: In function ‘char* create_filename(char*, char*)’: fileutils.cpp:23:43: error: ‘strlen’ was not declared in this scope filename = (char *) malloc (strlen (name) + strlen (ext) + 2); ^ Makefile:436: recipe for target 'fileutils.o' failed And this was the fix: Code: // // C++ Implementation: fileutils // // Description: // // // Author: Lorenzo Bettini <http://www.lorenzobettini.it>, (C) 2004 // // Copyright: See COPYING file that comes with this distribution // // #include <stdio.h> #include <stdlib.h> #include <string.h> // fix for compile time error, no declaration of strlen in this scope #include "fileutils.h" char * create_filename (char *name, char *ext) { char *filename ; filename = (char *) malloc (strlen (name) + strlen (ext) + 2); /* 2 = 1 for the . and one for the '\0' */ if (! filename) { fprintf (stderr, "Error in memory allocation! %s %d\n", __FILE__, __LINE__); abort (); } sprintf (filename, "%s.%s", name, ext); return filename ; } ofstream * open_fstream (const char *filename) { ofstream *fstream = new ofstream (filename); if ( ! (*fstream) ) { fprintf( stderr, "Error creating %s\n", filename ) ; abort() ; } return fstream; }
RE: "the holidays" I mostly enjoyed the holidays and got to see family I don't get to see very often. Consumed probably too much alcohol. Otherwise IMO the holidays kinda suck, because to me it's as if the world is broken for several weeks. I did get some clothes for xmas though from some family members. When I was a child I used to hate getting clothes for Christmas, but I was very thankful, as most of my wardrobe is several years old and worn out ...
I celebrated the holidays in moderation, but i enjoyed them a lot myself (and I didn't even need too much alcohol for that)
I wouldn't have needed it either, but I kept being offered drinks that I didn't ask for, so how can I say no ....?
I felt like i needed it in the past too when I was celebrating new years eve every year in the same lame town bar/club with all kinds of people that you get bored with after a sentence or 2.
you certain about that, Dell and other brands have offered various flavors of linux for quite some time now. http://pilot.search.dell.com/linux they are not promoted as much as the MS mainstream products, but they are available and if you custom order a system you can request it instead of a MS product. the primary reason you didn't see linux flavors being offered prior to the last decade or so is because for the average user it was unapproachable, BUT ever since the anti-trust case in the '90's you have been able to custom order boxes with other OS's or blank. (I will admit my experience may be different as I/we did not go through the "normal" channels for ordering as we were a certified Dell re-seller) It has only been because of the development of more robust and user friendly iterations of linux that has brought it up to being a competitor to MS. But the big brands stopped all that sneaky proprietary shit a long time ago. But I do remember at the height of the "Netscape vs IE" war that you could NOT install Netscape on a Win 95 machine and that was by design and one of the things MS got reamed over in court.
Yes, well it depends on the exact model (not just vendor), and various vendors such as Dell and HP offer "developer" models, often preinstalled with linux, but I still have no idea what kind of firmware they are implementing in these models. I have a thread in "Computers and the Internet" where I as well as others have discussed this. Older models are less tyrannical, newer models from certain vendors that ship with Windows 10 are implementing this evil tyranny. Of course I don't know about every single laptop model, manufactures won't provide detailed technical documention on their hardware, so the only way to determine these details is to purchase the laptop and poke and peek around, or ask someone who has purchased a particular model. Basically "consumer" grade hardware is becoming garbage these days ... they treat their "consumers" like shit, and think we are all a herd of sheep with the exact same use case for a computer. I will also link to a reddit thread that I started about this topic (and feel free to click my reddit username and look at my other threads. Worth a read: https://www.reddit.com/r/linux/comments/3y6vrt/looking_for_good_options_for_foss_laptop/
Yes. I spent Christmas in Madrid, and New Years in Zürich, and now I'm back home. I did manage to get a bit sick, and I thought my head was going to explode during my flight home, but it was well worth it.
Because ISPs think that their consumers are idiots (and treat us like cretins), and set them up with very insecure equipment that's very easy to exploit and full of potential vulnerabilities. Does you're ISPs email servers use secure AUTH, is the encryption "broken" or incorrectly implemented? Might wanna check ... . Microsoft is tyranny, they want everyone to do things one way, which is their way and think that the "consumers" are a bunch of sheep and all use computers in the same way. Read the reddit thread I posted a few posts above (#113) if you wanna know more about how I really feel about this kind of thing (and the OP of that thread's other threads ... have a guess who the OP of that reddit thread might be *wink* ), or some of my threads in the Computers and the Internet forum on this site. FOSS FTW!
Took 3 weeks off from work during the holidays but didn’t really do much.. It was nice just puttering around the house, visiting relatives in the area, and going to a few movies like The Hateful Eight and Star Wars. Nice but nothing special. Hotwater
Return of the Jedi is my favorite, especially at the end where Anakin Skywalker is standing next to Obi Wan ... its remarkable how much he resembles Anakin in the prequels, released decades later.