What are you working on, Jow Forums?
Last thread:
/dpt/ - Daily Programming Thread
learning java
nth for Nim!
Have you fellas got any recommendations for projects to be working on with JavaScript? I'm applying for front-end developer jobs and want to sharpen my skills a little, maybe buffing out my portfolio a little in the process.
Has anyone got any recommendations?
So I decided to quit evil-mode for a while and force myself to learn emacs properly
It's fucking hell. Like it's not just the keybindings, but nothing behaves like I want it to.
I don't think I'll last another day.
just install nvim
emacs is for dweebs
I recommend /wdg/
i have one, potentially two questions.
First of all, where the hell can i find a forum/community that is good for just general programming questions?
all the ones i've found so far are so straightforward. As a beginner, i need somewhere i can ask general questions about code instead of questions specifically realted to a language.
second question:
does anyone know where i can find open source samsung watch apps? i want to reverse engineer ANY watch app in tizen studio but as far as i can tell there are literally none.
emacs is overrated. its neat that you can bind and program with it but aint no one got time for that shit
learning multithreading in Rust, this was my first try on getting
>one thread for updating time
>one thread for updating weather
>one thread for putting these together into a string and print it
pastebin.com
then I realized I can just use Arc directly to share data between fucntions/threads and skip using channels kek, well at least I know how to make a pseudo scheduler now.
final
use std::sync::{Mutex, Arc};
use std::{thread, time};
fn main() {
let time = Arc::new(Mutex::new(String::new()));
let timecpy = time.clone();
let child = thread::spawn(move || {
get_time(timecpy);
});
child.join().expect("");
println!("{:?}", time);
}
fn get_time(t: Arc) {
let mut t = t.lock().unwrap();
t.clear();
t.push_str("11:11");
thread::sleep(time::Duration::from_secs(1));
}