Saturday, 28 November 2015

New Budget PC - Late 2015

Found this article on PCgamer.com for a budget PC:
Component type Recommended component Price
Processor Intel Core i3-6100
$125 (£107)
Motherboard AsRock Z170M Pro4S
$100 (£78)
Memory Kingston HyperX Fury DDR4 2666 (8GB)
$60 (£45)
Graphics card AMD Radeon R9 380 4GB
$195 (£183)
Power supply EVGA 500W 80PLUS Certified ATX12V/EPS12V
$40 (£41)
Primary storage Crucial BX100 250GB
$80 (£63)
Secondary storage Western Digital Blue HDD (1TB)
$52 (£40)
CPU cooler Arctic Alpine 11 Pro Rev. 2
$15 (£8)
Disc drive None $0 (£0)
Cases Cooler Master N200 (see below for more) $50 (£42)
$717 (£607)

This is a little out of the 'budget' price range. I remember that the previous article was a Pentium g3258 at a

much cheaper price. Found this from a recommended proper budget build:
CPU
$59.99Intel Pentium G3258 3.2GHz Dual-Core

MOTHERBOARD
$28.99MSI H81M-P33 Micro ATX LGA1150

MEMORY
$36.29Kingston HyperX Fury Blue 8GB (1 x 8GB) DDR3-1866


STORAGE
$62.22Samsung 850 EVO-Series 120GB 2.5" SSD


CASE
$79.98NZXT S340 (Black/Red) ATX Mid Tower


POWER SUPPLY
$0.00SeaSonic 620W ATX12V / EPS12V
$272.47


This is sooo much cheaper!! Just need a graphics card. He recommends a 380/380x, or 960. We'll see. Think I might just go for what I got last year: R9 270. Budget card of choice seems to be $106.98Gigabyte GeForce GTX 750 Ti 2GB WINDFORCE
Also adding a Cooler from top as will be overclocking

Bought. Here's what I got:
1 x Intel Pentium Dual Core G3258 3.2GHz Socket 1150 3MB L3 Cache Retail Boxed Processor £45.82
1 x MSI H81M-P33 Socket 1150 VGA DVI 8 Channel Audio mATX Motherboard £25.82
1 x HyperX 8GB 1866MHz DDR3 CL10 DIMM Fury Series Blue £26.65
1 x Ace Black 120mm Fan 700W Fully Wired Efficient Power Supply £14.99
1 x Gigabyte GTX 750 Ti 2GB GDDR5 Dual Link DVI HDMI PCI-E Graphics Card £72.49
1 x Cooler Master Hyper TX3 EVO 3 Heatpipes/1x92mm Fan CPU Air Cooler £16.24

Total: £242.43

Going to yoink an old case from who knows where, saved about £15.00

Saved money on PSU and case. He used stock cooler, I don't trust in them, especially when overclocking!

Wednesday, 4 November 2015

If all links on the internet were nofollow links, where would that leave Google?

A Test for rel="nofollow" links and google PageRank


Just listening to Link Building in Depth with Peter Kent, specifically "Examining social networking links" explaining that Google has stated that a link with rel="nofollow" does not contribute to a pages PageRank. He goes on to say that they have also stated that it is up to the social network sites to manage which links are nofollows

Surely Google should manage which it thinks are worth looking at, as it is their search results that are affected. If all links on the internet were nofollow links, where would that leave Google?

It is an almost certainty that they do use links with rel="nofollow", they simply don't admit to it. A simple test would be:

Perhaps a more thorough test would be:
  1. To create two sites or pages, with the same 'unique content'.
  2. ONLY use nofollow links to get to one of the page from indexed sites (perhaps only Facebook)
  3. Finally do a search on Google
If the site which has the nofollow links is higher then the page with no links, then Google is using rel="nofollow" links

Cheers

Sunday, 19 July 2015

simulating connectionist networking using cell like balls

I'm interested in new ways of computing, particularly connectionist networks. One such way is not to emulate connectionist networks through computeres, but to physically make one.

My new idea is to make the building blocks (nodes) of connectionist networks; small, simply and cheap enabling mass production. Each node requires power for processing and communication transmission, and a way of communicating. These nodes can then be put in a volume and the network is made.

The difficulty of powering a network like this is that this power distribution would get in the way of the communication and would have to be built into each node, so that they can pass the power over to adjacent nodes.

One idea is to cover the node in a conductor, and when the surface touches both a positive and negative ..... it can be powered. This way you can fill a volume with these nodes and only provide provide electrical power to the outer nodes. The outer nodes touching their neighbours and so on, passing the charge.

Communication has to be done through another medium so as not to complicate or interfere with power distribution. The medium which seems best suited is light. With the advances in optics and commincation through optics this method seems the best answer. At its' very simplist, there are LED lights in a sepherical distribution around the node, and also light recieving devices surrounding each node.

