/sqt/ - Stupid questions thread

...

Other urls found in this thread:

tor.stackexchange.com/questions/16684/replicating-onion-address-algorithim).
youtube.com/watch?v=R40yeNqxoAs
github.com/lachesis/scallion/blob/master/scallion/TorBase32.cs#L79
github.com/MrS0m30n3/youtube-dl-gui
anandtech.com/show/12165/the-crucial-mx500-1tb-ssd-review
en.wikipedia.org/wiki/USB
twitter.com/AnonBabble

...

I have gtx 1080 ti and gtx titan (Kepler).

Should I sell my 1080ti for profit now or should I wait till 2080ti drops? I'm afraid that once the new cards drop (and nvidia announcing mining optimized cards) I wont be able to get $1100 for my used card anymore

I'm using Bulk Image Downloader, and a website I'm trying to rip pictures from doesn't naively
support multi-page galleries. However, in the advanced options you can add support, if you know the syntax. I don't, so can anyone help me?

The end of the url for more pages is in increments of 30, so for the first page it's /p0, and for each page after that it's in increments of 30, so the second page is /p30, then /p60, and then /p90 and so on. URL looks like URL.com/picture/CelebName/p0. I'm a retard when it comes to this sort of thing, so I have no idea what I need to do.

I also keep getting this bullshit connection error shit and all I've done is post a few times on Sup Forums, browse Reddit, and watch some porn. Even fucking 6 hours after posting my last comment I still get connection error bullshit. What the fuck. I have to post from my goddamn phone using data.

I've never played much with android, so I figured I should ask. When force updating an older phone to a newer android version (Which is compatible, it just didn't recieve it OTA) Should I install the newer android before or after rooting? (HTC incredible S)

Alright Sup Forums i need help, i accidentally deleted my partitions, how do i recover them?

let's try again!

It's probably not the right driver. It might seem to be but if says it can't do it then it's not the right one.

Can anyone here help me out with this? I posted it on tor stackexchange but havent yet gotten a reply (tor.stackexchange.com/questions/16684/replicating-onion-address-algorithim). Basically I want to take a public key and turn it into an onion address, but my code is not returning the expected value.

If Steve Jobs, and his parents, were black would his name have been Jamal Welfare?

I have a 2 fold issue.

1) I have videos I want to strip the audio from, is there anything that will drag and drop change this?
2) I have a program I use, can not use something else, that will not deal with unicode at all. I have files with names that are japanese, some have characters that are non unicode
is there a drag and drop thing that will rename the japanese to normal letters? what is it called, romaji or something? I have several thousand files and manually renaming is not an option due to the scope.

Weird because my cpu is on the list of supported devices.

halp

Enable noscript captcha.

Check that it's the correct chipset. Is it a laptop?

i tried to plug an 8GB thumbdrive into my Samsung Galaxy A pad using a small-form-male-usb-to-large-female adaptor, and the battery began to overheat. it kept going even when i unplugged the thumbdrive, and the power drained and the repair people had to replace the battery and the motherboard.

fault with the galaxy tab A, the cable, or the thumbdrive? i've used that cable to plug a usb keyboard into my samsung phone, and it didn't explode. unlucky, or should i avoid using that cable with the pad?

Well that was one hell of a scare.
Testdisk fixed it.

>I have videos I want to strip the audio from, is there anything that will drag and drop change this?
you could write a batch file to do this with ffmpeg relatively easily

>1) I have videos I want to strip the audio from, is there anything that will drag and drop change this?

there's a program called formatfactory that can do this. warning: it will try to install the Ask toolbar. aside from that, it's a pretty good frontend for ffmpeg.

>1) I have videos I want to strip the audio from, is there anything that will drag and drop change this?

With ffmpeg you could do this:

