/sqt/ Stupid Question Thread

last one :

Other urls found in this thread:

leetcode.com/problems/binary-tree-inorder-traversal/
amazon.com/AUKEY-Type-C-Braided-MacBook-Nintendo/dp/B01C2PVO7S/
gitweb.torproject.org/torspec.git/tree/tor-spec.txt#n1480
youtube.com/watch?v=jbtn3r3oKP0
automatetheboringstuff.com/
twitter.com/SFWRedditImages

I bought a 15 year old CRT for 3 dollars yesterday and it looks pretty good.

Is it worth keeping?

Can someone show me a recursive C implementation of: leetcode.com/problems/binary-tree-inorder-traversal/

Here's the starter code they provide:
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* struct TreeNode *left;
* struct TreeNode *right;
* };
*/
/**
* Return an array of size *returnSize.
* Note: The returned array must be malloced, assume caller calls free().
*/

I'm having a lot of trouble understanding how pointers and arrays work in C. Sadly no one online solves these problems in C. I'm trying to learn C and can't get a non-null array to return. I'd really like to see a working solution to help apply to more complex problems.

What's its max resolution? If it's one of the nice ones that can hit 1920x1440+ it's a keeper imo. A really cheap and good alternative to expensive high refresh rate monitors if you're into that stuff, mine could run 1920x1440 @ 75hz or 1600x1200 @ 80-90hz iirc. If you went as low as ~720p you could do 120hz.

What exactly should a beginner sysadmin know?

Its a DELL M782
BTW how do you clean the screen on a crt?

Roll

From my site I'm linking to a 3rd party website that uses Google Analytics. I want them to know that I'm sending them traffic. Can I simply put my site in the utm_* paramaters, or wouldn't that work without them first adding my site as a source in their Analytics dashboard?

Convince me not to buy a Samsung 55' smart tv for 1150$

Buy an OLED by LG and be way happier

does the cable itself matter for USB 3.1, or is it just the device using it?
i.e. if a USB c to c cable is labeled as USB 2.0, is it any different from one labeled USB 3.1?

>microsoft software protection platform service
HOW DO I DISABLE THIS FUCKING SHIT?

I have tried the regedit thing but it enables itself again after every reboot. It's runs every time I'm playing games or running anything else ressourceheavy, just destroying the performance.

>smart tv

botnet
o
t
n
e
t

>if a USB c to c cable is labeled as USB 2.0

I doubt any such cable exists.

Since USB-C implies USB 3

How long should it take to take ownership of a quite hefty win7 user file on windows 8? Shit's been running for 15 minutes and hasn't escaped appdata yet.

good point
turns out I was actually looking at an A-to-C cable, got myself turned around a bit

2 seconds. 10 if your computer sucks.

My wallet wouldnt be much happier, whats so much better with LG?

Samsung Galaxy 7 when updated caused notification bar and menus titles get lost in background color.
>section 1
Everything fine.
>section 2&3, boxed in yellow
Impossible to read text.

I changed my theme, and it helps a bit, but not completely. That's not where the problem lies, just changed some of the colors.

wait, I WAS looking at a C-to-C cable
amazon.com/AUKEY-Type-C-Braided-MacBook-Nintendo/dp/B01C2PVO7S/

So how much natural talent do you actually need for Comp Sci? Or is it all hard work, lots of studying and a ton of discipline?

Well that is weird.

It also specifies 480Mbit/s, which is USB 2.0 speed.
So by the looks of it it's indeed only capable of USB 2.0

When I try to shrink my 600 GB parition by 200 GB in Disk Management it just keeps showing the spinning icon at the cursor and shows no messages or progress in the application at all. How can I check if it is actually shrinking the partition and how long should something like this take?

Can I dust the inside of the desktop by blowing with my mouth? Will the micro saliva damage anything?

It's time to unplug it and take it outside. It is like 4-5 months old and I can see from the ventilation holes it's time. I don't have an air can available atm.

>hard work, lots of studying and a ton of discipline?
That's every field.
"Natural talents" that might help include, problem decomposition, visualization ability, patience, and good verbal skills. Good verbal skills gets added because the work of programming is, at its core, explaining exactly what you want done to an idiot savant.

