I am happy to pay a fair price for content, but am unwilling in any scenario to be subjected to invasive advertising. Netflix is a good example of an ad-free subscription based library of video content. One of the early promises of the Web was micropayments, remember that? It has yet to happen because the cost of a secure financial transaction is simply too high. I think the best answer is subscription aggregators, who provide access to a libraries of content and track which customers are accessing said content. At the end of the month, the subscription aggregator sends a single payment to each content provider, which represents the sum of all accesses that month.
A few years ago I had an issue in a multi-threaded program where using printf()'s caused the problem to go away. In order to track the problem down, I ended up writing messages to a buffer in RAM, and dumping the buffer to stdout after the problem occurred.
Over my 30 year career, I cannot believe how many 'C' programmers I've come across who are unfamiliar with the assert() macro. This macro is essential for trapping all invalid assumptions! Usually it's as simple as:
if ( ! functionWhichCanFail(a,b,c) ) assert(0);
Run your program from the debugger, and it will stop when the assert(0) is encountered, giving you full and convenient access to everything needed to hunt down the issue.
Exceptions are possible in C. See the documentation for setjmp() and longjmp().
That said, exceptions are just "kicking the can down the road" for error handling. If a function call can fail, then you should check the return code. If you don't want to write with proper error reporting/recovery code immediately, there is always the assert() macro, e.g.:
There's an app for just about everything, so Johnny has no reason to learn to code. The main impetus for learning to code is to scratch one's own itch. If there are a dozen backscratchers handy, why build one yourself?
I'm getting weary with all the 3D printing hype that goes on in this community. You do realize that humans have been making 3D objects without 3D printers for the vast majority of recorded history, right? While 3D printers come in handy for making some objects, they are not the sole enabler for making *any* object. Just another tool. Big deal.
I stick with GNU/Linux and other FOSS software because it is an investment in our future. If you are forced to use MS products for your job, then you have little choice. I make my living with GNU/LInux, partially because I understand it well enough to be an expert. I understand it that well because I have the source code for everything, including the kernel. Microsoft only cares about customers to the extent that they can exploit them for profit. Compare that to ethics of the Free Software Foundation.
I was recently disappointed to discover that, in order to download music which you have purchased from Amazon, you must use Amazon's proprietary downloading software *and* agree to the 'Terms of Use' associated with said software. After hunting around the website for about 10 minutes I finally found contact information for sales support, and asked for a refund.
Technology moves faster than law. As long as the Internet can route packets from point A to point B, the lawmakers will have little say over what those packets contain. We may be driven to encryption, darknets, or something besides DNS, but it won't really matter in the end.
Windows 7 is a better Windows than Ubuntu, no doubt. However, Ubunutu is a way, way better *nix than Windows 7 can ever hope to be. If you limit yourself to the GUI tools available on an Ubuntu system, then you're only using a fraction of the power that exists there.
I am happy to pay a fair price for content, but am unwilling in any scenario to be subjected to invasive advertising. Netflix is a good example of an ad-free subscription based library of video content.
One of the early promises of the Web was micropayments, remember that? It has yet to happen because the cost of a secure financial transaction is simply too high. I think the best answer is subscription aggregators, who provide access to a libraries of content and track which customers are accessing said content. At the end of the month, the subscription aggregator sends a single payment to each content provider, which represents the sum of all accesses that month.
"couldn't care less ..."
THANK YOU for saying what you mean to say, and not the opposite!
A few years ago I had an issue in a multi-threaded program where using printf()'s caused the problem to go away. In order to track the problem down, I ended up writing messages to a buffer in RAM, and dumping the buffer to stdout after the problem occurred.
Over my 30 year career, I cannot believe how many 'C' programmers I've come across who are unfamiliar with the assert() macro. This macro is essential for trapping all invalid assumptions! Usually it's as simple as:
if ( ! functionWhichCanFail(a,b,c) ) assert(0);
Run your program from the debugger, and it will stop when the assert(0) is encountered, giving you full and convenient access to everything needed to hunt down the issue.
Exceptions are possible in C. See the documentation for setjmp() and longjmp().
That said, exceptions are just "kicking the can down the road" for error handling. If a function call can fail, then you should check the return code. If you don't want to write with proper error reporting/recovery code immediately, there is always the assert() macro, e.g.:
if(func_which_might_fail() == ERROR_OCCURRED) assert(0);
If assert(0) gets called the program will stop immediately, and you can inspect the problem in detail with a debugger. Easy peasy.
what I'd actually be interested in buying is an autonomous lawn mower. Ball's in your court John Deere.
We've had those for all of recorded history: grazing animals
It has been - and it's called Android.
There's an app for just about everything, so Johnny has no reason to learn to code. The main impetus for learning to code is to scratch one's own itch. If there are a dozen backscratchers handy, why build one yourself?
I'm getting weary with all the 3D printing hype that goes on in this community. You do realize that humans have been making 3D objects without 3D printers for the vast majority of recorded history, right? While 3D printers come in handy for making some objects, they are not the sole enabler for making *any* object. Just another tool. Big deal.
"Windows NT has always had so-called "personalities" and Posix has been available as a personality for decades"
Which is why everyone who actually uses Posix on Windows downloads Cygwin. Oh, wait a minute....
I stick with GNU/Linux and other FOSS software because it is an investment in our future. If you are forced to use MS products for your job, then you have little choice. I make my living with GNU/LInux, partially because I understand it well enough to be an expert. I understand it that well because I have the source code for everything, including the kernel.
Microsoft only cares about customers to the extent that they can exploit them for profit. Compare that to ethics of the Free Software Foundation.
NASA tracks space debris orbiting the earth. This asteroid was not orbiting the earth.
using the Wt C++ Web Toolkit.
I'll give you a hint: it's looks a lot like a rolling ball...
Don't waste your time with Gnome & KDE.
and thanks for all the fish!
Thank goodness for ipv6. Now you can run all services on port 80 and just assign a different ip address for each one!
I was recently disappointed to discover that, in order to download music which you have purchased from Amazon, you must use Amazon's proprietary downloading software *and* agree to the 'Terms of Use' associated with said software. After hunting around the website for about 10 minutes I finally found contact information for sales support, and asked for a refund.
Except that Silk is supposed to leverage Amazon's EC2 to greatly speed up the browsing experience. Facebook just pilfers your data because they can.
Technology moves faster than law. As long as the Internet can route packets from point A to point B, the lawmakers will have little say over what those packets contain. We may be driven to encryption, darknets, or something besides DNS, but it won't really matter in the end.
McAfee thinks that Microsoft will never be able to write a secure OS, so they are taking matters into their own hands.
The same could be said of Microsoft and Visual Basic 6.0 and earlier, and look how many people invested their time.
You're absolutely right! That's why we now have C99 ;-)
Windows 7 is a better Windows than Ubuntu, no doubt. However, Ubunutu is a way, way better *nix than Windows 7 can ever hope to be. If you limit yourself to the GUI tools available on an Ubuntu system, then you're only using a fraction of the power that exists there.
they will realize that C with some ASM produces the best performing, most efficient operating systems.