Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • September 30, 2016, 01:38:53 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Computer blogs that you read?  (Read 1113 times)

msteph

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 29
    • View Profile
    • Donate to Member
Computer blogs that you read?
« on: February 20, 2016, 10:49:54 AM »
Apparently I don't have enough to read now, so I'm looking for suggestions for more.   :)

What I'm really looking for are blogs such as ghacks and Rick's Daily Tips that are aimed at ordinary computer users.

Any suggestions?

Mike S

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,172
    • View Profile
    • Miles Ahead Software
    • Donate to Member
Re: Computer blogs that you read?
« Reply #1 on: February 20, 2016, 11:42:37 AM »
Howto Geek has good tips and news.  I have noticed some of the Windows tips do not always have the full solution in the article.  They may miss a detail. But the missing piece is often supplied in the user comments.  It is not Windows-only though.

msteph

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 29
    • View Profile
    • Donate to Member
Re: Computer blogs that you read?
« Reply #2 on: February 20, 2016, 12:37:29 PM »
Thanks MilesAhead, that looks like a good site.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,172
    • View Profile
    • Miles Ahead Software
    • Donate to Member
Re: Computer blogs that you read?
« Reply #3 on: February 20, 2016, 04:50:36 PM »
Thanks MilesAhead, that looks like a good site.

You are most welcome.  :)


If you like Windows tutorials similar to that site, the Windows Vista,W7, W8, W10 forums I am on have tons.  I don't have a system suitable to run W10 so my technical input there is sparse, and Vista has very little traffic these days.  But I do post followups to technical questions on the W7 and W8 forums.  They are a good resource for Windows.

www.vistax64.com
www.sevenforums.com
www.eightforums.com
www.tenforums.com

msteph

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 29
    • View Profile
    • Donate to Member
Re: Computer blogs that you read?
« Reply #4 on: February 20, 2016, 06:42:03 PM »
Those look interesting as well, many thanks. 

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,079
    • View Profile
    • Donate to Member
Re: Computer blogs that you read?
« Reply #5 on: February 20, 2016, 07:46:15 PM »
raymond.cc
techrepublic

More directed at professional users, but still interesting enough:
Petri It Knowledgebase
msexchange.org
datamotion

Ct Magazin (in German. They used to have also an English language version, but it seems you need Google translate or something similar or learn German.)

You ask us for many and give only two? Share the love mate... ;)  :D

msteph

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 29
    • View Profile
    • Donate to Member
Re: Computer blogs that you read?
« Reply #6 on: February 20, 2016, 10:36:05 PM »
Shades, thanks for those, especially techrepublic and raymondcc. 

The two I mentioned - ghacks and Rick's - are literally the only quality blogs I've known about and Rick's only for the last couple of weeks.  I've read Ghacks for a long, long time. 

So you and MilesAhead have added to my bookmarks significantly.

 :)

Mike S.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,273
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
More Programming Blogs
« Reply #7 on: September 15, 2016, 08:28:30 PM »
Here's one I've been reading lately, Daniel Lemire's blog: http://lemire.me/blog/

He had a recent post on the unpredictable and high memory usage of C++ STL containers, something I have long fretted about.
« Last Edit: September 15, 2016, 10:16:37 PM by mouser »

Jibz

  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,119
    • View Profile
    • Donate to Member
Re: More Programming Blogs
« Reply #8 on: September 16, 2016, 04:07:14 AM »
Thanks for the link, looks interesting :Thmbsup:.

I have to note though, that the memory usage of most STL containers can't be too surprising.

List is a doubly linked list, so each node will contain two 8 byte pointers (on 64-bit) as well as the value. Set is probably a binary search tree, so it will need at least left and right pointers. unordered_set might be a hash-table of some sort, which will need to not be full in order to be efficient.

If you change his custom allocator's constructor to print some information:

Code: C++ [Select]
  1. MemoryCountingAllocator() : base() {
  2.     std::cout << "+ Allocator for " << __PRETTY_FUNCTION__
  3.               << ", with size " << sizeof(T) << std::endl;
  4. }

You get something like:

Quote
Displaying memory usage in bytes.
Filling data structures with 1024 elements and reporting the per element memory usage.
+ Allocator for MemoryCountingAllocator<unsigned int>::MemoryCountingAllocator() [T = unsigned int], with size 4
memory usage per element of a vector<uint32_t> : 4
+ Allocator for MemoryCountingAllocator<std::_List_node<unsigned int> >::MemoryCountingAllocator() [T = std::_List_node<unsigned int>], with size 24
memory usage per element of a list<uint32_t> : 24
+ Allocator for MemoryCountingAllocator<unsigned int>::MemoryCountingAllocator() [T = unsigned int], with size 4
memory usage per element of a deque<uint32_t> : 4.64062
+ Allocator for MemoryCountingAllocator<std::__detail::_Hash_node<unsigned int, false> >::MemoryCountingAllocator() [T = std::__detail::_Hash_node<unsigned int, false>], with size 16
memory usage per element of an unordered_set<uint32_t> : 29.6016
+ Allocator for MemoryCountingAllocator<std::_Rb_tree_node<unsigned int> >::MemoryCountingAllocator() [T = std::_Rb_tree_node<unsigned int>], with size 40
memory usage per element of a set<uint32_t> : 40

Which shows that list, set, and unordered_set are allocating nodes for their respective implementations and not just uint32_t.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,273
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: More Programming Blogs
« Reply #9 on: September 16, 2016, 11:27:57 AM »
I guess I had forgotten about the ability to create custom allocators to track memory usage -- thats definitely a nice feature of the STL.  Of course linked lists and queues are bound to be pretty space efficient... it's the has tables and trees with fast lookup that one might fear are memory hungry.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,172
    • View Profile
    • Miles Ahead Software
    • Donate to Member
Re: More Programming Blogs
« Reply #10 on: September 16, 2016, 01:09:28 PM »
Here's one I've been reading lately, Daniel Lemire's blog: http://lemire.me/blog/

He had a recent post on the unpredictable and high memory usage of C++ STL containers, something I have long fretted about.

Not to mention that many newbs use STL as a substitute for thinking.  I can remember a few years ago posting some code on a C++ forum that used a Buffer object on the stack.  The destructor freed the memory so that the code is much cleaner.  I was chastised for not just using an STL container.  I pointed out that Bjarne Stroustrup used just such a Buffer object in his C++ Programming Language book.  I mean, not reinventing the wheel is one thing.  Throwing in the kitchen sink just to avoid a little testing is ridiculous.  I like to take a nap as much as the next guy but laziness != efficiency.  :)