Linux (bash script):
#!/bin/bash
for file in ./*.mp4
do
ffmpeg -i $file -vcodec copy -an $file
done


Windows (batch file):
for %%f in (.\*.mp4) do (
ffmpeg -i %%f -vcodec copy -an %%f
)


Then place the script in the folder with all the files and run it. If you want separate audioless copies then replace $file with something like "$file2" or it'll overwrite the files with audioless ones.

i'm not very good at this. can anyone tell me what did i forgot to add?

-lcurl in link options perhaps?

how do iaaa ghet sober löole camteccjmpöpgy geöü me witkj tjat

>64772333
hopw the fucll did i even get apst the capscha

>seagate HDD I got last summer starts making spookiest fucking noise, usually when I turn on a video I have saved on it or something
>will stutter the video and then start chirping like a bird in the amazon jungle
>scares the fuck out of me, think my practically new HDD is dying
>inspect it in case basement, shit is stuffed down there and it seems one of the connector wires were loose
>stopped making noises and hoping that was the solution
any of you lads ever heard anything like this from a HDD?

youtube.com/watch?v=R40yeNqxoAs

i tried it and a few similar things but it doesn't work. it's probably something silly

pls response

Hmm... Did you #include the curl headers in your program?

lmao like get an iphone if you wnat acutal updates

Fuck me I have to copy 1tb of data just because my syncing program can't recognise moved files/folders.
So which program does recognise already existing files but in different paths than the drive/folder I want to mirror?

Can you clone software protection dongles/hasp? If so can it be done easily?

well, i added . perhaps that's not enough for this piece of code
size_t AppendDataToStringCurlCallback(void *ptr, size_t size, size_t nmemb, void *vstring)
{
std::string * pstring = (std::string*)vstring;
pstring->append((char*)ptr, size * nmemb);
return size * nmemb;
}

std::string DownloadUrlAsString(const std::string & url)
{
std::string body;

CURL *curl_handle;
curl_global_init(CURL_GLOBAL_ALL);
curl_handle = curl_easy_init();
curl_easy_setopt(curl_handle, CURLOPT_URL, url.c_str());
curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, AppendDataToStringCurlCallback);
curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, &body);
curl_easy_perform(curl_handle);
curl_easy_cleanup(curl_handle);

return body;
}

found this supposed USB port on my Sony HDR-XR160, but no cable came with it since bought used.
lookign to order a new transfer cable on amazon. but i'm not sure what to search for.

>What version/type of USB is this?

That seems correct. Did you also compile with -lcurl? If that doesn't work then I can't help you further sorry, not familiar with C++, only C.

i need to clone my windows 10 HDD onto an SSD
any good boot disks or utilities for this?

yeah. honestly i'm not good with C++ either. i just found this piece of code and worked from there. but still it should work

>Bootmgr missing unless i boot through boot manager
I guess i need to rebuild the boot partition.

We warned you about getting Seagate.
Open Crystaldiskinfo.

instead of trying to guess how it works, just look through scallion's code:
github.com/lachesis/scallion/blob/master/scallion/TorBase32.cs#L79

Yeah, I can't help you any more. Maybe someone else will have an idea.

The base32 function specifically?

Macrium Reflect. Avoid all others.

Ok, so im guessing
txt file, save what you wrote, rename it to bat
there anything else I need in the folder besides the files?
Sorry if this shit is obvious, I have never had a need for any of this, and any code goes over my head
there are a few mp4's but most if it is mkv and webm.

The videos, at least in this segment are all things have gotten with this
github.com/MrS0m30n3/youtube-dl-gui

The reason they aren't audio when that's what I want is I have no fucking clue what the highest quality is, and default should go for the best of the best.
I just want no conversions, or the least amount of them, so if there is an easier way to do this going forward, Im all ears.

come on Joe,
i'll rub you wrong time!

Ok, more then half the time I load Sup Forums I get a white page and it fails to load, refreshing till its no longer white works.

anyone else getting this problem?

I'm using
ublock
umatrix
and 4chanx

at least those are the ones that may be relevant to whats happening.

Does anyone have any good resources for learning machine learning with python3?

I've had that happen a few times, i think its a bug with 4chanX but i'm not sure.

well asking about base32 formats seemed to be the main point of your question

but you also seem to be truncating the sha1 sum by too much -- each hexadecimal character represents only 4 bits, so to get the 80 bits (NOT bytes) you need for correct results, you must use 20 characters

How do bots work on Sup Forums when we have recaptcha? Is there a bypass other than buying a pass?

does it come with boot media or can it image an OS disk while also being booted into the OS?

Both.

im sold! thanks!

Oh, thanks, truncating at 10 chars + base32 results in 16 chars, the length of a onion address; when truncating to 20 it doesnt change the beginning, so that doesnt fix the base32 issue

I saw a post from an user once who claimed to be using Google's Cloud Vision API to solve the captchas for him.

It's trained on literally the same data that you're classifying so it should be pretty effective.

That's because you aren't using a proper base32 function, like the one I literally just linked to you
The functions in your example post are using the character data for the STRING returned by the sha function instead of encoding the actual bytes represented by the hexadecimal

What's a better SSD, Crucial's MX500 or Samsung's 850 EVO?

They're the same price. I've always used Crucial but don't mind switching. Does it even matter?

Yeah that's correct, if you're just trying to download from YouTube in the best quality try this batch file (download regular youtube-dl command line executable and put this script in the same folder):

@echo off
echo youtubedl
set /p url=URL:
echo ------
youtube-dl -F %url%
echo ------
echo Pick an ID (enter the number)
set /p poop=ID:
youtube-dl -f %poop% %url%
pause


When you run it it'll ask for the URL, I think it's right click to paste, then it'll list all the options with numbers with all the detailed info (whether or not they are video only, audio only or both), enter the number and press enter.

I'm not sure if I even understand what you want to do correctly, but IMO this is better than using that GUI. Also I realize the other script won't find ffmpeg unless it's in the same folder (or PATH environment variable points to it).

Why are computer monitors and TVs in completely different categories?
What's the difference between an LCD TV vs LCD monitor?

How do I handle the actual bytes instead of the string in php? Theres no byte[] type

If I put a boot drive in an external enclosure and plug it into a different computer, can I use programs that were installed on it without booting from it?

anyone?

the reason I use a gui Is because I can understand it, I understand literally nothing of the command line at all, and the batch

I tried learning to do crap like that a long time ago, nothing worked, got no help, and the few who would respond where asses who just suggest learn c
after that happened enough, got sick of it, do fuck it let's try to learn c
the best help I could get was being told fuck off, this will take years to do anything you want.

as for what I want to do, I know youtube splits files, and that mkv is a container so I should be able to just grab the audio from that with no conversion, mp4 im not sure... I don't recall ever getting dual audio things in mp4 before, but there should be extractable form that too.

yes, but if you have it plugged in while the computer boots up, it may attempt to boot from the external drive instead of its normal internal one
you can select the right boot device in the BIOS, or simply wait before plugging it in

Maybe, the programs might try to get things from registry that wouldnt exist, or might have the drive letter hardcoded in. Consider finding mobile versions of the programs

anandtech.com/show/12165/the-crucial-mx500-1tb-ssd-review

how much it matters i don't know, crucial is slower but not by a significant enough margin for me to spend more on samsung.

then again, I bought a 960 evo 512 just so i'm always in the storage speed bottleneck area rather then buy a sata drive in the bottleneck area for the same price.

tvs typically allow more latency as its non interactive, hell, a 200~ ms latency for video is just fine, you can offset audio and sync it perfectly.

that said, consoles are making tvs focus on lower latency, and here we are with tcl p605, you can use every one of its features from hdr to local dimming without a latency spike, and its latency at 14-15ms puts it 5ms slower then some of the best pc monitors, and better them most of the shit anyone would consider buying.

Recently put together a new budgetish build, but I am a retard and can't figure out how to get my second monitor to work.

I've got #1 plugged straight into the GPU and that works fine, but #2 is plugged into the MBoard slot without anything happening and theres no additional monitor cable ports on my GPU (whereas my old shit one had two).

See attached image + speccy. What do?

I should clarify that when I say "nothing is happening" with respect to the second monitor, I mean its not being detected at all while plugged into the MB slot.

You're mixing integrated & dedicated graphics. This can theoretically work, but requires driver fuckery & can cause strange issues. You should only be plugging into your GPU outputs. Grab a Displayport or HDMI to DVI cable you're second monitor will pop right up.

so it hasn't done anything
what did I do wrong?

Ooh, righto. I'll go grab myself that cable then, I'm clearly not good enough at this to start doing drivery fuckery. Thanks m80

>2nd HDD was messing with BCD rebuild
Jesus fucking christ windows, its a backup HDD, why the fuck were trying to rebuild boot partition in a HDD with no info on it.

That is it, im installing mint and fapping my anger out.

bump

Well the script I wrote is pretty simple, when you run it it asks you for a youtube link, lists a bunch of options to download and you enter the one you want by it's number. That's pretty shitty though, sorry to hear that!

>as for what I want to do, I know youtube splits files, and that mkv is a container so I should be able to just grab the audio from that with no conversion, mp4 im not sure... I don't recall ever getting dual audio things in mp4 before, but there should be extractable form that too.
I'm still not sure I'm getting you correctly. Yeah, youtube splits the audio and video streams on the highest quality versions. And your goal is to download the highest quailty video and audio streams, and combine them into one mkv? Well, here's my process for doing that on Windows:

1. Run that youtube-dl batch file I posted, picking the best quality video and audio files it lists. Most of the time the best quality video is an .mp4 and the audio a .webm.
2. Move them to a folder where I have ffmpeg and rename them video.mp4 and audio.webm
3. Run a batch script that I also put in the ffmpeg folder:
combine_audiovideo.bat
ffmpeg -i video.mp4 -i audio.webm -map 0:v -map 1:a -c:v copy -c:a copy output.mkv
pause


That doesn't do any re-encoding, it just puts both streams into an mkv container.

I think I misinterpreted you when I posted that, that script will remove the audio streams from all the .mp4 files in the same folder. The stuff I listed above is what I now think you're trying to do.

you said earlier you wanted to strip the audio from these files, but what you actually want is to strip the video so only audio is left?
the bat file you are responding to will go through and strip (aka delete) the audio from all mp4 video files, turning them into silent videos with no audio track
If you want only audio the actual command would be different. I'd use
ffmpeg -i %%f -map 0:a -acodec copy %%f

but really you should just use youtube-dl with the --extract-audio --audio-format best options when you first download the video, to do this automatically
it sounds like youtube-dl-gui has a section to add custom arguments in the "extra" tab of the options menu, so try putting these in there

I'm running the fightcade emulator out of my macbook pro and I want to set it up for local play. What type of controller should I get?

this is a script to combine the image from an mp4 file with the audio from a webm file

which I'm pretty sure is not what he wants at all. he just downloaded youtube videos of songs he likes and wants to strip out the clickbait animey tiddies and convert them to an audio-only format

Oh...

New build etc etc, its fine with the SDD, but it wont property recognise my 2TB HDD. What do exactly? This is what it looks like in the disk manager.

go look at the pretty pictures on en.wikipedia.org/wiki/USB

is pip for python 3 pip3?

ill try out the script with tydl a bit later I have a bit of shit I need to do first before I pull a list of crap I want to grab.

honestly I don't care about the clickbaity images, or the video aspect much at all, the main issue I have is 115 files is 10gb, when it could probably be 300~ mb
While I do have the space to burn I think this is a problem I want to nip in the bud before it really does become a major issue.

that and being able to use it in an audio player rather then a video one would be nice.
music is really the only one I don't want to convert, podcasts or other things where I could get the full effect from audio only, I don't care all to much.

Was there anything on it?
If so, whoops.
if not, then just format it.

yes but apparently that command doesn't work at all

I used the function from scallions and the output is the same as the Base2n PHP function, what the fug?

Its in the Scripts folder in python 3 for me.
so put scripts on your path, or go into the scripts dir and run pip3 from there.

literally just do youtube-dl has a built-in feature for "I only want the audio" which automatically uses ffmpeg for you.
there's no reason to do all this unnecessary work

that ytdl batch file is pretty unnecessary too. all it does is show you a list of quality options/file formats to pick from and then download the one you choose, but youtube-dl already has a "best quality" option to automatically pick the best one without needing to ask you.

are you actually properly converting from hexadecimal or are you making the exact same mistake again and just typecasting char->byte

byte[] input = Encoding.ASCII.GetBytes("6c5c37fb53c69df5d8aeb4bb01b3b2c903ac0078");

Can I start a potentially long complaint process with my cell phone provider after switching to a different company or do I have to start and resolve the whole dispute before switching out?

finally. thank you very much
but don't go just yet. i'd like you to help me properly run the program. i'll be back in a second

lol nigga i dont know python.

Why not sell the Titan and just use the 1080ti until the 2080 drops? Or better yet, the inevitable 2080ti.

yeah i did all the googling BEFORE i came to /sqt/

Looks like Mini USB.

well, that's a shame because the program still cries that it can't find a module

>Mini USB
NO

>youtube-dl already has a "best quality" option to automatically pick the best one without needing to ask you
The thing is though it'll list a 720p version as best because (I assume) it includes an audio stream, when there's a 1080p video stream available but it's video only and not compatible with the best audio stream. I haven't really looked that deep into the options but just grabbing the best video and best audio and combining them into an mkv works for me.

There are two shapes of the socket. The older type looks like it fits that plug. The newer type looks exactly like your original pic, and fits the same plugs. They redesigned it to be more durable.

i build my pc ~4 years ago
looking to replace my ram and cpu and was wondering if it would be better to just sell my pc as is, less the hardrives and then make a new one

i5 3570k
8gb ddr3
gtx 980
some gigabyte mobo

any advice?

>UNIVERSAL serial bus

Nvm, I see now you can do bestvideo+bestaudio and it automatically uses ffmpeg, nice.