Has anyone used a VPN over a cruise ship's internet connection before?

>air can
Get an air blower.

I'm trying to revive an old hp g62 that a friend wanted to throw away.
The screen doesn't turn on, after I disassembled it, I found out that the connector of the cable marked in pic related is broken and doesn't have any pins to connect it in the motherboard.
Any idea what is the name of this cable so I can order one online?

It just showed a message after 30 minutes of loading "The RPC server is unavailable"

rolling for challenge

Does anyone know what is the window border theme on pic related?

another pic for further inspection

these pics are from a working g62 disassembly process I found online

reroll

Well, rerolll, that's not a number. Cool trips, I guess.

Can you post a better pic of yours? I'll take a closer look, but I'm 99.99% it is some kind of proprietary cable, or at least nothing common enough that you'll be able to buy one. Best hope is to fix yours.

crux

is there an app that lets me cut part of my files and make them ringtone files?
i use flac and i mean i can set it as a ringtone but i'd rather be able to choose which part or even cut the whole thing off and use it.
i've tried using an ffprompt but they don't play so well on my phone

that's crux

the laptop is not with me currently but the cable is fucked beyond repair.
I thought it was a regular piece of cable that branches out of the thick cable that connects the screen to the motherboard

I have this. Will it work?

Btw about air cans, why when you press the trigger for too long the thing gets super cold, stops working and spits some watery liquid?

I apologize for the absurd english.

ffmpeg

>Btw about air cans, why when you press the trigger for too long the thing gets super cold, stops working and spits some watery liquid?
wat
wat in the
wat

Is there an Android emulator that lets me change CPU allocation to less than 100%? Nox doesn't have an option to do this.

My sister spilled some tea on her ASUS 551c and she threw it out because it's "dead".
It boots up and runs without any problem, but she told me that it's dead 'coz there are two vertical lines on the screen so she doesn't want it.
I took it apart, cleaned it out, replaced the keyboard but I have no idea how to get rid of those lines. Any suggestions?

Did she literally "throw" it out and damage the screen?

Nope, she placed it on the top of the bin

>use large host file to block a huge range of shit
>on noPorn, lots of porn sites filtered
>works greate in normal browsers

>open TOR browser
>nothing is blocked

Why?
Why does this browser can avoid the host file? Couldn't other programs could just do the same?

Sounds like water damage to the gfx card

Going to get battlefield 1; actually worth paying the extra $30 for the deluxe/etc editions, or just get the base edition?

They do, the can gets ice cold you can barely touch it and it sprays that watery foam which evaporates.

So I guess there's no easy way around, thanks user!

that's the point of tor, it tunnels everything through an exit node.
the hostname will get resolved by that exit node and not locally.

see gitweb.torproject.org/torspec.git/tree/tor-spec.txt#n1480

youtube.com/watch?v=jbtn3r3oKP0

I wonder if the watery shit can damage anything before it evaporates..

>Will it work?
No, because those are used to clean lenses. You're looking for something more like in the pic.

>Btw about air cans, why when you press the trigger for too long the thing gets super cold, stops working and spits some watery liquid?
adiabatic cooling

You dont constantly spray the shit retard,you go with small bursts
Holy fuck

Of course I forgot the fucking pic.

Don't hold it upside down/sideways or shake it too much. Those cans are filled with a gas conpressed into a liquid, if it comes out a liquid, or if the pressure in the can drops too fast, it'll absorb as much heat as it can from it's environment while decompressing, and thus feel xold as fuck.

What is this? This is the only picture posted on a Facebook ad, just says "work. GREAT" in the ad.

I just want reviews, I wanted a cheap laptop that I can play old games and browse on for when I'm out of town

Its an acer laptop

How do I install Linux without a bootloader USB or disk, from my tablet for example? I know there are applications for this but you have to root first.

>AMD A4

Stay away from this CANCER. Seriously better off falling for the meme and getting an x220.

Good looking out, I will continue the search

What is a buffer?

I always stumble on this word here and there but I never managed to grasp its meaning. I've seen it in web development, 3D programming and even agriculture.

