[ home ] [ jp / archive ] [ snow / tan ]

/jp/ - Mysterious Thoughtography Collection

Name
Email
Subject
Comment
File
YouTube
Password (For file deletion.)
- Please read the Rules and the FAQ.
- Supported file types: JPG, PNG, GIF, SVG, WebM, MP3, OGG, MID/MIDI
- Maximum file size: 20MB

[Return][Go to bottom]

File: 1468382079908.png (834.34 KB, 1200x1080, boys who program.png) [ IQDB | SauceNAO ]

 No.6550[View All]

Does /nen/ know how to program?
290 posts and 64 image replies omitted. Click reply to view.

 No.40704

File: 1594934174809.gif (1.99 MB, 498x413, shamishake.gif) [ IQDB | SauceNAO ]

For the first time I scrunged up the money to build my own PC and the parts are arriving. Hope I don't mess this up...

 No.40705

File: 1594945044870.jpg (189.67 KB, 500x687, 1421125758695.jpg) [ IQDB | SauceNAO ]

>>40704
be 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

>>40704
You'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

File: 1594958442062.jpg (815.68 KB, 1820x1430, __iwakura_lain_serial_expe….jpg) [ IQDB | SauceNAO ]

>>40704
Good 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

>>40708
This 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

>>40708
Oh 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

>>40708
No 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.

>>40706
I 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.40941

File: 1597161345987.png (437.96 KB, 956x429, techwiz.png) [ IQDB | SauceNAO ]

Maki the tech wiz!

 No.40942

>>40941
Maki committing election fraud...

 No.40943

File: 1597163151566.webm (605.29 KB, 800x500, __nishikino_maki_and_hosh….webm) [ IQDB | SauceNAO ]

>>40942
When rich girls like Maki do it you're supposed to call it "lobbying"!

 No.41040

File: 1598026858767.png (547.72 KB, 640x476, tenor.png) [ IQDB | SauceNAO ]

What the fug? I woke up this morning and Android reinstalled all of the Google apps I had disabled on my phone. Why are these OSes such pieces of crap? Why do we only have two real choices that don't respect the user? How did we let things get this bad?

 No.41074

>>41040
There are de-googled android forks which don't do much beyond the de-googling, idk what they're like though.

 No.41088

>>41074
I 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

>>41088
Same 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

>>41099
With 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.41629

File: 1602096285709.jpg (25.06 KB, 250x250, Sakura_Nene_CPP_Covered.jpg) [ IQDB | SauceNAO ]

>>41622
>>41623
I've only ever used bitbucket with source tree at my last company. If I remember right I had to create a feature branch first somewhere in the UI before I could push to it. Sorry its been a while, maybe ask one of your coworkers what their commit workflow is?

 No.41631

File: 1602100072421.jpg (35.37 KB, 960x540, ui thumbs up.jpg) [ IQDB | SauceNAO ]

>>41622
Don't be so hard on yourself, git is a common source of confusion. With a little bit of practice you will get the hang of it. Gambatte!

 No.43205


 No.43211

>>43205
It turns all the anime girls into monsters

 No.43212

File: 1611107325787.png (255.11 KB, 512x512, seed1437.png) [ IQDB | SauceNAO ]

>>43211
ai-chan is trying their best and working on their anatomy!

 No.43213

File: 1611110005903.png (298.99 KB, 512x512, seed37020.png) [ IQDB | SauceNAO ]

>>43205
I like the ones with the silly hats.

 No.43214

https://thisanimedoesnotexist.ai/slider.html?seed=40493
I finally learned how anime girls reproduce!

 No.43215

>>43214
Heck.

 No.43219

>>43214
mytosis, splendid1

 No.44706

File: 1618178224559.jpg (271.38 KB, 500x500, kaedecomputer.jpg) [ IQDB | SauceNAO ]

Wrote a little script to update the subscription config file for my torrent client with all the new rules for shows I plan to watch this season. It used to take me like an hour by hand going through the UI, this time it took only a few minutes. after spending an hour looking in the config directory and writing the script... but next time it'll only take a few minutes for sure!

 No.44799

>>44706
Good job.

 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

>>44951
Why don't you use .opus? It is supported on android since ages, FOSS and takes up much less space

 No.44971

>>44953
all my songs are in mp3 or flac and i dont feel like converting hundreds of gigabytes of mp3 to opus

 No.44972

>>44971
Same.

 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
>>44972
you 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.45259

File: 1620984112013.jpg (111.3 KB, 1280x720, Sakura_Nene_CPP.jpg) [ IQDB | SauceNAO ]

>>45255
Can you use vectors/stdlib functions or is this for a class?


#include <iostream>
#include <vector>

int main ()
{
std::vector<int> v1 {1,2,3};
std::vector<int> v2 {4,5,6};
std::vector<int> v3 {v1.begin(), v1.end()};
v3.insert(v3.end(), v2.begin(), v2.end());

// v3 contains: 1 2 3 4 5 6 \n
std::cout << "v3 contains:";
for (auto it=v3.begin(); it<v3.end(); it++)
std::cout << ' ' << *it;
std::cout << '\n';

return 0;
}

 No.45267

>>45259
Vector 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;
}


>>45255
If 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.45268

File: 1621020170623.gif (1.53 MB, 540x675, tae.gif) [ IQDB | SauceNAO ]

>>45267
Ah thanks for the tips I don't write too much c++

 No.45269

>>45268
cute.

 No.45277

>>45255
consider 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

>>45291
Since C++17, you can actually write
std::array input0{5, 3, 1};

 No.45340

>>45291
yeah 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.45415

File: 1621866487785.png (50.57 KB, 800x600, shionmgmg.png) [ IQDB | SauceNAO ]

parser generators are cool but debugging a program generated by another program is pain
I was trying to make a little toy just for playing with a binary tree, assign nodes, free them, print the tree, etc. the direction tokens, LEFT and RIGHT, were used to describe a path from the current node, like
direction:
LEFT {$$ = np->l}
RIGHT {$$ = np->r}
direction LEFT {$$ = $1->l}
...
but this didnt work until I made it return &np->(l|r) instead. I still dont understand why, since these nodes are all malloc'd memory, so they shouldnt disappear when any particular function call does. It took weeks of messing with it on and off for me to figure it out.

 No.45790

File: 1624103488040.png (544.1 KB, 1500x1500, 56031645_p0.png) [ IQDB | SauceNAO ]

Looks like I've attracted a secret admirer/harasser on another forum so I decided to write a script to rewrite my post history with random excerpts from a short story. I'll update it to delete them after in a few weeks to give time for search engine indexes to update, then probably delete the account. Oh well.

 No.45791

>>45790
that sounds awful, but don't delete, other users will probably like it...

 No.45827

>>45790
you can't run away from me



Delete Post [ ]
[Return] [Go to top]
[ home ] [ jp / archive ] [ snow / tan ]