/sqt/ - stupid questions thread

Post your simple/small/stupid questions
Take at least 10 seconds to google first

Old Thread:

I fucking hate myself. Unrelated but does anyone know how to keep a Linux distro installed on virtual box. Every time I do an install of one, it'll reboot but put me back at the installer. Help?

Best free IDE and compiler for C++ on Windows 10?
Visual Studio Express requires an internet connection so I'm thinking of installing MinGW and Codeblocks.

Can someone explain to me why overclock CPU?
Unless it's old one and starts to run slow, otherwise, what's the reason for it if higher clocks wouldn't change performance (specially if CPU is more than 4 cores)?

you need to remove the dvd after you install it
if its virtualbox then just
main menu> devices > optical drive > remove or eject or whatever

Thank you.

it makes it do stuff faster, compiling, video transcoding, makes games run with less stutter if there was some...

consider this
i5-6600k
its stock frequency is 3.50 GHZ
then theres turbo 3.9 GHZ which only means single core goes to that frequency

now you go in to bios, change few things and you have 4.4 ghz at all cores.
thats 25% increase and its really there

oh... yeah... compiling and video transcoding makes sense...
Didn't thought about it.
thanks

is there a legit and smart way to kill a gpu without voiding the warranty?

>then theres turbo 3.9 GHZ which only means single core goes to that frequency

Why only one core?

If I have a Windows laptop that stopped working due to a bluescreen error, and I remove the harddrive and boot another computer from it, will the harddrive still fail to boot due to the bluescreen error?

what exactly are lambda expressions and what do they do? are they useful?

try removing the fan and installing it again when you take it for a replacement

A lambda is a function that can be treated as a piece of data. It is usually passed to another function as an argument, writtem inline. E.g. you could have a generic function for sorting a list, and then you pass the comparison function as a lambda.

What language? I can give an example.

java
by "treated as a piece of data" do you mean it can represent its return type? doesnt make any sense to me

How the hell do I fix this?

Also is it possible to get Ubuntu Minimal into a usb? I know you can only burn it on to a disc but is it possible? And also is it worth doing?

maybe you pressed the insert key? just a guess

Nope, sometimes it goes up by multiple rows and starts typing in the previous output. The commands still work as I was typing to the command line, it's just a visual bug.

> Ubuntu Minimal
Every Linux distro can be installed onto a USB stick, not as a live distro, but as a usual one.

no clue then m8, i never used linux before. sorry

It's a notation for writing how inputs are turned into output by a function. You write
λ[input] . [what is done to input to turn it into the output]
E.g. x+1 would be written as λx.x+1 .
This is all I know so it seems tautological to me. Supposedly they're useful because everything done by a computer can be expressed using lambdas.

Why is Python's moduling ecosystem so shitty and unintuitive?

Why it's so hard to import from other directories, download libraries without polluting the system using virtualenv?

Why Python's package structure is so terrible?


Python should learn a lot from node and npm.

