Jump to content

Blogs

Our community blogs

    • 0
      entries
    • 0
      comments
    • 252
      views

    No blog entries yet

    • 1
      entry
    • 6
      comments
    • 397
      views

    Recent Entries

    So, lots of people have been leaving, and im getting the feeling to.

    In honesty, the last few months, i have spent alot of time on here, not that my grades are slipping, but mostly i am wasting my time. im not helping people on almost every thread like i did for a while when i joined. Now days i mostly just spam my statues. there is almost never enough people in the teamspeak when i go and try and talk tech. I come here and sit in statues becasue it is were i can have fun, and more importantly have friends. sure i have friends, but its hard to go out with them, none of us can drive, others have girlfriends, and none of us really hang out outside of school. So i come here, because you guys WERE always here, and i could always hang out with you guys.

    But soo many people are leaving, and claiming it is becasue the forums are going to shit, but i feel that is the reason it it falling. Some people have good reasons, like they need to get their life back together, and need to get grades up. but all these good members are leaving "because the forums are going to shit" but really every time one of us leaves, we let the trolls at another piece of the forums, and its harder for use to take back.

    I wana leave, but i just have too much here, especially my friends.

    i didnt know, i have been here for about 13 months.

    • 1
      entry
    • 2
      comments
    • 285
      views

    Recent Entries

    alexit95
    Latest Entry

    Hey guys!

     

    I need your guys help! I would like to buy an external monitor because my laptop has a 14" monitor and when gaming or doing anything else its a little too small, any recommendations?

     

    I was looking at the ultrawide monitors, but I'm afraid that my laptop won't run the 21:9 ratio...
    I have a lenovo Y40-70.

     

    Games I play are: World of Warships, Total war shogun 2, Tropico 3 and 4 and sometimes maybe a shooter... any suggestions? My budget is like 220 max since the laptop was only 300 $!

  1. This is a perhaps a more eloquent and elaborated presentation of what I was wanting to speak in the thread 7-times Microsoft MVP finds Windows 10 Enterprise collects too much data at minimum, calls for legal action.

     

    The relevant links from that thread are these:

     

    Windows, Spying, and a Twitter Rant

    Screenshots showing high levels of contact with Microsoft servers after employing all efforts to stop data-transmission

    Additional screenshots of further Microsoft server activity, discovered later

     

     

    I would like to give some personal commentary to the subject that those links are about.

     


    If a politician steals millions of taxpayer dollars, which is only a few cents from each person, they go to jail. So what about when Microsoft is continuously piggy-backing on everybody's PC systems to enrich themselves? Microsoft is using people's own hardware, software licenses, electricity, computing power, data, time, and private activity for non-sanctioned business use, and the profit of Microsoft's executives.

     

    Microsoft's data-mining is no different than a virus that is distributed to people's PCs to min mines digital coins using their CPU and CPU power, with the earnings being deposited in the e-wallet of the virus' creator. You could also look at it like someone setting up a mining farm, but connecting all their systems to their neighbour's electricity supply - except that in the case of Microsoft's data-mining, they are not using their own hardware, software licenses, and everything else, but those of the people whose systems are sending data to Microsoft... and so the coin-mining virus is a more suitable analogy.

     


    Every aspect of Microsoft collecting data from people's PC systems and personally-owned Windows licenses is already established in law as being illegal. But some people are taking a bit of time to work through the understanding that leads to that recognition, because software-license owners are traditionally just not on the lookout for stuff like this and usually just focus on using their software, and not technical legal aspects or ethical implications behind its operation. Also, Microsoft being a well-known company whose products people have used for years throws a lot of people for a loop, I think, because they are used to just assuming that whatever they're doing must check out, somehow. Well, this doesn't. It's illegal from head to toe.

     

    It's theft, but it's also Unjust Enrichment - which is the situation where one party is making profit for itself at the unjust expense of others. A current UE case involves ZeniMax targeting Samsung for Unjust Enrichment over VR technology that ZeniMax claims belongs to them but is profiting Samsung.

     

    If you unilaterally utilize somebody property, or copyrights to make yourself money, who is legally entitled to the proceeds? Legal entitlement goes to whom the required property and rights that the profit is dependent upon belong to. 

     


    A person who argues that by using Windows 10 a person agrees to send Microsoft their data would be wrong, because sending Microsoft data is not essential to making use of the software functionality that was paid for when buying a Windows license, and so conditioning usage of the paid-for functionality on unrelated and Microsoft-profiting access to personal and private data would not pass the Reasonable Person test.

     

    Also, such an argument would be in ignorance that the data sent to Microsoft doesn't come from only the owned software license, but also a person's personally-owned  hardware, electricity, computational time, uniquely-generated data, and personal / private activity - things for which there can be no entitlement for Microsoft to use any more than a car salesperson can claim that if you buy a vehicle from them, then they have access to use your garage and everything in it, including the power source hooked up to it.


    Additionally, the idea that Microsoft could exert any authority over an instance of the Windows OS after they've sold the license that represents the OS instance to somebody is a violation of the first-sale doctrine, which makes clear that such authorities and privileges pass to the owner of the property, in this case, the owner of the software license and the instance of the OS it represents, once it is sold. And the SCOTUS has just made a unanimous, 8 - 0 in favour, re-affirmation that decision-making rights leave from the seller to the buyer at the first-sale of an item.

     


    I fully believe that seven-times Microsoft Most Valuable Professional award recipient Mark Burnett is right when he says "What we need to do is fix this, even if that means getting lawmakers involved. It can only get worse from here". Though, I believe it is important for big reasons beyond simple control and security of the OS.

     

    Microsoft is stealing digital property, computational power, and electrical resources from everybody, and is making non-licensed usage of people's hardware property, the housing of that hardware, and are exploiting people's personal behaviours while those people are staying within their personal and private spaces (non-online activities). And in the process of violating Windows license-owners' rights over their property, resources, time, and behaviour, Microsoft is unjustly enriching its company and executives.

     

    If action is not taken against those who commit these violations, then all established societal and legal notions of what property is, who possesses decision-making rights over it, how much a person can use their position to unfairly exploit others against their natural desire... then all existing understanding of those things becomes argued against, and a precedent is established where a person's property is anyone's to use by unilateral decision, and a seller of goods can enslave and overrule aspects of people's own private lives and property as part of their conditions for their sale. Effectively, a sale becomes not a transaction of goods for money, but a mechanism for enslavement and subjugation, with the seller acting as if they held a commercial license over a plethora of the buyer's possessions and entitlements.
     
    A person whose personal and private PC system environment (non-online spaces) is sending data to Microsoft through telemetry, data-collection, and analytics of their behaviour is an employee of Microsoft who does not get paid, or receive any company benefits.

    • 1
      entry
    • 5
      comments
    • 307
      views

    Recent Entries

    OriginalPromise
    Latest Entry

    This is a template I made to greet the newbies.

    Feel free to use it as your own.

    Hello, and welcome to the forums!

    Please make sure to read the CoC, Posting guidelines, Private Policy, Reporting Guidelines, and the F.A.Q. here:

    Code of Conduct

    Posting Guidelines

    Private Policy

    Reporting Guidelines

    F.A.Q.

    Also, please use PCPartPicker for all your PC building needs! http://pcpartpicker.com/

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Linus Tech Tips will provide a wonderful environment for you to interact and learn with other members.

    We hope you enjoy your stay!

    P.S. Don't forget to customize your profile, and always ask if you need help. (Please quote to get another member's attention)

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Can we have the following information?

    • Budget
    • Location
    • If you need a monitor
    • If you need Windows
    • If you need peripherals (keyboards, speakers,etc)
    • Any special requirements you're looking into. (Color scheme, etc.)

    • 1
      entry
    • 0
      comments
    • 284
      views

    Recent Entries

    Hi I was considering the New Dell 15 7000 series with Intel core i7 5th gen, 8gb of ram, vs the HP probook 650 g1 with intel core i5 4th gen, 500HHD 7500rpm, 8gb of ram etc. Which one of them should I consider for 3d programs as Autocad, Sketchup, Lumion etc. I will gladly consider another option. Thanks!!

  2. ZonkyHD

    • 0
      entries
    • 0
      comments
    • 311
      views

    No blog entries yet

    • 0
      entries
    • 0
      comments
    • 153
      views

    No blog entries yet

    • 1
      entry
    • 1
      comment
    • 328
      views

    Recent Entries

    Banana Milk
    Latest Entry

    I drank Banana Milk.

    dsc08931-e1319173057366.jpg

    • 0
      entries
    • 0
      comments
    • 358
      views

    No blog entries yet

  3. These are my computer parts please respond and tell me if it's a good list.
    http://pcpartpicker.com/p/BBMzrH

  4. I'm sick to death of people telling me "if it was so easy, the game devs would have done it by now. They know better than you do."

     

    Here is visible, incontrovertible proof that the games industry can get a huge boost from taking advantage of SIMD today, especially when games require Sandy Bridge or later hardware (meaning AVX is available, but not AVX2 for our purposes).

     

    First Example: Mesh Transform By Translation Using AVX Intrinsics

     

    Example updated and trimmed for readability.

    Spoiler
    
    #include <cstdalign>
    #include <iostream>
    #include <chrono>
    #include <ctime>
    #include <x86intrin.h>
    
    //Size chosen because 30,000 triangles is considered medium-high for modern prominent characters
    const uint size = 90000;
    alignas(32) const float Mat3T[8]    = {1.0f, 2.0f, 3.0f, 1.0f,
                                           2.0f, 3.0f, 1.0f, 2.0f};
    alignas(32)       float Mesh[size]  = {};
    
    void translate_scalar(float *Mesh, const float *translation, const int length)
    {
      for(uint i = 0; i < length; i+=3)
      {
        Mesh[i]   += translation[0];
        Mesh[i+1] += translation[1];
        Mesh[i+2] += translation[2];
      }
    }
    
    void translate_vector(float *Mesh, const float *translation, const uint length)
    {
      __m256 trans = _mm256_load_ps(translation);
      
      //we stay 8 ahead in count so we don't go out of bounds
      uint i = 7;
      for(; i < length; i += 8, Mesh += 8)
      {
        __m256 verts = _mm256_load_ps(Mesh);
        verts        = _mm256_add_ps(verts, trans);
        _mm256_store_ps(Mesh, verts);
        
        trans = _mm256_permute_ps(trans, _MM_SHUFFLE(2, 1, 0, 2));
      }
    
      
    
      //Cleanup loop for cases where length is not a multiple of 8
      uint diff = 8 - (i - length);
      if( diff != 0)
      {
        float temp[8] = {};
        _mm256_store_ps(temp, trans);
        //for(uint j = 0; j < diff; ++j) { Mesh[j] += temp[j]; }
        while(diff != 0)
        {
          *Mesh += temp[7-diff];
          //temp++;
          Mesh++;
          diff--;
        }
      } 
    }
    
    int main()
    {
      using namespace std::chrono;
      std::cout << "Mesh size in floats: " << size << "\n";
      high_resolution_clock::time_point start, end;
      
      start = high_resolution_clock::now();
      translate_scalar(Mesh, Mat3T, size);
      end = high_resolution_clock::now();
    
      duration<double> time_span = duration_cast<duration<double>>(end - start);
      std::cout << "Scalar translation took " << time_span.count() << "s\n";
    
    
      
      start = high_resolution_clock::now();
      translate_vector(Mesh, Mat3T, size);
      end = high_resolution_clock::now();
    
      duration<double> time_span2 = duration_cast<duration<double>>(end - start);
      std::cout << "Vector translation took " << time_span2.count() << "s\n";
    
      /*//This will double-check your work.
      for(uint i = 0; i < size; i += 3)
      {
        std::cout << Mesh[i] << ", " << Mesh[i+1] << ", " << Mesh[i+2] << "\n";
      }
      */
    
    }

     

     

    My average timings and variance for a 4960HQ on my Macbook Pro Retina under Fedora 24, latest kernel as of 10/15/2016:

    Compiler: Clang++ 3.8.0

    Flags:      -std=c++14 -O3 -march=native

    Mesh size in floats: 90000
    Scalar translation took 6.08489e-04s +- 0.11032e-04s
    Vector translation took 5.82480e-05s +- 0.14391e-05s

     

    The short of it is you can write tighter, denser loops with a little bit of effort. While the latency for each vector add is 3 cycles and each multiplication is 5, multiple iterations can be in flight at once on a single thread. The throughput for the vectorized version is 8x the scalar version without any unrolling. Thus, the loop can also easily fit into the small loop detector which can shave off some cycles due to prefetch removal and result forwarding between iterations. Assuming you don't run out of memory bandwidth, you can actually do other tasks on this same core without using hyper threading as long as they do not depend on the result of the mesh manipulation. Looking at the SB block diagram, with each clock achieving both an 8-wide vector multiplication and 8-wide vector addition, you can achieve more than 50GFlops per core on a 2600K, but the memory bandwidth will not allow you to load and store the results as quickly as you can request and produce them at a rate of 50GB/s without high-end dual-channel DDR3 or a quad-channel configuration. It would be best to use a C++ 17 stack-less resumable function to encapsulate this and do short bursts of another task when more than 3 L3 cache misses happen in a row (this can be tracked with a hardware profiler to determine optimal burst lengths).

     

    If there is interest, I can go into nuances of leveraging vectorization techniques in conjunction with other data transforms relevant to gaming (though I'm not giving away my AVX ray tracer). I can also look into benchmarking multicore use of this and balancing it out against other tasks to achieve best performance for a given configuration.

  5. URGENT

    • 0
      entries
    • 0
      comments
    • 252
      views

    No blog entries yet

  6. The source of everything these days, the lifeblood of economy and roots of trade.

    There comes a point where things get weird. Like today.

    Any other normal day by all accounts to begin with, wake up, check emails, get on TS, have a chat while breakfast/dinner is cooking, eat, poop and sit around... Enters my uncle (of sorts) and offers me £100, so long as i pay him back by xmas. Now, i don't need money by any stretch of the imagination. It'd be dandy, but, no. Just no.

    3 minutes later, enters my gran. Offers me £200 straight up also. By this time, i'm convinced there's something up. Apparently they just wanna give me my xmas money early or something.

    Still think they're trying to sweeten me up for something... ¬_¬

    MRW I'm offered money that i clearly don't need, but it'd be dandy.

    • 1
      entry
    • 0
      comments
    • 265
      views

    Recent Entries

    Have been trying to program my new stick I got from my loving wife :wub: for my birthday and have done everything to try and get it to work. I've been to the support team for it and they pass me around :angry: . I've even asked on here in trouble shooting. I've wanted to play full reality in War Thunder but was hindered by the stick I had :( and it was dying on me as well. Two months have gone by with no game play at all. Wife is upset because I've ordered another stick like my last one. Won't be what I want to play with for the type of flight sims I play but, at least I'll be playing tell I can afford to have a geek come in and help me program this new one.

    • 1
      entry
    • 0
      comments
    • 290
      views

    No blog entries yet

    • 0
      entries
    • 0
      comments
    • 262
      views

    No blog entries yet

  7. I am currently working on a personal project but so far, I've created a simple python script (with many comments to try and explain what is going on!) to pull data from the default tac_plus.acct (AAA Accounting file) that is created with tac_plus.

     

    By default this file is saved in /var/log/tac_plus.acct and records user sessions (whether it is authenticated via TACACS+ or by the local database on our cisco router (10.0.100.1). The script takes an argument used to filter the specific 'username' for the total time they have accessed this device.

     

    The script technically pulls total time accessed to ALL devices with that username, but in my case I have only a single router configured in GNS3 with the ubunutu VM as a docker. I am looking to improve this script so I can either filter by ALL devices/IPs or a single IP matching a username.

     

    #!/usr/bin/env python
    
    import time
    import sys
    
    def getUserTime(username):
    	#Default location for accounting file below. It won't be created if AAA accounting is not
    	#configured on the device...
    	accFile = open('/var/log/tac_plus.acct','r')
    	splitFile = accFile.readlines()
    
    	#2 lines should involve a session (Connect + Disconnect)
    	sessions = len(splitFile) / 2
    
    	print 'Total Sessions in accounting file: {0}\n'.format(str(sessions))
    
    	#Variables for splitting the file + counters
    	session_index = 0
    	session_list = []
    
    	count = 0
    	user_sessions = 0
    	user_time_index = 0
    	user_time = 0
    	#--------------------------------------#	
    
    	while session_index < sessions:
    		#Check if username exist in accounting file
    		if any(username in s for s in splitFile[count:count+2]):
    			#Increment user sessions, since more than 1 connect/disconnect have been found
    			user_sessions = user_sessions + 1
    			#Print below is for debugging/seeing output when running the script
    			print 'Found session for user: {0} ({1})...'.format(username, user_sessions)
    			#Append connect/disconnect session from splitFile list to a new list of lists...
    			if any("elapsed_time=" in t for t in splitFile[count:count+2]):
    				session_list.append(splitFile[count:count+2])
    		#Counter is incremented by 2 because of session is made from: connect and disconnect
    		count = count + 2
    		#Session_index tells us what session we are on in the file...Stops the while loop
    		session_index = session_index + 1
    
    	print '\nTotal sessions for user **{0}** = {1}'.format(username, user_sessions)
    
    	#Reset incase I use count again...
    	count = 0
    
    	#For each 'session' (which we have filtered 'elapsed_time=' to a username
    	for session in session_list:
    		user_time_index = session[1].split() #Split all variables in disconnect session
    		#Index 14 SHOULD be 'elapsed_time=', replace it so now we have the variable in 'user_time'
    		user_time = user_time + int(user_time_index[14].replace('elapsed_time=',''))
    
    	#using 'time' module, to output the format
    	user_time = time.strftime('%H:%M:%S', time.gmtime(user_time))
    	print 'Total time logged in: ' + str(user_time)
    
    	#Write to temp_time so a PHP script in /var/html/www can pull the total time for the user...
    	new_file = open('/var/www/html/temp_time.txt','w')
    	new_file.write(user_time)
    	new_file.close()
    
    getUserTime(sys.argv[1])

    The purpose of this was to rent out a lab (where the customer needs to log in via an access server) and be able to gather/display information regarding the total time they have spent on the lab.

     

    So the access server can be configured with AAA (and accounting exec command) to authenticate with this linux VM. Then the customer will be able to somehow view a webpage that gathers the time he has logged in until the password is reset (and he needs to book another 24hr frame to get access again)... The basic PHP script to access this time value in the text file is:

    <html>
      	<div class="lab-remain-time">
    		<p>User netdbackup - Total used LAB time </p>
    		<hr>
    		<?php
    			$myfile = fopen("temp_time.txt", "r") or die("Unable to open: temp_time.txt");
    			echo fread($myfile, filesize("temp_time.txt"));
    		?>
    	</div>
    </html

     

    Here is an example of all of this in action:

     

    The script can filter total sessions + total time on a username:

    7H08Xoa.png

     

    The best css formatting you'll ever see (php script reading the time)

    iY57eOM.png

    • 1
      entry
    • 2
      comments
    • 248
      views

    Recent Entries

    Hey guys,

    I'm currently finalising and planning my PC build. I already have the case and CPU and I am asking for some suggestions or changes in parts which makes this build better. My budget without OS is about £650-£700

    CASE: Zalman Z11 Plus

    CPU: AMD FX8350 Black Edition

    CPU Cooler: Cooler MasterHyper 212

    MTB: ASUS Sabertooth 990fx

    RAM: 8GB initial upgrade to 16gb then 32gb in the future; Crucial Ballistix sport 8gb single DIMM.

    GPU: ASUS Nvidia GTX 750ti

    Storage: 120GB Kingston SSD & 1TB Seagate barracuda

    PSU: 660W Corsair Modular 80plus bronze

    Let me know what you guys think :)

    Armitage

    • 1
      entry
    • 4
      comments
    • 396
      views

    Recent Entries

    Freaking won the giveaway. Yeay. Never have i ever win anything in my life and i got a free akg headphones :D

    • 0
      entries
    • 0
      comments
    • 294
      views

    No blog entries yet

    • 0
      entries
    • 0
      comments
    • 254
      views

    No blog entries yet

    • 1
      entry
    • 2
      comments
    • 362
      views

    Recent Entries

    My Components:

    Graphic card GIGABYTE GeForce GTX 970, 4096MB, GDDR5, PCI-Express 3.0 359.00 €

    Processor Intel i7 4790k 312.84 €

    Mainboard MSI Z97 G34 Gaming 128.61 €

    RAM Crucial Ballistix Tactical, 8 GB Kit, DDR 3, PC3-12800 78.62 €

    Case Corsair: Carbide Series 300R, Black, Mid PC Case 78.59 €

    HDD hard drive: Toshiba DT01ACA200, 2TB, internal hard drive, 3,5 inch, 7200RPM, 64MB Cache, SATA III 77.89 €

    SSD hard drive Crucial CT128MX100SSD1, internal SSD, 128 GB, SATA III, silver 68,10 €

    Processor cooler be quiet! Shadow Rock 2 (LGA 1150) 40.75 €

    Power supply unit: Corsair CX750M (750 Watt) 40.00 € CD-ROM slot LG GH24NS95 18,99 €

    Thermal paste Arctic MX-4, CPU-cooler-thermal paste 5.44 €

    Keyboard Cherry G83-6105 LUNDE-2, Black, USB, 105 buttons, German keyboard layout 22.55 € Mouse Logitech G500, Gaming Mouse, with wire 33.00 €

    Mousepad SteelSeries QcK Mass Gaming Mousepad 10.88 €

    In total: 1275.26€ (in Germany)

    Now my question, what should I improve, spent more or less money on?

  8. PC Issues

    • 2
      entries
    • 4
      comments
    • 337
      views

    Recent Entries

    The simple issue is that -after much googles- I still don't know how to set up different backgrounds on my different screens in Windows 10. I don't know why this can't just be as easy as it was on Windows 8, but the option doesn't seem to be there D:

    • 0
      entries
    • 0
      comments
    • 238
      views

    No blog entries yet


×