Ctrl's tech cafe

Discussion in 'Computers & Tech' started by Ctrl, Feb 2, 2013.

  1. Shangrila

    Shangrila staff Past Donor

    Joined:
    Aug 21, 2010
    Messages:
    29,114
    Likes Received:
    674
    Trophy Points:
    113
    Gender:
    Female
    Thanks.
    I do have Malwarebytes and run AVG, and will look into the other recommendations.
    Avast and McCaffee I must have installed some long time ago. I do not even remember until it comes up for an update, and that last one really had me upset.
    Live and learn. :)
     
  2. Ctrl

    Ctrl Well-Known Member Past Donor

    Joined:
    Oct 11, 2008
    Messages:
    25,745
    Likes Received:
    1,944
    Trophy Points:
    113
    AVG is at the bottom of the list as free AV goes.

    Norton is at the bottom of the paid AV, mainly because it is so bloated and invasive and prone to self-destruction.

    I don't want to waste the breath on it. It simply is.

    Avira for free AV, ESET-NOD32 or Kaspersky are good commercial options. I have had good results with Comodo, though more false positives. It does not "just waste resources". There is much involved. Sandboxing will do a great job knocking most crap out... what this is is virtualizing the environment, and the applications which run in them. Virtualized environments in my experience often have difficulty in that they are not robust enough to handle certain things, or tax the resources enough to make a difference. Still a good alternative. I haven't used that many windows sandboxes. Again I liked Comodo's.

    SuperAntiSpyware and Malwarebytes are great at everything else. They are not, however, substitutes for AV. A sandbox is.
     
  3. Kranes56

    Kranes56 Banned

    Joined:
    Feb 23, 2011
    Messages:
    29,311
    Likes Received:
    4,187
    Trophy Points:
    113
    Gender:
    Female
    Hey random question Ctrl, do you personally know how to code, and if so what language?
     
  4. Durandal

    Durandal Well-Known Member Donor

    Joined:
    May 25, 2012
    Messages:
    55,684
    Likes Received:
    27,222
    Trophy Points:
    113
    Gender:
    Male
    How much executable code are you even downloading? My antivirus is 1. anything but Windows and 2. a couple of Firefox add-ons that block a lot of crap from loading in the first place. I get a nice, almost ad-free browsing experience and quite a lot of security just by using:

    Adblock Plus
    NoScript
    RequestPolicy
     
  5. Mushroom

    Mushroom Well-Known Member

    Joined:
    Jul 13, 2009
    Messages:
    12,554
    Likes Received:
    2,454
    Trophy Points:
    113
    Gender:
    Male
    Ironically, AVG has now fallen off of my AVG list as well. This had long been my software of choice, but ever since they got bought out a few years ago I have found their software more and more of a hassle. The final straw was when it constantly blocked several key Army sites I have to visit (because of "Certificate Issues", the military uses non-standard security certificates that it does not know how to handle). It would block these from me all the time, and would redirect my default page from one of my choice to their own. I finally had enough and on my laptop deleted it and put on MSE.

    I will see how that goes, but this is not my main system, I only use it when I am on the road. I am now considering what one I am going to put on my desktop (Panda and AVAST are both out, to many problems with leakers in the past with those two).

    However, the idea that somebody said about Antivirus not being needed is simply stupid. There are so many threats out there that only relying on searching for malware is foolish.
     
  6. Ctrl

    Ctrl Well-Known Member Past Donor

    Joined:
    Oct 11, 2008
    Messages:
    25,745
    Likes Received:
    1,944
    Trophy Points:
    113
    Exxxxactly.

    Try www.avira.com
     
  7. Shangrila

    Shangrila staff Past Donor

    Joined:
    Aug 21, 2010
    Messages:
    29,114
    Likes Received:
    674
    Trophy Points:
    113
    Gender:
    Female
    Will you please elaborate?
     
  8. Ctrl

    Ctrl Well-Known Member Past Donor

    Joined:
    Oct 11, 2008
    Messages:
    25,745
    Likes Received:
    1,944
    Trophy Points:
    113
    C++, JAVA, Ruby, QT, BASH (awk, sed), Perl, Python, javascript, SQL, HTML, PHP, CSS... bunch more... and weird (*)(*)(*)(*) nobody ever heard of. I pick up languages quickly. I am OK in some of them.
     
  9. Durandal

    Durandal Well-Known Member Donor

    Joined:
    May 25, 2012
    Messages:
    55,684
    Likes Received:
    27,222
    Trophy Points:
    113
    Gender:
    Male
    Well, do you know about add-ons for the Firefox browser? If not, see: https://addons.mozilla.org/firefox/

    The add-ons I use are for blocking advertisements [Adblock Plus], blocking unwanted scripts from running on a given website (default behavior - got to enable what I trust/want to work) [NoScript], and preventing a site from requesting elements from third party sites (also default behavior, again enabling the user to permit specific third party sites) [RequestPolicy], which is an important step in gaining a measure of privacy.

    I'd have to leave it to people more learned than myself to describe in detail how these operate, but using them the internet is far more controlled than it would be otherwise. I can ensure that Google's tracking isn't enabled, for instance, which means they shouldn't be able to tell when I visit some site that has their spyware running. Even on this forum, right this minute, I see this from RequestPolicy:

    [​IMG]

    Mine shows up in Russian since I run my system in that language (because I'm hardcore when it comes to learning a language :D ), but basically, what you see there is a list of blocked destinations (in red - default) and permitted destinations (the one you see in green).

    RequestPolicy can cripple the internet something fierce, but as long as you can figure out which specific sites to allow on each site you visit, you can achieve a good balance of privacy & security vs functionality, generally speaking. Some sites do confuse me, as they can throw up a loooong list of third party sites and may not work right even with all of the safest-looking ones enabled.

    So, yeah. It's not for the faint of heart or the computer neophyte, but it's fun to play with if you want privacy and security and you can figure enough of it out.

    P.S. The easiest add-on of the three is Adblock Plus. Once it's installed and running, you don't have to fuss with it.
     
  10. mutmekep

    mutmekep New Member

    Joined:
    Apr 25, 2012
    Messages:
    6,223
    Likes Received:
    46
    Trophy Points:
    0

    Those are enough to protect your browsing but if you are a site admin , a developer or in general your work has to do with computers you can not avoid downloading extra tools and you will be amazed how many fake / malware products are around . Having an anti-malware protection to scan your downloads is crucial and in case those are not sufficient there is always sysinternals task manager for you to spot weird processes running on your PC.
     
  11. MannieD

    MannieD New Member

    Joined:
    Dec 19, 2006
    Messages:
    5,127
    Likes Received:
    31
    Trophy Points:
    0
    I use noscript and AdBlock but I hadn't seen RequestPolicy before. Thanks for the info.
     
  12. Durandal

    Durandal Well-Known Member Donor

    Joined:
    May 25, 2012
    Messages:
    55,684
    Likes Received:
    27,222
    Trophy Points:
    113
    Gender:
    Male
    I see. Maybe you could get away with doing that on a virtual machine? That way, if anything nasty shows up and you can't shake it, you can trash that virtual drive and replace it with a clean backup or something.

    - - - Updated - - -

    I was going to "Like" this, but something seems to preventing that from working right now. :( :D
     
  13. Mushroom

    Mushroom Well-Known Member

    Joined:
    Jul 13, 2009
    Messages:
    12,554
    Likes Received:
    2,454
    Trophy Points:
    113
    Gender:
    Male
    I would not even do that without a good anti-virus.

    Most of our virtual machines use a tunnel through our real PC to get to the Internet. And a while back I had a friend who's Virtual Machine caught a worm that tried to bore into his PC. His VM was happily chugging away at 75% CPU while doing nothing, while his PC's AV was going bonkers blocking an attempted worm intrusion from the VM.

    VMs are convient for testing, because they are easy to dump and restart. But they can also get infected, as well as spread infections.
     
  14. Durandal

    Durandal Well-Known Member Donor

    Joined:
    May 25, 2012
    Messages:
    55,684
    Likes Received:
    27,222
    Trophy Points:
    113
    Gender:
    Male
    A Windows VM would also be safer on a non-Windows host system.
     
  15. Kranes56

    Kranes56 Banned

    Joined:
    Feb 23, 2011
    Messages:
    29,311
    Likes Received:
    4,187
    Trophy Points:
    113
    Gender:
    Female
    I'm taking a computer science class and we use Java, would it be okay if I come to you if I have questions with my coding and I have no idea what is the problem?
     
  16. Ctrl

    Ctrl Well-Known Member Past Donor

    Joined:
    Oct 11, 2008
    Messages:
    25,745
    Likes Received:
    1,944
    Trophy Points:
    113
    Java I am most out of step with, but I will always help when I can. Once you understand the principals of object oriented programming, it is mostly just syntax you have to learn. When I program in Java, I am always editing something that already exists, and I have several books open. As I said though, always happy to help when I can.
     
  17. Kranes56

    Kranes56 Banned

    Joined:
    Feb 23, 2011
    Messages:
    29,311
    Likes Received:
    4,187
    Trophy Points:
    113
    Gender:
    Female
    Thanks, it's still new to me, so I'll be trying to spot the problems on my own, but if I'm stumped, I'll go to you. Thanks a lot.
     
  18. Shangrila

    Shangrila staff Past Donor

    Joined:
    Aug 21, 2010
    Messages:
    29,114
    Likes Received:
    674
    Trophy Points:
    113
    Gender:
    Female
  19. Mushroom

    Mushroom Well-Known Member

    Joined:
    Jul 13, 2009
    Messages:
    12,554
    Likes Received:
    2,454
    Trophy Points:
    113
    Gender:
    Male
  20. Shangrila

    Shangrila staff Past Donor

    Joined:
    Aug 21, 2010
    Messages:
    29,114
    Likes Received:
    674
    Trophy Points:
    113
    Gender:
    Female


    ..and that can be done via tapatalk? I think that is the main issue here.
     
  21. Ctrl

    Ctrl Well-Known Member Past Donor

    Joined:
    Oct 11, 2008
    Messages:
    25,745
    Likes Received:
    1,944
    Trophy Points:
    113
    As I am used to tags, I always write my own anyway... it is just faster than the native img tool. [/img] is the end tag, [​IMG]
     
  22. DivineComedy

    DivineComedy Well-Known Member

    Joined:
    Apr 9, 2011
    Messages:
    7,629
    Likes Received:
    841
    Trophy Points:
    113
    I will have questions too, but since I am dense I usually just try to find it myself.

    My attempt at Visual Studio 2013, baby steps, figuring out how to get around. It took a day to find out how to convert a String^ to a number; some places are no help. The “Super Simple XAML/C++/CX Text/String^ conversion for arithmetic operations” sample was a lifesaver.

    C++ Primer lesson 5.2 num_test.cpp

    Visual Studio c++ example for those that are learning and freaked out by TextBlock and conversions; simple and no fancy fonts:

    Xaml which is inside the Grid:


    <ScrollViewer HorizontalScrollBarVisibility="Auto">
    <StackPanel VerticalAlignment="Top" HorizontalAlignment="Left">
    <TextBlock x:Name = "textOut" TextWrapping="Wrap" Text="TextBlock"/>
    </StackPanel>
    </ScrollViewer>


    <TextBox x:Name="textIn" TextWrapping="Wrap" RenderTransformOrigin="0.492,0.492" Margin="187,616,300,-169" FontSize="20" InputScope="Number"/>
    <Button Content="Run" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="-3,588,0,-172" Width="121" Height="76" Click="Button_Click" RenderTransformOrigin="0.495,-0.726"/>
    <TextBlock x:Name = "textBoxlabel" HorizontalAlignment="Left" TextWrapping="Wrap" VerticalAlignment="Top" Height="60" Width="899" RenderTransformOrigin="0.636,0.4" Margin="167,526,0,-94" FontSize="20" FontFamily="StarTrek Film BT"/>
    <Button Content="Reset" HorizontalAlignment="Left" Height="76" Margin="1008,588,0,-172" VerticalAlignment="Top" Width="123" Click="Button_Click_1"/>

    Cpp:

    //
    // MainPage.xaml.cpp
    // Implementation of the MainPage class.
    //

    #include "pch.h"
    #include "MainPage.xaml.h"

    #include <iostream>
    #include <stdlib.h>
    #include <sstream>
    #include <string>
    #include <stdio.h>

    using namespace ls5_2numtest;

    using namespace Platform;
    using namespace Windows::Foundation;
    using namespace Windows::Foundation::Collections;
    using namespace Windows::UI::Xaml;
    using namespace Windows::UI::Xaml::Controls;
    using namespace Windows::UI::Xaml::Controls::primitives;
    using namespace Windows::UI::Xaml::Data;
    using namespace Windows::UI::Xaml::Input;
    using namespace Windows::UI::Xaml::Media;
    using namespace Windows::UI::Xaml::Navigation;

    using namespace std;

    // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238

    MainPage::MainPage()
    {
    InitializeComponent();
    }


    void ls5_2numtest::MainPage::Button_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e)
    {


    int i;

    String^ input = textIn->Text;

    //Convert the the String^ object to a string that can easily be manipulated

    wstring ws1(input->Data());

    // Create a wstringstream object to convert the wstring to integer

    wstringstream converter;

    //create a integer, to hold the coverted variable

    int limit;
    //Convertor object can do a bunch of stuff so take a look at how it works,
    //but keeping things simple

    converter << ws1;
    converter >> limit;

    // End String to numeric conversions


    textBoxlabel->Text = "Enter the starting countdown value: ";


    for (i = limit; i; i--)
    textOut->Text += "i = " + i + " \n";
    textOut->Text += "Done now that i = " + i + "\n" + "This was your input: " + input + "\n";


    }


    void ls5_2numtest::MainPage::Button_Click_1(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e)
    {
    textOut->Text = "";
    }

    End of program.
     
  23. Ctrl

    Ctrl Well-Known Member Past Donor

    Joined:
    Oct 11, 2008
    Messages:
    25,745
    Likes Received:
    1,944
    Trophy Points:
    113
    There are 10 ways to skin that cat, but stringstream is the standard method, and wide character is the smart way to implement on Windows... but I do not see a question.
     
  24. DivineComedy

    DivineComedy Well-Known Member

    Joined:
    Apr 9, 2011
    Messages:
    7,629
    Likes Received:
    841
    Trophy Points:
    113
    “I will have questions too,” but I need to explore Visual Studio “Express” 2013 more and finish a Windows 8 “camp in a box” tutorial I started which is in C#: http://www.devcamps.ms/windows. And when taking a break I wanted to play with getting a canvas working, and explore that a little.

    I have only done one book “C++ Without Fear: A Beginner's Guide That Makes You Feel Smart (2nd Edition),” and I have two others to finish on the basics first, so in many cases I will be covering the same territory over again, so I am a baby here. A Large gray headed old Baby who does not want to take up your time with too much, because you should be saving the world and helping the young. What I was thinking is that I wanted to do stuff two ways as I learn: using the terminal, Cygwin and Vim or CodeBlocks, and using Visual Studio, hence the kind of XAML template above where I can test what works and become familiar with the IDE.

    The IDE designer looks like it wouldn’t be all that much of a pain to make the square apps like Blush or Math Playground (which needs lots of work), or Contoso Cookbook.

    What I mainly want is a good book or two for Christmas on Windows Store App development, and C++, maybe more intermediate than the primer type stuff. The problem is there may not be books out for Christmas about Visual Studio 2013 windows Store app development in C++.

    So if I had a question now it would be, what new books out there do you recommend and why?

    Other than that, if I have a question it will be because 25 searches did not give me an answer. How freaking hard is it to listen? If a guy is asking about Visual Studio 2013 C++ syntax in Windows 8.1 Store App Development to give Windows 8.1 in the appropriate fracking language, and if the teacher can’t copy and paste from something that is working on 8.1 say it may not work? And if some new kid who has been learning on a terminal coming to 8.1 wants to display text like a terminal in a TextBlock, because he is used to cout, and thinks something is wrong with the TextBlock, point out the += is very important in that for loop...
     
  25. DivineComedy

    DivineComedy Well-Known Member

    Joined:
    Apr 9, 2011
    Messages:
    7,629
    Likes Received:
    841
    Trophy Points:
    113
    My biggest problem is interpreting the syntax from what is given at like Microsoft.

    Don’t I need to understand this?

    http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.uielement.pointerpressed.aspx

    How to navigate it, and the IDE help stuff?

    How do you get from their stuff to this walkthrough in C#, but I want to learn how:
    http://blog.jerrynixon.com/2013/08/walkthrough-create-whiteboard-app-in-10.html

    I played with that, it works.

    I want to do it in C++, but I want to understand how to get there so I can add more stuff.
     

Share This Page