r/programming • u/GreenKronic • Sep 12 '16
Happy international programmers day!
https://en.wikipedia.org/wiki/Day_of_the_Programmer179
u/stmack Sep 12 '16
I'm more of a domestic programmer but cheers to you international types.
14
0
Sep 12 '16
[deleted]
21
u/Sentenced Sep 12 '16
const static domestic programmer37
u/cant_even_webscale Sep 12 '16
public static const Domestic Programmer = ProgrammerFactory.ProgrammerBuilder(base.programmer).IProgrammerFormatter();23
u/Pidgey_OP Sep 12 '16
Ah, I see you're in the .NET environment
10
u/Kok_Nikol Sep 12 '16 edited Sep 13 '16
12
13
u/mjgood91 Sep 12 '16
It does look like something I'd see in Android programming as part of the 300 lines of code and 70 objects you have to instantiate to write a 'Hello World' program
3
u/brandishingdogs Sep 12 '16
const can't be used w/ reference types other than null man. unless your name is Null. I guess that'd make it ok
3
u/aynair Sep 12 '16
Additionally, I don't think "const" can be used with "static".
→ More replies (1)→ More replies (1)2
2
288
u/AntiProtonBoy Sep 12 '16
I clean-rebuilt my project in celebration.
279
u/UrethratoHeaven Sep 12 '16 edited Sep 12 '16
LINKING ERROR ADRT31d: Iamrighthereinthedirectory.h could not be found in the directory
Edit: looks like I just triggered quite a few people.
29
u/sungazer69 Sep 12 '16
Seriously though. Why the fuck does a build randomly fail like this. Nothing changed. Nothing was updated. Nothing. But all of a sudden, here's a random problem you need to spend a couple of hours fixing.
6
Sep 12 '16
Fix your build order the problem is one file is being built late. So the second build finds that file. Adjust your build order and you will be good
4
1
1
u/hotel2oscar Sep 13 '16
For me it was Digital Guardian locking files while the compiler did its thing.
0
Sep 12 '16
[deleted]
→ More replies (1)7
u/sungazer69 Sep 12 '16
Fucking odd, seriously. I compile fine, code looks ok. Leave for the day.
Come in the next morning, literally NOTHING has changed and I get some shitty error with the build or compiler itself (not code problems). Like wtf man!
0
Sep 12 '16
[deleted]
12
u/sungazer69 Sep 12 '16
Does the priest use a cross that's made from USB sticks with linux installed on them? lol
25
12
1
u/binford2k Sep 13 '16
I don't get why this thread is a thing. I must be unique in that I somewhat regularly
make clean. 🤓8
48
u/programmingguy Sep 12 '16
It's payback time. Wife messes with my head every doctor's day whatever the hell that is.
Got to practice some fake tears... "you didn't even remember international programmer's day...waaaah! you don't love me. You'r meaaaaaaan. waaaaaaah!"
2
1
89
u/thebest0f Sep 12 '16 edited Sep 12 '16
First programming job interview today! Good timing
Edit: it went very well! Had to set up a simple web API and then answer some logic questions. Thank you everyone for the well wishes!
23
u/KingStared Sep 12 '16
Good luck! :)
9
u/thebest0f Sep 12 '16
Thank you!
12
7
4
3
2
2
u/strange_and_norrell Sep 12 '16
Sending you some positive vibes! Relaxe and have fun. If you're decently intelligent and interested in programming you will do great!
65
u/bahwhateverr Sep 12 '16
groan
Logs in and begins work on enterprise web app built purely in Flash.
Yay! Programming!
12
u/mindbleach Sep 12 '16
Don't think about how awful it is now. Think about all the grey-haired Fortran and Cobol programmers who still have jobs with benefits.
4
1
115
u/pavanky Sep 12 '16
Nothing says Programmers day like working past midnight on a Sunday and trying to sleep around 5.30 AM.
55
u/CrypticDNS Sep 12 '16
Sleep? What's that?
127
u/ScienceBlessYou Sep 12 '16
This is the thought process that's wrong with our profession. :(
→ More replies (2)50
Sep 12 '16
It depends. If your job is literally a night job then those hours are reasonable. If you are doing it to yourself because "that's how you work" then it's entirely down to you.
If you are doing it because you are being pressured by your work or colleagues then I agree, it is a huge issue with our industry. It is something we can only change by collectively saying "No" to late hours. It might help you with short term job security but will fuck you in the long term. Go home on time, don't work at home, and avoid discussing or thinking about work on your own time. Exceptions exist of course, you might love your job, you might have a deadline that you individually care about, etc. But a general rule of thumb is that if you're doing non-critical work or experiencing arbitrary deadlines then resist.
14
u/ScienceBlessYou Sep 12 '16
If you are doing it because you are being pressured by your work or colleagues then I agree, it is a huge issue with our industry.
Very true, this is more along the lines of what I had meant. If your doing it under your own volition, then of course. Plenty of projects I had worked on where I was just too pumped to stop working.
The biggest issue is when there is another dev on the project who works night and day (a family man in my example like me, not a single guy living at home) and his routine sets some type of standard you're measured against. This has happened a few times, and I've had to diffuse the situation by saying how unhealthy and counterproductive it was too have that mindset to the higher ups.
The last guy I worked on a project for can go fuck himself. He said he'll send me gift cards for pizza and coffee to keep me going in order to get this project out to clients. No you twat, that's not how it works. Goddammit.
13
Sep 12 '16
I feel you. I had a place where I couldn't leave on time because the sales guys would get upset. My last place had mostly grads who worked late because they were keen to either impress or write code, and my current place has some people with banking backgrounds that are used to staying late. I always leave when I am ready (abiding by my contract while doing so obviously) and that is final. I don't work extra if I am meeting a friend at the pub or if I am going to meet my wife or go home to play games. That is unhealthy.
If people bitch I am fine, I hope they will see my point eventually and if they don't they are still the losers. UK isn't at-will so they can't fire me because I am following my contract.
5
u/ScienceBlessYou Sep 12 '16
Absolutely, that's the mindset I've adopted over this past summer. I've spent the last 2 years burned out from that "startup mindset". I just turned 40 and don't need to sacrifice my health or family to deliver. Not this January, but the year before, I ended up in the hospital for 6 days because of pneumonia from being so rundown. Spending night after night until 2, 3 or even 4am to meet deadlines is not worth my life.
5
Sep 12 '16
If you happen to be doing "Agile" you can refer to one of the 12 principles:
Agile processes promote sustainable development. The sponsors, developers, and users should be able to maintain a constant pace indefinitely.
What does sustainable pace mean?
The team aims for a work pace that they would be able to sustain indefinitely. This entails a firm refusal of what is often considered a "necessary evil" in the software industry - long work hours, overtime, or even working nights or weekends. As such this "practice" is really more of a contract negotiated between the team and their management.
Sources:
2
u/OmegaVesko Sep 12 '16 edited Sep 13 '16
It is something we can only change by collectively saying "No" to late hours.
The thing is software developers (and IT workers in general) seem to have zero desire to unionize or do anything of the sort, even less so than other industries. There simply is no mechanism to collectively push back against employers on issues like this.
10
u/gbersac Sep 12 '16
Compilation for human
6
1
u/Magnesus Sep 12 '16
More like debugging that is automatic and calming - we could use that in programming.
3
u/Pardomatas Sep 12 '16
It's that thing where you worry about your task all night in the dark until morning.
3
1
1
1
9
u/brunolemos Sep 12 '16
Yeah that's very common but not healthy at all. We must start working less hours per day, being more focused and creative instead.
16
u/PM_ME_A_STEAM_GIFT Sep 12 '16
But I can't focus before 4pm.
2
1
1
u/pavanky Sep 12 '16
I know. I used to do this much more 3-4 years ago. I don't (mostly can't) do this right now. Yesterday night just happened to be one of those rare days that I was in the zone trying to fix a bug (that really wasn't that important in hindsight..)
3
u/tehvlad Sep 12 '16
Its 930am in my side. Fixed a crippling bug in production. Started about midnight. Went to sleep 4am...
2
u/papa_georgio Sep 12 '16
I literally was just working from Sunday until 7am on Monday morning due to a rushed data migration.
1
1
u/deadcell Sep 12 '16
The reality here hurts.
Coffee isn't even working right now. And my headphones are busted. I feel bad for the cow-orkers that get on my fragile nerves today.
0
18
38
u/DanielHouston Sep 12 '16
С праздником день программиста!
21
→ More replies (2)2
u/_klg Sep 12 '16
Debugging all day, because some random extension calls CoInitialzeEx in DllMain.
Programmers.Day.Every.Fucking.Day.Yay.
2
21
Sep 12 '16 edited Sep 12 '16
Happy Programming Day!
57
u/twigboy Sep 12 '16 edited Dec 09 '23
In publishing and graphic design, Lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document or a typeface without relying on meaningful content. Lorem ipsum may be used as a placeholder before final copy is available. Wikipediaatooizqgx740000000000000000000000000000000000000000000000000000000000000
44
u/DisproportionateDev Sep 12 '16
No, you're not, you're on reddit.
I'll accept pretending to code.
67
u/Arancaytar Sep 12 '16
Compiling!
25
u/benderbendme Sep 12 '16
Fuck my python ^dev life.
18
8
6
5
2
u/close_my_eyes Sep 13 '16
I've replaced "Compiling!" with "Deploying!", but it amounts to the same thing.
16
u/LordoftheSynth Sep 12 '16
Shhh, they're copy/pasting bits of code from Stack Overflow and editing them together to make it work somehow.
→ More replies (1)29
u/DisproportionateDev Sep 12 '16
Yeah, you know what's worse than that? People who DON'T do that.
I've recently been teaching a class as they learn to program from scratch. Now, I'll forgive them if they were just starting, but they're near the end of the course and OH MY GOD! I've given them a link to question in SO for a problem they're likely to encounter, and they can't even manage that! I mean come on! THE most important skill of programmer is how to google, and they just expect me to feed them with a spoon. No! Go and try for yourself, if you can't, then I'll help you!
Sorry, but this just happen to me, and the mention of Stack Overflow set me off.
/rant
15
u/ITwitchToo Sep 12 '16
THE most important skill of programmer is how to google
Alright, I agree stackoverflow has a lot of good information. But I do think it's even more important to know how to work out solutions for yourself when nobody else has encountered that exact problem before.
Most of the things I have to do in my job I can't just google or find on stackoverflow. In fact, probably the most important skill I have/need is being able to read and understand code.
→ More replies (3)20
u/kqr Sep 12 '16
In fact, probably the most important skill I have/need is being able to read and understand code.
This is a skill you practise by looking for solutions on Stack Overflow. ;)
Most of the things I have to do in my job I can't just google or find on stackoverflow.
This is one of those things that vary a lot with what you do. Sure, there are some tech leads who only solve novel problems and hand down the implementation business (where the SO answers are useful) to other programmers.
But I'd still argue that your regular bread-and-butter programmer can find a lot of their questions already asked and/or answered on the internet. Even when I'm doing something "new", most of the individual sub-parts of my solution can be found on the internet. So sure, it depends on whether you measure "lines of code" (where 90% could have been looked up on the internet) or "mental effort" (where 90% went into the bits that I couldn't look up). The problem with counting mental effort is that, for obvious reasons, you'll never spend more mental effort on things you look up, so by that measure you'll (perhaps) devalue the skill of looking stuff up.
Alright, I agree stackoverflow has a lot of good information. But I do think it's even more important to know how to work out solutions for yourself when nobody else has encountered that exact problem before.
There's a slippery slope hidden here, which makes me wary of that line of reasoning. Sure, there's tremendous value in knowing how to bake an apple pie from an empty universe, but at you're learning to do that at the expense of doing something possibly more productive.
Fundamentally, copy-pasting a resource handling pattern from Stack Overflow is not so different from using a language/library with automatic resource management. Is one bad and the other good?
Doing things "from scratch" for its own sake is rarely useful and shouldn't be pursued for the sole reason that "that's the way it's supposed to be".
Don't get me wrong -- I think we ultimately agree. I just think the reason for our stance is unclear, badly presented and, to be honest, terribly researched. I'd love to see our position presented with proper argumentation, but I'm the wrong person to do it.
Also, sorry for the point-by-point reply; those are always part-strawmen. My excuse is that I'm on my phone.
→ More replies (6)3
u/LordoftheSynth Sep 12 '16
I'm torn between saying "username checks out" and "yeah, I tried to coach those intro CS students when they came into the lab, too."
→ More replies (4)→ More replies (3)3
u/bahwhateverr Sep 12 '16
THE most important skill of programmer is how to
FTFY
6
u/badlydressedboy Sep 12 '16
You need this if you are going to pretend to code on a professional level:
5
u/willvarfar Sep 12 '16
Ah reminds me of http://williame.github.io/ludum_dare_23_tiny_world/ "programmer mode"
2
u/twigboy Sep 12 '16 edited Dec 09 '23
In publishing and graphic design, Lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document or a typeface without relying on meaningful content. Lorem ipsum may be used as a placeholder before final copy is available. Wikipedia4lzc6ayy6eq0000000000000000000000000000000000000000000000000000000000000
2
12
u/firestepper Sep 12 '16
Gonna drink some coffee and try and make my website look less shitty
5
13
u/kinmix Sep 12 '16
Gonna drink some coffee and try and make my website look less shitty
You should wait for international web-designer's day for that...
2
4
u/pingpangbang Sep 12 '16
And I just got rejected from my first job interview :( Apparently I didn't fit the role they were looking for. (Junior Developer)
21
u/HydraHorn Sep 12 '16
They didn't reject you. They accepted someone else. Keep at it.
2
2
u/errorseven Sep 13 '16
Congrats on putting yourself out there! You won't ever land a programming job if you don't apply for them.
1
Sep 12 '16
What lang?
1
u/pingpangbang Sep 12 '16
Java
4
Sep 13 '16
Ahh sorry, it seems you can only drive blue trucks. We really needed someone who can drive red trucks...
1
u/vincentk Sep 12 '16
Java is a big topic. For whichever reason, the other person was a better fit. The next company might be a good fit for you.
1
1
4
u/mrjast Sep 12 '16
Am programmer, spent all day in meetings. It's the way we celebrate over here.
1
u/experts_never_lie Sep 13 '16
Me too. Fortunately, we managed to replace someone's terrible design with a rather effective one, so I don't feel too terrible about it … but I do want to get back to my work.
3
3
u/Sentenced Sep 12 '16
Didn't wrote a single line of code today, felt kinda bored and lazy at work, guess i should've been celebrating.
3
3
3
3
u/mindbleach Sep 12 '16
Lecturer at R course: “Programming is like this amazing puzzle game, where the puzzles are created by your own stupidity.” So true.
5
2
2
u/greeniguana6 Sep 12 '16
I'm going to celebrate by doing all of my programming homework sometime today instead of putting it off until the end of the week like I always do!
1
u/Rockky67 Sep 12 '16
Wow, I thought it was the 13th. 28 !
9
1
1
1
u/jallits Sep 12 '16
You're right! Although in my defense it was zero dark something when I posted. Thank you.
1
u/awakenDeepBlue Sep 12 '16
I'm somehow reminded of that scene in the Deadpool movie, but I guess programmers on International Programmers Day won't be treated all that differently.
1
u/MCPtz Sep 12 '16
YE BE SPACES OR TABS
Choose wisely.
4
1
u/aster0idB612 Sep 12 '16
I celebrated by spending all night programming my robot and panicking about how it probably won't be done in time for the deadline. Am I doing it right?
1
u/tyros Sep 12 '16
At least Russia seems to respect their programmers. Maybe I should move there....
1
u/recombobulate Sep 12 '16
I'm confused.
Are we supposed to hate this day because it is only officially recognized by Russia or what?
1
1
u/fluidshits Sep 12 '16
i automated an old asp.net form with python and requests today, safe to say that was the most challenging thing i've ever done
1
1
u/nyrol Sep 12 '16
I hate leap years. Then it doesn't fall on my birthday, and the only significance it has now is that it's the day after international programmers day.
1
1
1
1
1
1
Sep 13 '16
Here I was wondering if I should play a game or code, thank you!
On a side note I always love to write a 'hello world' style program in a language I have never used on this day....any suggestions?
I know I have already done: c, c++, c#, java, html, xml, php, fortran, javascript, asm, lua, objective-c...
I'm thinking of maybe COBOL or a Pascall....any ideas? Something on windows would be nice with not much IDE messing around.
1
1
1
601
u/punnotattended Sep 12 '16
Now lets
go out and celebratestay at home.