No.65609
>>65596can you link a sample image?
No.66253
Wizfrens, what's the best text editor for Windows?
No.66260
>>66253Notepad++ (or VSCode if you don't mind telemetry/analytics and Electron).
No.66261
>>66253VSCode is pretty nice out of the box and looks/works the same on all platforms. Loads of extension and themes you can install to fit your needs.
No.66263
>>65244I gave up on functional programming and moved to C. I keep digging downward through the abstraction layers, learning about baremetal C and assembly (kernels, microcontroller firmware) straight down to analog electronics. My knowledge still feels surface-level.
No.66266
ima give Go a chance, see how it feels.
No.66283
>>66266I lied I don't have much to do with computers at all but I got nice digits.
No.66338
ffmpeg.exe -i video.mkv -ss 110 -crf 30 -preset veryfast -vf subtitles=video.mkv:si=0 video.mp4
i had to hard encode subs to make anime playable on my old phone, this is what i used
ss 110 skips the first 110 seconds, skipping the intros
crf 30 is really low quality but significantly reduces filesize
preset veryfast just speeds up encoding
-vf subtitles=video.mkv:si=0 is a filter to hard encode the subtitles from video.mkv, using the 1st(0) subtitle index (english) - you look at streams by via ffprobe
the problem i had was trying to map select the video, audio, subtitle streams while also hard encoding them with a filter, in one pass. i still dont know how to do this, but this seems to select the right audio and video streams without specifying it, leaving only the subtitle stream necessary to specfy, which lets you filter it since no mapping is done. it is simple but i spent an hour figuring it out. i really wish someone posted this to the stack overflow thing regarding converting mkv to mp4 and retaining subs
No.67399
what am i even supposed to do with programming
i learned a language (atleast, the fundamentals of how it works) and thought it was gonna be a great hobby for an autist like me and i could put all of my time into it, but i half assed what i finally wanted to do with it in the first place and now i cant even get the motivation to even do any more of it. 90% of the time youre just staring at documentation and googling stuff and i cant be bothered when i dont even know what i wanna do with it anymore.
No.67402
>>67399you write programs
>what programs do i write?you use your computer and when you notice a problem/inconvenience that you're having, you write a program to address it
No.67638
>>57285what if you make 2 node types, one for hosted instance and one for central authority?
No.67663
>>67399learn to draw pixels in a window and play with graphics algorithms anon, graphics can be amazing
No.67921
>>67399learn 2 inject code so you can fix all of your favorite games
No.68377
I've never coded before and I am attempting to learn Lua. It probably won't go well but I haven't given up yet.
No.68400
the problem isnt learning to code, since i know how to read and write code to an extent now,the problem is,how do i inspire myself to actually create something and how do i create something that would be worth creating?
No.68403
>>68400That's part of the problem I face
The uh standard answers is you
-solve simple everyday problems that arise in your computer use
-solve standard challenges like idk advent of code, that kind of shit
-do something for your own amusement, like a game or shaders
-learn a lot about languages and never actually write programs just argue over their design over the internet
No.68405
>>68400I have been stuck at that point for years, mostly because the things i really wish i could make are only suitable for highly skilled developers. I feel like there is a gulf between what i can make and what i could be passionate about making. I think it is the same for artists that struggle to enjoy making art while their skills are still developing. Perhaps the only solution is to push through it and make things for the sake of learning until inspiration strikes and you think of something you can do and want to do
No.68570
My problem is setting too large goals and then getting overwhelmed and demotivated as soon as I run into the smallest hurdle. I'm trying to make a game with raylib and it took me two weeks or so to even get it set up properly because I kept getting linker issues. It's like that with everything else for me too. I get demoralized too quickly. It's difficult to accept and internalize that it's alright to suck and to not have expectations for myself.
No.68588
>>68405you will never acquire those skills without reaching for them. write that compiler, my friend
No.68604
>>68599you mean, only get into it if you have something in mind that you want to build. it's a tool to build software and operate a computer. if you don't need to do that, then you don't need to learn programming.
No.68803
>>68570I was never able to finish an original game until I settled on making a shmup in pico8. Lua is immensely simple to code in and the engine itself makes it hard to be too ambitious with your game. If I can find my game in my cloud storage I will upload.
No.68805
>>68599Sad cope
I imagine some tards used to use the same reasoning to explain why learning to read is pointless in the early 19th century
No.68806
>>68805so what he says is fake?
No.68833
>>68803I just need to force myself to finally get over that initial hump. Ironically, I had to start working recently and since have been far more motivated since my current job is fucking terrible and I'm hoping to get some codemonkey job in the future.
No.68912
The rust package manager is not secure. Shit attempted to install a virus on my computer.
No.68914
>>68805Yes, and look what actual good that did.
Not being facetious here; learning to read provided _what_ exact benefit to the average mill worker or coal miner? A few distractions on the way to the grave? Sure, 1 in 100 found better employment prospects… but for the greater number of that era's normies, learning letters benefited them next to nothing given their lives were spent in manual labor or vocal socialisation - and the communities which *already* valued literacy, learning and the accessory skills took the jobs they were going to get. I'd suggest the analogy holds today.
>>68806He's partly right.
You can now ask ChatGPT "Give me a simple script in such and such a language that performs such and such a task", and get close enough to what you need that you don't have to learn much else. You can then ask in natural language for the procedure to use it.
I've been a professional programmer for 10+ years now; chatgpt does 30% of my job for me, and I expect it will get better. But 50% of my job is safe because that's the part that isn't writing programs. It's figuring out what needs to be written, and that requires domain and context knowledge - which isn't learning programming.
If you're not out to achieve something specific or that hasn't been done for free yet - and learning the incidental, non-programming skills required to achieve such and such - then ChatGPT already does your job and we don't need you.
No.68915
>>68599It be the same for everything else. Not following inner authority has tough payback.
>set a bussiness>apply for shit>learn something whatever>you gotta do it because that's how the world works>hurry up>like a man of worth>you still must die trying this wayIt's called homogeneization. A pretty kind euphemism for what plainly refer as normalcuckery. It can get you pretty damn injured.
No.68918
>>68917Being slow with it when you're still in the early phase of learning means it's a bad language?
No.68920
>>68917well done anon, short and sweet
No.68922
>>68918I'm thinking of learning memory-safe C++ instead of Rust because it has more libraries available and the syntax isn't quite as alien. C++ was actually the first language I ever tried to learn like 20 years ago.
>>68920It feels good when a language just does what you want quickly with no struggle. Anyway, there's an error on line 24 that I missed.
No.68923
>>68917Im curious, what ide is that? Ive been using vscode for c until now…
And I cant seem to detect any buffer overflows except for your line 24 so yeah, thats nice. I suppose you havent implemented to win condition check though.
No.68924
>>68922>I'm thinking of learning memory-safe C++ instead of Rust because it has more libraries availableThat is a very good reason i think. I far, far prefer using rust but almost every time i try to think of a project i want to do it is a bad choice because of the weaker situation with libraries. It really depends what your goal is, though. Languages are best suited for different purposes of course. I am still considering putting more time toward rust myself because my strongest interests are in software that requires the highest possible guarantees of security
No.68925
>>68923It's just vim in a WSL terminal. I left it up to the players to determine if the game is over or not just like in real life. It doesn't crash or anything it just doesn't let you make moves anymore until you Ctrl+C.
>>68924I think I determined that for me Rust is overkill for just writing applications. Even if I tinkered with microcontrollers, drivers or robotics again I might still just use C unless there were actual high stakes involved. You can write microcontroller firmware in Python.
I'm someone who starts projects in whatever interests me and then moves on. I don't really have any depth of expertise or experience to actually get hired, just years of abandoned projects.
No.68927
>>68925>years of abandoned projects20 years at that xD
Ill probably try to make an app soon for drawing on my tablet, would be nice as a personal project because I have zero things to present either. just some minecraft mods or simple games I made when I started learning all this shit like tetris or browser extensions.
No.68928
Now after I shat on Rust, I am beginning to see a good use case for it: writing a compiler. It is a performant language (more so than Haskell) that supports pattern matching and other features good for writing programs than transform input into output.
No.69326
>>64781Update after ~2 years.
I got my first IT related internship one year later after this post, but decided to quit after 6 months and I've been neeting since.
The good:
For the first time in my life, I had my own money to buy things. It was really nice.
The bad:
Constant stress, long commute time, friday night being only "day off", the office, working overtime for free (I was scared they would kick me out if I didn't meet deadlines).
No.69327
>>69326>working overtime for freeThat's illegal…
No.69378
>>69376
There are no "autists" here. Fuck off.
No.69383
>>69378Wow. Looks like someone grew a pair of balls and a backbone of self-worth. I am genuinely proud of you. Anyway, turns out AI can make a working python code for what I need. Problem solved.
No.69573
just bump to get back to this threda tomorrow
No.69648
does anyone else build tutorials for themselves to practice when learning a new language. this is my second time trying to learn rust.
i love how it loops until the correct input is selected
use std::io;
use colored::*;
const CORRECT_ANSWER: &str = "const SECONDS_IN_MINUTE: u32 = 60;";
pub fn run_constants()
{
let keyword = "const".red();
println!("—BEGINNING CONSTANTS PRACTICE—\n");
println!("constants are defined by the keyword {keyword}\n");
println!("here is an example of a constant\n");
println!("{keyword} FOOTBALL_FIELD_LENGTH: u32 = 140;\n");
println!("now you try.\n");
loop{
let mut input = String::new();
println!("define a constant named SECONDS_IN_MINUTE");
io::stdin()
.read_line(&mut input)
.unwrap();
let input = input.trim();
if input == CORRECT_ANSWER {
println!("correct!");
break;
} else {
println!("incorrect. try again");
}
}
println!("press enter to continue");
let mut dummy = String::new();
io::stdin()
.read_line(&mut dummy)
.unwrap();
}
No.69649
i love how it loops until the correct input is selected
use std::io;
use colored::*;
const CORRECT_ANSWER: &str = "const SECONDS_IN_MINUTE: u32 = 60;";
pub fn run_constants()
{
let keyword = "const".red();
println!("—BEGINNING CONSTANTS PRACTICE—\n");
println!("constants are defined by the keyword {keyword}\n");
println!("here is an example of a constant\n");
println!("{keyword} FOOTBALL_FIELD_LENGTH: u32 = 140;\n");
println!("now you try.\n");
loop{
let mut input = String::new();
println!("define a constant named SECONDS_IN_MINUTE");
io::stdin()
.read_line(&mut input)
.unwrap();
let input = input.trim();
if input == CORRECT_ANSWER {
println!("correct!");
break;
} else {
println!("incorrect. try again");
}
}
println!("press enter to continue");
let mut dummy = String::new();
io::stdin()
.read_line(&mut dummy)
.unwrap();
}
No.69650
use std::io;
use colored::*;
const CORRECT_ANSWER: &str = "const SECONDS_IN_MINUTE: u32 = 60;";
pub fn run_constants()
{
let keyword = "const".red();
println!("—BEGINNING CONSTANTS PRACTICE—\n");
println!("constants are defined by the keyword {keyword}\n");
println!("here is an example of a constant\n");
println!("{keyword} FOOTBALL_FIELD_LENGTH: u32 = 140;\n");
println!("now you try.\n");
loop{
let mut input = String::new();
println!("define a constant named SECONDS_IN_MINUTE");
io::stdin()
.read_line(&mut input)
.unwrap();
let input = input.trim();
if input == CORRECT_ANSWER {
println!("correct!");
break;
} else {
println!("incorrect. try again");
}
}
println!("press enter to continue");
let mut dummy = String::new();
io::stdin()
.read_line(&mut dummy)
.unwrap();
}
No.69651
hello
No.69652
Wizards love using the (code) tag to contain and organize their code
[c0de] this is what does it but the 0s are Os[/c0de]
[View All]