No.40705
>>40704be careful to make sure you're grounded and don't damage anything with static shocks. otherwise its pretty much legos unless you're doing something really exotic like water
cooling or whatever.
No.40706
>>40704You're gonna snap your motherboard in two when your CPU
cooler doesn't want to fit and your RAM just won't seat rightly. Your graphics card will fall out of the slot.
Also your front USB hub won't work.
No.40707
>>40704Good luck! Make sure to assemble it
naked to minimize risk of static electricity buildup from clothing.
No.40708
I find it very hard to stomach that some people think building a pc is an achievement or skill. You are inserting cards into slots.
Just my 2 cents
No.40709
>>40708This seems a bit pessimistic. Theres nothing wrong with people feeling pride in accomplishing something. Do you feel the same about somebody baking a recipe and feeling good about making something tasty?
No.40710
>>40708Oh yeah well my mom is always very proud of me every time I upgrade her computer...
No.40716
I'm always anxious the first time I switch on a computer after I changed something inside it...
No.40813
>>40708No it's not a difficult task (except for the pins, the pins are tough) but it is still quite anxiety inducing because of how expensive all of the equipment is and there's a great sense of relief when the thing's finished and everything boots up.
>>40706I didn't buy a GPU I got a Ryzen 3 3200G APU because I'm still poor after all. It's a good PC though! It plays Slime Rancher, which is all I wanted...
No.40942
>>40941Maki committing election fraud...
No.41074
>>41040There are de-googled android forks which don't do much beyond the de-googling, idk what they're like though.
No.41088
>>41074I just decided to enable all of the google crap and quit fighting. It's too much work and I'm too tired to care about stuff like 'privacy' nowadays...
No.41099
>>41088Same here, I just gave up on trying.
No.41102
I just keep using an old phone and never update it. I'm on the last version of lollipop they launched (5.1 something) and can't be bothered going further. Everytime i had updated it in the past it changed something i didn't want. There are a few things that got patched but lots of i just don't like. I know my phone will eventually break or breakdown or wear out, but for now, I'm sticking with it.
No.41622
Quickly nen, i need urgent help, how i use vscode with bitbucket??
I'm complete gittard, I've only ever used it twice to make changes to this, once for class, and once for an open source game.
Company put aliases file on bitbucket now, I used to just have to open it in vim, do my change, then save and run newaliases. That's all automated now, how i use git commands??
So far I've:
>cloned the repo, making local copy
>made my change, saved the file, then i committed with a message as per etiquette.
Now what i do? My colleague who rolled it out just said "make change, then push", great glossing over everything important!! i try to push, but it say "can't push refs to remote. try running pull first to integrate your changes" so then i run pull but that does nothing. idk maybe it coz it bitbucket and is different or that I'm not authenticating right, (but i clone it just fine, so auth should be okay?)
I hate this i wish i was coding when i was a teenager and then I'd be actually fucking half decent with this shit by now I'm so disappointed in myself i see now it already been updated by a colleague, i could've done it 30 minutes ago and looked proactive and stuff, this is why I'll be stuck in shitty fucking helpdesk ticket monkey role forever I'm crying nen why am i like this? I can't I'm cry i just just I'm too old I'm dying i want to die everyone is so much better than me, i have nothing left to offer
No.41623
This is so unfair, I actually started coding when i was a kid, before a teen, I was 12, i started with Java, but people discouraged me because of the "IDE" i was using (it was judo - java for kids) and they never offered anything like this in my school later as a teenager and i should've just stuck with it but i was so discouraged and hurt and people bullied me for being a nerd and now I'm almost 30 and I'm a fucking loser with no achievements, no bf, no house, no car, no code, nothing. I'm sorry I'm sorry nen, i feel so hurt coz i couldn't edit a fucking text file.
No.41624
>>41099With uMatrix now being officially archived, and thus abandoned by gorhill, I am about ready to give up the battle too. It's a never ending, uphill battle with the browser stuff and I'm sick of having to change my whole setup every year.
No.43211
>>43205It turns all the anime girls into monsters
No.43219
>>43214mytosis, splendid1
No.44951
find -name "*.flac" -exec ffmpeg -i "{}" -ab 320k -map_metadata 0 -id3v2_version 3 "{}.mp3" \;
a nice one line script to convert all the files in a directory from flac to mp3 while preserving the metadata. Has been very useful while converting some of my playlists so I can fit them on my phone
No.44953
>>44951Why don't you use .opus? It is supported on android since ages, FOSS and takes up much less space
No.44971
>>44953all my songs are in mp3 or flac and i dont feel like converting hundreds of gigabytes of mp3 to opus
No.44973
oh and also im scared of lossy -> lossy transcodes and something going wrong and a whole album getting messed up and not noticing until I really want to listen to it
No.44975
>>44971>>44972you could just adopt it gradually and walk back on it if anything goes wrong, I'm not saying redo the whole library, just maybe go opus when you do a new batch and see if it works or not
No.45255
Hello, can someone please help me with c++? I'm learning but I'm used to other languages that are more loosely typed.
I just want to bundle my int arrays into another iterable container cleanly/minimally so i can go over all of them. They have arbitrary number of elements so I'd rather not have to literally count them up myself and hardcode them, which I'm learning seems to be the norm with simple things (let the compiler do the counting?).
There aren't code blocks on nen, sooo uhhh, aa?
int input0[] = {5, 3, 1};
int input1[] = {4, 2};
??? inputs[] = {input0, input1}; // ?????
pls don't bully me... (´・ω・`)
No.45267
>>45259Vector has a copy constructor, you could use that:
std::vector<int> v3{v1};Since C++11, you can iterate through the elements instead of having to write out the iterators:
for (int element : v3) {
std::cout << ' ' << element;
}
>>45255If you want to use arrays, this is how I would do it in C++:
#include <algorithm>
#include <array>
#include <iostream>
int main () {
std::array<int, 3> input0{5, 3, 1};
std::array<int, 2> input1{4, 2};
std::array<int, input0.size() + input1.size()> inputs{};
std::copy(begin(input0), end(input0), begin(inputs));
std::copy(begin(input1), end(input1), begin(inputs) + input0.size());
std::cout << "Elements of inputs:";
for (int element : inputs) {
std::cout << " " << element;
}
std::cout << std::endl;
return 0;
}
No.45277
>>45255consider yourself bullied
No.45291
>>45259>>45267>std::array<int, 3>>std::array<int, 2>hmm, but why do i have to count my elements like this? i'm lazy, and want the compiler to do it for me... is this just something I have to get used to?
I like the vector idea, it's about as compact as I'd like. But it looks like C++ just isn't like what I'd like it to be. That's fine too, I guess it will just take a bit of time to adjust to the language.
No.45298
>>45291Since C++17, you can actually write
std::array input0{5, 3, 1}; No.45340
>>45291yeah there isn't any sort of spread operator(what I assumed you were thinking about) in c++ as far as I'm aware
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax No.45791
>>45790that sounds awful, but don't delete, other users will probably like it...
No.45827
>>45790you can't run away from me