Say you have an array of Strings.
String[] myArray = {"foo", "bar", "baz"};
If you want to sort this array into ascending order, you can use the standard function for it.
Arrays.sort(myArray);
But suppose you want to sort in descending order, or a custom order. You will need to tell the sorting function how to compare two Strings. In that case:
Arrays.sort(myArray, MyClass::customCompare
You make the customCompare method and you pass it as an argument to Arrays.sort, and now it knows how to order your Strings a different way.

is customCompare a static method of MyClass?
and does it need to be related with the sort method? like overriding it

by useful i mean do they provide any additional functionality not possible without them?

>is customCompare a static method of MyClass?
In this case, yes. However, you can use instance methods if you like.

The second argument of Arrays.sort is a Comparator. Comparator is an interface that specifies one method, compare.
Before lambdas you would create a new class that implements Comparator and specifies a compare method which compares two Strings according to the order you want.

I have a weird internet problem that seems to be happening because of my PC as I have the same internet on another PC and it works just fine there.
My guess it is something to do with DNS fuckery, but I am not sure. Basically sites load slow the first time I open them. Then everything within the site works fine for a while, but after X amount of time (10 minutes are probably enough) it goes back to being slow the first time. One of the things that didn't happen before is video buffering on youtube the first time I open the video. You can see the circles going in circle for a second.
One of the weirder things it is that the longer the PC is on the bigger the problem gets. In 24 hours it becomes a lot slower to open any page. Youtube videos might not even load and just get the buffering thing until I refresh the page. Sometimes I can get more than a week of the internet working just fine (without turning off my PC). But then I restart it or something and the problem appears. And from there on I can restart a lot and spam ipconfig /flushdns, but nothing works until one day it just disappears again.
And yes, I have tried different versions of the lan drivers.
I am on Windows 7. I am using a switch that is definitely working.
I think I was able to put myself in a state of "stable" connection. I was just randomly changing the lan drivers again and spamming ipconfig /flushdns, but I know neither of them is a sure fix. It is just a matter of time before it shits itself again.
So is it possible that the motherboard's lan has been fucked and I should get a lan card? Or maybe it is something to do with my ISP? Or is it just driver fuckery?
Please read.

is Arrays.sort varargs? my question is more along the line of can i pass a lambda expression as a parameter?

you're being throttled by your shitty ISP

Why isn't my other PC being throttled then?

X compact for 270 euros.

It comes with carrier apps preinstalled but is not locked which means I can use any sim card I want. If I want to get rid of the carrier apps, would it be possible to flash the stock Sony ROM?

What's the best 15" laptop around?

>is Arrays.sort varargs?
It's an overloaded method. There's a one-arg version which takes just an array, and there's a two-arg version which takes an array and a comparator. There are more versions, but those aren't important.
>my question is more along the line of can i pass a lambda expression as a parameter?
Yes, that's exactly the idea. A lambda that you cannot pass to an expression is fairly useless. The main use of a lambda is to make a generic function whose functionality you can control by passing it a second function. These are known as higher-order functions.

Sorry, I fucked it up.
>A lambda that you cannot pass as an argument is fairly useless.
This is what I meant.

thanks man, this makes more sense now

...

I'm wondering on which site (tracker) you download softwares and programs?

Any good speakers for under $50? I'm not a fan of bass that most Logitech have.

what is a good program to see the fps,cpu and gpu usage while you game ?

I need to add Google authentication to my website for some god forsaken reason. Do I need to sign up to Google myself to obtain some client_id I can use on my site?

I need to turn FLAC into MP3 and I want the metadata to carry over. What program should I use?

IPT

No signed up is needed

ffmpeg

tldr
Use a zapper from a lighter to hit it everywhere, it won't turn on.

I want to test my GPU acceleration. Where can I find some 8k porn?

Is there a way to get email-to-txt notifications on my smartphone just using wi-fi instead of buying an actual service plan or whatever?

What program do you use to record a video of your screen?
Something light

OBS
-free software
-multi-platform
-supports some level of hardware encoding
-can stream to various steaming sites
-Terry approved

Hello, I see that many IT jobs have requirement for Active Directory, While I know a bit what it is, I have no idea how to get it/use it, so I can practice it in my home network.

Any one has any idea how I can download it, or exactly what do I need to write?(writing active directory at piratebay just gives me tutorials)

Check QoS settings on your router, it may vive you lower priority.
Also How many devices are connected to the network when you notice slowdowns?

Which error
(If it auto-reboots hold F8 on boot and disable reboots on critical errors)

IT here

Install Windows server 2008 + 2012R2
Install AD DS
Boot some VMs runing windows and attempt to join those PCs into ur domain

that\s a start

in practice all youd probably need is to: create/delete/edit users and other basic shit

Why does it take my ASA5520's DHCP ~30 sec until communication is OK ?
Plug-in a cable, count 30sec, only then.

No router, just a switch. My PC is connected directly to the main switch. From the switch there is a cable to another switch and then to the second PC. They have different IPs. On the second PC there is no slowdown so by that logic it can't be a problem with the main switch. And yes I have tried different slots of the switch.
Changing drivers and cleaning the DNS might not usually fix it, but I would say it pretty much for sure somehow effects it. Or at least restarting the PC effects it.

I'm downloading 2012R2 right now, do I really need the 2008?
also, what's AD DS?

Thanks btw.

I got a 1.5k pic folder of girls i know irl that i fap to every day
is there anyway people could find out online by searching on microsoft my email that i put on windows or some weird shit like 'the cloud' without my permission

Maybe if you use windows 10, but there's no way it'd know you were fapping to them unless you put them in a folder called "This is a folder full of girls I fap to regularly without their knowledge"

I am currently living in China and I always use a VPN to browse the banned sites such as Youtube or Google.

Something is happening to me right now where I had completely disabled my VPN (it's not showing up at my process manager) but I am still able to connect to banned sites in China without the proxy, I posted on Sup Forums and it showed me with an American flag instead of a China flag, perhaps because I had used a Los Angeles server before this happens.

Can someone please explain what is going on with my internet connection, and will this effect sustain for long? Can I replicate this in the future?

Would reducing the polling rate on a bluetooth device improve the battery life on the device?

The shortcut is gone but the connection is still live?
reboot and if its still working, tell us.
windows?

2008 is for them customers that didn't yet upgrade because money and just werks. just to familiarize yourself with the differences.
I still manage Servers 2003 for a few cheap ass customers.

yes

Thanks dude!

thanks

Very idiotic question, but are there plastic films on a 7600K and a Be Quiet Pure Rock when unboxing them? I don't remember if I took it off if there is one.

I restarted my machine and upon logging in Windows kicked me off and forced me to reboot because of a "nwifi.sys". I have to browse the banned sites with a VPN again now.

and yes, I am using W10, I am usually fine with just using technological crap targeted to the lowest denominator but W10 has taken it way too far with all the new invasive features, I was seriously considering switching to debian but I don't have time to iron out the issues with compatibility on my most used programs, being an expat with only 1 computer and limited time on my hands I had to make do with W10 right now.

Active Directory Domain Services
Is a server role ( remember that word ) in Active Directory, responsible for management of information.

Update your Win+BIOS, install LTSB when you get an hour or two free (USB3 to save time)
Sounds like you're Ok now.

thanks for the advice, though it goes without saying that I would much rather prefer having this side-effect on 24/7 because I noticed the usual slowdown created by activating the VPN is gone and I am able to browse all websites normally. Could I trouble you to tell me what just happened to my internet/VPN before I restarted my machine?

whats the best way to root an amazon 7 tablet

Ex-Winfag, Should I go for Mint or one of the -buntus

it doesn't really matter, just avoid GNOME and Unity.

networking issue here that i've so far been unable to resolve with google searches

i've had this router (ASUS RT-N66U pic related) for nearly 3 years now without any significant issues until recently. My ISP is Charter Spectrum and recently the speeds became very slow.

A Charter technician was sent out and he did a line test to no avail, so he replaced my modem (which was a motorola surfboard that was also nearly 3 years old) and replaced it with an arris modem.

Everything seemed fine for 3-4 days until a new issue arose. It seems now anywhere between 1-3 times a day the internet over LAN will become very slow (download and upload) while the wireless speeds download seems fine (120-140MB/s) while the upload speed will become slow as well. When this happens I have to power cycle both devices. When speaking with Charter they said my router is having problems syncing with the modem.

Is this indeed a problem with the router?

Just stick to XFCE or KDE.

How do I create a playlist like this? I found its really useful if you want to binge watch some anime or series on the weekend.

I don't want to lose my data.

WHERE CAN STORE MY DATA?
Must be:
* Online
* Private
* Free

I currently own a vps in digital ocean instaled with Angristan's setup for OpenVPN. I was wondering how do I change the protocols and port, and how can I use the vpn in muh school.

I installed git because of reasons, but whenever I try to run git or git clone [url], the CMD says: "fatal: open /dev/null or dup failed: No such file or directory".
Help?

> free
> online
pick one, you'll either have to pay money or with your privacy

>online, private and free
No such thing.

-online, private: owncloud on your own server like a VPS
-online, free: any (((cloud))) provider, I recommend MEGA

After learning a bit of Python and making some of my own little projects I've decided to pick up C++ too.

Right now I've just started learning about pointers and I understand the concept but I can't think of a situation in which I would ever use one. Can someone give me one or tell me if I'm overlooking something important about them?

Your own nas, obviously

You got only two PCs connected?

Yes. And a TV. Technically all comes from one place. But this was the set up for a long time before the problem started showing up, so I doubt it was that.

>What even happens if I forget the plastic film?

You use them when you need reference semantics. What's not to understand?

Solved it.
I just had to open Regedit, go to HKEY_LOCAL_MACHINE > SYSTEM > ControlSet001 > Services > Null, change the value of "Start" from "4" to "1", restart and that's it.

Randomly (few times) my c/c++ programs doesn't end by themselves, they do execute everything I told them to execute but the return in main().
[ The chances are even worse when I use exit(x) ]

This turns running the "make" command on projects the compile and run "test programs" impossible: feels like I have to flip 50 coins and get 50 tails in a row.

What the fuck could be causing this? [ I'm using Mingw-w64 on Windows ]

What would be the key components to a dedicated storage/media server for my dorm? There's myself and 3 other dudes in here, and since 2 of them have laptops, was going to consider letting them store shit directly on a dedicated machine, but also having it so you can watch movies/videos and listen to music from the machine to your computer.
What would be the best way to go about this?
I plan on having it pretty much open 24/7, or at least most of the day since it'd primarily be used near-constantly during the day, and very little over night if at all.
Thanks for any advice or suggestions, anons.

For a little bit of detail, the respective storage systems are as follows.
Dude 1's laptop is some Asus with 250GB SSD as the only storage, so he relies heavily on fuck tons of USBs and SD cards.
Dude 2's laptop is a HP with some 500GB 5400RPM drive, which is fine, but 500GB isn't a lot.
I have a basic 1TB 7200RPM drive from Toshiba.
He has a 4x2TB RAID setup, but wanted to sell them in the process of upgrading his system.

Most guides I read recommend server ITX boards for DIY NAS builds but I just wanna build a cheap one using ebay parts just to RAID my media. Do I really need a server ITX?

I have an old iPhone 5S that I wanna use as a media only device to watch Youtube in bed but iTunes is asking me to activate it with a SIM first. Can I just use my friends SIM to activate it once and then give it back to him? Is this gonna fuck with his iPhone?

Macbook Pro 2010 - I noticed that when I watch youtube videos in safari using the native HTML5 player, my CPU usage is much higher than it would be if I were still using flash. I've switched back and forth using ClicktoPlugin and flash loads faster and is less CPU intensive.. Why?

B-but it's a blue board

Looking to the name of every input name on page

var list = jQuery( "input[name^='qty']" ).map(function(){

return jQuery(this).val();
}).get();

No luck yet.

I want to record using OBS, but I have an issue with the audio.
pic related is my recording devices
what should I do to record the system ?

Mommy says: " No, Sup Forums for you"

You know how you're router is supposed to go in your master phone socket for optimal speed.

How much effect does it have?

For instance I'm supposed to get about 35MB download speed, how much would I lose by having my router connected to a regular socket?

I only get around 15MB in a normal socket as I can't find my master, could it have that much of an effect or is it something else?

>I can't find my master

How could you lose a phone socket, dear user ?

That's how turbo speeds work on pretty much all CPUs.

For example, my i5 has a stock speed of 3.3GHz, and a max turbo of 3.7GHz, but only on 1 core (all other cores stay at 3.3).

With 2 cores in turbo the max is 3.6GHz on those cores, and for 3 cores the max is 3.5GHz.

This make it easier to manage power and heat.

When is a good time to replace my C drive?

SHIZUNE A CUTE

How does Facebook's Find Friends shit works?

I just met several people today and some of them appeared on this list, we never talked about our Facebook accounts or something similar.

Pretty weird and creepy.

You could run it off of anything. Dedicated NAS storage, home "cloud" kits, a router with USB sharing, an old PC. Main question is how much storage you need. Then just set up basic samba filesharing and plex for the media streaming.

Now.