Its a place,normally in memory,that is allocated for programs that need to access data.
So program needs ABCDE
It will read ABC but then buffer DE for later consumption.

So I currently have a VG248QE connected to an r9 270x through DVI because I don't have a displayport cord. Now, when I make my new build, I definitely will switch to displayport, but am I currently missing out on anything running with my current setup through DVI? Just curious.

Buffer is something that manages the contact between two other things. Depending on the context, that can mean a great many different things.

If I wanted to start writing android apps how would be the best way to go about this. All I have is baby c++ knowledge and jave book I picked up but only skimmed. I learn the best by just doing things so I want to try and make something and learn as I go, but everywhere I look it's one of those things where everyone says the same
>learn java
>then just make an app!
Should I just download android studio and play around with it?

Hey Buddies,
my part time jobs requires me to click through some work saftey stuff and answer questions via multiple choice quizzes.
The Questions never change so I am thinking of writing a tool which automates the clicking through the text and fills out the mutliple choice quest by itself.

What resources should I look into to do that?

automatetheboringstuff.com/

web based? write a userscript
windows? autohotkey

flash based

Is it electric? Seems expensive.

Guys I need some help.

I can't connect to Pastebin anymore for some reason. Whenever I try to connect, it gives me a CONNECTION TIMED OUT error.
I pinged the website on cmd through "ping pastebin.com" and none of the packets sent returned (100% loss). I checked my firewall and hosts file but neither has pastebin's IP blocked (104.20.209.21). I also checked uBlock and there are no elements blocked in it either. I tried accessing it with other devices and networks and it seems to be something to do with my modem. What am I missing here?

Nevermind, £20-40 on amazon.
I will do what I can with the lens cleaner and use like a card paper as a fan(?) ...

how do i learn SQL and Spring Framework? i finished learning Java Core yesterday

You blocked nigga

NIgga just spend 2 bucks on a fucking air can
Jesus fucking christ

Why tho

I am a fag , it is Sunday evening and I want to clean it NOW. I will wait until tomorrow to get an air can from the groceries store.

So on sunday there are literally no stores open?
>want to clean it NOW
Then stop bitching on Sup Forums and go get some fucking canned air nigger

What's the difference between a RX 480 and RX 580?

100 revisions

rx 580 is clocked bit higher so bit more performance
and it has extra power saving stage, so it eats less power in some not entirely idle stages, so multimonitor setup is bit better for example

Is it possible to run multiple vpns per tab?

Vpns are per network interface not per program or even as retardedly per tab

UK. Europe stores close on Sunday. They like their Sunday chill, the lazy fucks.
It's 9pm. I will get it tomorrow.

Which Windows works better on Ryzen, 7 or 8.1?

Are open case alarms run off of the CMOS battery? And they only last until the battery is taken out? How loud are they?

Basically, how effective are they?

you need windows 10 or you wont get windows updates

Can I buy games from the Microsoft Store if I have pirated version of Windows 10? There are a few exclusives I can't find anywhere else.

I don't want Windows updates, I want to know whether 7 or 8.1 works better. I'll pass on the spyware.

how do phone company IPs work

like if i go back and forth between wifi and my tmobile connection will i always get a new IP on the tmobile line or nah?

8.1 then, more modern, more features
just put classic shell start menu and you are set

I meant more like are either of them easier to put onto Ryzen hardware and are there really bad issues with either one. I guess that new Win7 malware is something to worry about if I'm not updating.

well test it...
its different network so internally you are comming from different network, but they could asign same IP to your device by your MAC or whatever they use

Why does windows not have an equivalent to
du -h | sort -h

windirstat sort of works but is a lot worse and is extremely slow.
Is there any windows users here who know what to use?

nigger we dont fucking know every detail
no, nothing is being said about some of them being considerably worse or better for ryzen

install everything search, order by size

will try to suggest that the next time.
Does it do dirs, files or both?

it does everything and is super fast about it

you can run du and sort using WSL if you want to.
though windirstat and du should be equally fast, takes around 30 seconds for me of my system drive with 105GB of data.
running du -h | sort -h in the WSL took 50 seconds.