- Joined
- Dec 1, 2018
>need to auth on the botnetare any of you doing this year's advent of code?
I just want to solve puzzles.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
>need to auth on the botnetare any of you doing this year's advent of code?
I feel you, but actually that's the reason I'm enjoying this to be honest. I spend so much time at work lately fucking around with TensorFlow stuff and GUI nonsense that it has been refreshing to just get back to the basics.That kind of stuff looks like fun but after solving concrete client problems all day, I don't really look forward to solving abstract "just-for-fun" problems for free. Maybe if I didn't have any gigs lined up…
Yep. I wish I were in a programming job where I could do advent of code stuff all day long. It's rare that I get to write anything close to an honest to gods algorithm at work.I feel you, but actually that's the reason I'm enjoying this to be honest. I spend so much time at work lately fucking around with TensorFlow stuff and GUI nonsense that it has been refreshing to just get back to the basics.
It's rare to come across a problem that doesn't already have an algorithm written for it.Yep. I wish I were in a programming job where I could do advent of code stuff all day long. It's rare that I get to write anything close to an honest to gods algorithm at work.
Depending on the specifics your industry, company, and seniority, you can end up spending so much of the workday stuck in pointless meetings/calls with middle management and other non-SWEs who just want to chew up time talking about some useless project minutia that you end up coding in your free time because you miss it and/or want to keep your skills sharp.That kind of stuff looks like fun but after solving concrete client problems all day, I don't really look forward to solving abstract "just-for-fun" problems for free. Maybe if I didn't have any gigs lined up…
It's rare to find a library with the algorithm you want that doesn't add 3-4 extra dependencies thanks to the devil's deal offered by the packager manager systems for modern languages; now, what about one that's not mired in verbose, in-source documentation, slavish to a fault in following whatever contemporary "best practices" were at the time of its development, and most importantly: actually close to being performant in relation to the context of your particular problem? A true unicorn.It's rare to come across a problem that doesn't already have an algorithm written for it.
Though with google search turning to shit and github search being how it is, I'm finding myself needing to write my own more and more these days.
tip: whatever you're looking for, just put 'tiny' in front of it. tiny aes library. tiny string hash library. tiny sqlite library.It's rare to find a library with the algorithm you want that doesn't add 3-4 extra dependencies thanks to the devil's deal offered by the packager manager systems for modern languages; now, what about one that's not mired in verbose, in-source documentation, slavish to a fault in following whatever contemporary "best practices" were at the time of its development, and most importantly: actually close to being performant in relation to the context of your particular problem? A true unicorn.
These days I tend to write my own versions of things unless the library is small and self-contained (header-only, please) or is saving me from a black hole, systems kind of nightmare; it's not always as time efficient but it's far more interesting, rewarding, and lets me write more simple, direct solutions that benefit from the tight constraints of the specific problem.
Boost is a plague, and the Boostification of the C++ standard is a plague. Just wanted to get that off my chest.boost-style bloatware
fwiw, the standards committee has done a pretty decent job of tard wrangling the boost guys. it's not perfect::but.at::least<I>::don<t, (have)>.to.fucking->typeBoost is a plague, and the Boostification of the C++ standard is a plague. Just wanted to get that off my chest.
error compilation failed [unknown] [cl.exe exited with code 1]
.Now i am.are any of you doing this year's advent of code?
If it's not copyrighted, pastebin it somewhere and post the link. Haven't seen much of C++ abominations since I got bored with TDWTF.Any way time to vent.
So i got a deadline Monday for some implementation for some search algorithms we are testing for a proof of concept. I did them and they are done, but there is a big hole in my code right now with the words */ Insert move function /* as some one else should get that part ready.
I finally got the code......it is over a 1000 lines written in fucking main....I want to die.... Who the fuck writes code in the main in c++.
OH yeah and no comments. There are random functions in that code i don't know what they do or why they are there, but fuck if i am touching it.
I got it sorted and made into proper fucking function and could get every thing to work, but what the hell man.
If it's not copyrighted, pastebin it somewhere and post the link. Haven't seen much of C++ abominations since I got bored with TDWTF.
But don't you know that "the code is the documentation"!?I finally got the code......it is over a 1000 lines written in fucking main....I want to die.... Who the fuck writes code in the main in c++.
OH yeah and no comments. There are random functions in that code i don't know what they do or why they are there, but fuck if i am touching it.
are any of you doing this year's advent of code?
test = "abc\n\na\nb\nc\n\nab\nac\n\na\na\na\na\n\nb"
group = test.split("\n\n")
print(sum([len(set(x.replace("\n",""))) for x in group]))
if ur good enough you could get a job in academia working on new algorithms. but just be aware you're competing against a bunch of chinese and russian guys who are really good at algorithms.Yep. I wish I were in a programming job where I could do advent of code stuff all day long. It's rare that I get to write anything close to an honest to gods algorithm at work.
if ur good enough you could get a job in academia working on new algorithms. but just be aware you're competing against a bunch of chinese and russian guys who are really good at algorithms.
Academia has it's own set of headaches, but if you want to go for it, go for it. And you can always mix-and-match, too. A lot of people I know developing all sorts of algorithms and cutting-edge research stuff are doing it at the behest of an employer (and drawing the large "fuck you" salaries typical of industry while they're at it).I've thought about making that my career path instead ofmy current study but I think it's difficult to pull off and may be a "grass is greener" bias
In fact I have thought about going into academia vs industry. I have not decided which as each as its own headaches to deal with.
Yeah, it's not even close to that. But academia does have its share of bullshit, especially with the publish-or-perish situation, which you inevitably have to game.
For real, it's not as bad as you think. There's a lot I could say about the "chinese and russian guys who are really good at algorithms" but this isn't A&H so I'll be nice. But trust me, it's not as dire as that.
fn question_overwrite_path(path:&Path) -> bool {
if path.exists() {
let message = format!("Are you sure you want to over write the file \n `{}`? \n Hit y for yes or n for no then [enter] ",path.display());
let ask = || get_input(&message);
loop {
match ask().as_str() {
"y" | "yes" => break true,
"n" | "no" => break false,
_ => continue,
}
}
} else {
true
}
}
For real, it's not as bad as you think. There's a lot I could say about the "chinese and russian guys who are really good at algorithms" but this isn't A&H so I'll be nice. But trust me, it's not as dire as that.
Academia has it's own set of headaches, but if you want to go for it, go for it. And you can always mix-and-match, too. A lot of people I know developing all sorts of algorithms and cutting-edge research stuff are doing it at the behest of an employer (and drawing the large "fuck you" salaries typical of industry while they're at it).
I promise there's room for you.![]()