Each node is powered by being next to a powered node. It can send and recieve signals from it's neighbours through light.

One drawback in using light is that it will have to be converted at the beginning and end nodes, to electrical signals.

Thursday, 16 July 2015

interactive base to work on

Been thinking about an interactive template for web design. The basic principal is to create a canvas containing thousands of tiled objects, could be pixels. All these objects are monitored. When the mouse passes over them their colour value increases.This would create a nice effect for the user.We can change areas of this so that the pixels behave differently in different areas. Perhaps their behavior is based on the proximity to something. Or perhaps different elements like the menu system have either different starting value or different calculations.
This way we can create a website, the graphics are all based on user interactions, and each time the page is visited the visitor will see something unique.
To do:
  • Create objects which change when mouse goes over
  • Tile a webpage with it
  • Create areas within the webpage with different variables

Possible problems

I see that this initially might be processor intensive. This needs to be monitored and more effencient methods worked out.



Research

going to use jquery to animate the changes. 

Tuesday, 23 June 2015

MDT task sequence gets stuck in a loop -

Found this page which describes how to stop the cycle, which is the only reference not entailing wiping the whole drive and starting again!

Basically, just run the LTICleanup.wsf file in the scripts folder within the Deployment Share

On reboot it came up with this error:
can not find script file c:\minint\scripts\litetouch.wsf

Simply had to delete the last file in the startup folder in the start menu.

Thursday, 11 June 2015

C++ Programming compression - Step 1 - reading and writing to a file

After installing Netbeans for windows (previous post) the first stage of making my compression program is to read and write text files. Ultimately, to read a file, compress it (0% to start with -  might actually be larger) and then uncompress it to the original contents. Really want to make a self extracting compressed file. Not sure at what point to implement this. The earlier in the project the better I thinks.

First things first - read and write to files. Found this tutorial using Visual Studio, but can't be too different.

ifstream
ofstream

Found this tutorial on it as well, but you can copy and paste this one. Here's the program I wrote to read a file, and write to a file (although couldn't get it to create a file):

/* 
 * File:   main.cpp
 * Author: Supermonkey
 *
 * Created on 27 May 2015, 07:16
 */

#include 
#include 
#include 
#include 
using namespace std;


void readFile(string filename);
void writeFile(string filename);
/*
 * 
 */
int main(int argc, char** argv) {

    string readFilename = "newhtml.html";
    string newFilename = "newtxt.txt";
    
    readFile(readFilename);
    writeFile(newFilename);
    
    return 0;
}

void readFile(string filename) {
    
    string line;
    ifstream myfile ("newhtml.html");

    if (myfile.is_open()){
      while ( getline (myfile,line) ){
        cout << line << '\n';
      }
      myfile.close();
    }
    else cout << "Unable to open file"; 
  
  

  //return 0;
    
}

void writeFile(string filename) {
  ofstream myfile ("newhtml1.html");
  if (myfile.is_open())
  {
    myfile << "This is a line.\n";
    myfile << "This is another line.\n";
    myfile.close();
  }
  else cout << "Unable to open file";
  //return 0;
}




Managed to find this forum on why I couldn't pass a string into the ifstream and ofstream perameters. To get it to work you have to convert the C++ string to std:string :

ifstream myfile (filename.c_str()); 

I've now created a couple of functions which read a line from one file, and write it to another. I found this explination of how to append to a file, as with the above code it would only wipe the file and replace contents with the last line.

void readWriteFile (string readFile, string writeFile) {
    string line;
    ifstream myfile (readFile.c_str());

    if (myfile.is_open()){
      while ( getline (myfile,line) ){
        cout << line << '\n';
        writeLineToFile (line, writeFile);
      }
      myfile.close();
    }
    else cout << "Unable to open file"; 
}

void writeLineToFile (string line, string writeFile) {
  ofstream myNewfile;
  myNewfile.open (writeFile.c_str(), std::ofstream::out | std::ofstream::app);
  if (myNewfile.is_open())
  {
    myNewfile << line << "\n";
    myNewfile.close();
  }
  else cout << "Unable to open file";
  //return 0;
}

Sunday, 31 May 2015

Netbeans install

Found this video for installing netbeans for use with c++. Why is it so complicated. Because people don't want you to make programs! They want all the glory! Here's what I make of the rundown of the install:


  1. Cygwin (please make your website easier to use!)
    1. click install > setup-x86.exe
    2. Run it
    3. Download from any mirror
    4. Packages
      1. gcc-core - GNU compiler collection
      2. gcc-g++ - GNU compiler collection
      3. gdb - GNU debugger
      4. make - the GNU version of the make utility
    5. install
  2. JAVA Development Kit JDK
    1. Download JDK
  3. Netbeans
    1. just install the full package (you never know when you're going to need it all)
    2. Load up Netbeans
    3. make a new C++ app
    4. tools > Options > C++
      1. If you don't have anything in these boxes, click restore to defaults
Done