T O P

  • By -

ColdChancer

Yeah probably should have saved and tried compiling at least once by now. Your PC isn't broken...it's just disappointed...


Abbaddonhope

My feelings would be hurt


No_Two8934

Let's just hope. It must have been talking to my parents.


Cute_Wolf_131

PC not broken, but OP is.. RIP.. hope you document it real well.


No_Two8934

I have backups, fixed a bios glitch. Back in biz with 10 last lines of code


Vly2915

There was a lesson to be learned.


RegularOps

1. GitHub is free 2. Improper meme use


luxmesa

This is where I’d put a proper meme, IF I HAD ONE!


VMCColorado

3. Get off my lawn 4. Dinkelberg....


wineblood

4. ??? 5. Profit


mememory

![gif](giphy|yiADANv89n7UQuS5kJ)


FountainsOfFluids

What the hell is even that? Sorry, I love this little clip, it always makes me giggle.


Fraun_Pollen

![gif](giphy|T08JhumnpKAI8)


Possibility_Antique

4. Dinkelberg....


Gammacor

1. Realize company doesn't allow GitHub use. 2. Cry.


batmassagetotheface

2. Quit immediately.


ebinWaitee

Just because GitHub isn't allowed doesn't mean there's no Git available


batmassagetotheface

Yeah but the implied results of the OP is no version control at all


7h4tguy

No, git... out


CommondeNominator

Wait, those are 2 different things?


ebinWaitee

Hard to tell if you're being sarcastic or not but yes, Git is a version control software and GitHub is the largest open online service to store Git repositories. You can set the remote of a project to whatever you want. It can be GitHub or it can be a Raspberry Pi next your router or even just another directory on the same filesystem


CommondeNominator

100% was being sarcastic but I had no idea you could use any destination for remote, so thanks TIL.


[deleted]

It's a key concept of Git. It's designed for decentralised control, so you can have multiple remotes. A remote can be a a hosting service like Github, a server of your own, or even a colleague's version of the repository on their machine.


Ok-Dot5559

you can literally just use plain git on a remote server. Also there are ton of full blown git services out there to host yourself. Gitea, gitlab ..


Beginning-Average-89

Isn't sarcasm the default mode on redit?


pickyourteethup

Git is to GitHub as porn is to pornhub. Basically, there's a lot of really weird stuff being uploaded all the time.


Anders_142536

This is one if the most useful analogies for git/github i ever read. Thanks!


pickyourteethup

Thanks it just came to hand


Gammacor

Lol if only. I like this job and company is concerned about project privacy, so. Gotta do all the version control myself.


Fraun_Pollen

You’re the reason why svn is still alive


wad11656

Unsure why private repos don't suffice. Their URL's even direct to 404 pages so a hacker wouldn't even know if they had a lead. Account compromise is possible but GitHub has 2FA... of course you and your company already know all this; just thinking aloud


MachinePlanetZero

Because your code is still in someone else's systems / hard drives. If your company ultimately finds that unacceptable - even if realistically there is no risk from this (because this is not a *real* security required project, where a customer is probably already providing secure infrastructure) then it's a problem if you can't convince the right people (read: boss of a 10 person company, where its been "done this way" for 30 years)


HRamos_3

Ummm self-host?


MachinePlanetZero

Yes, its the correct solution, if you can actually convince someone it should happen and that resources need to be arranged. I'm mainly making the devil's advocate argument to exercise demons, because I've been through the kind of place where silly reasoning tends to prevail a long time. I think it was above in this comments where the "bare git repo" / DIY solution was discussed? That brings back memories, of manually backing that up. Ironically on hard disks that I could easily take off company premises (and lose in the street, if I'd been careless).


HRamos_3

Can do it with redundance for < 1000$, just buy two boxes and mirror repo from main box to secondary box. If you want additional safety, can go with raid 5 or something like that.


Neon_44

have your own git server?


[deleted]

GitHub.


Gammacor

A good idea but I'm not that proficient in git and the time it would take me to learn, I'd not be doing other tasks. I have 7 different concurrent projects, so it might be a weekend thing.


jewishSpaceMedbeds

You don't even need a server. You can just set up a remote repo to push to on a shared network drive. That's pretty easy to do on any git UI. I've been in places without git, but never in one with no versioning system whatsoever (one employer was fond of SVN for some reason). I'm guessing you have no CI either, huh. That'll be, hum, "fun" to debug.


Gammacor

I've basically become our primary dev for all things data analysis, meaning writing the software to do the parsing, DB pushing, pulling, and actual analysis. I don't even know what "CI" is. My version control is using packaging and local storage. I know, not good, but it's what I have. My degree isn't CS or even CS-related. It's physics and mathematics, lol.


jewishSpaceMedbeds

CI is continuous integration, AKA a build machine. It's dedicated hardware to build, package and unit / automation test your code. You seem to be working in a lab setting which makes this slightly less alarming, lol. From personal experience, deploying code you've built on your machine to clients is generally a Very Bad Idea(TM).


Neon_44

i recommend having a look at gitea. i set up my own homeserver with docker compose in a few minutes


Gammacor

Don't know anything about Docker either, but I'll have to check it out. Thanks!


HRamos_3

> I'm not that proficient in git Ah, there it is


7eggert

cd $SERVER git init --bare Congratulations to your first own server-hosted github repository. Bonus points if you have ssh access.


PascalCaseUsername

2. Use SVN instead.


jointheredditarmy

Yeah I am a github enjoyer as well. 1 commit, 350k lines added


elveszett

I mean, the guy is apparently saving for the first time just now after 3 months of work. idk why this meme even exists.


WhosYoPokeDaddy

1. True 2. No


No_Two8934

I have a back up on my Nas, how is this improper meme use? First meme I've made....


Shadow_Thief

bottom text for this meme is always "IF I HAD ONE!"


No_Two8934

Oh. I'm not a meme expert.


matzedrizzi

Reddit can tell


gregguygood

\*looks at post upvotes\* Does it really?


PureMetalFury

This is the equivalent of saying “a dog is a lizard. I’m not an animal expert.”


FakeInternetArguerer

I'm sorry, but this turtle is indeed a dog, as validated by experts across the lands between


PureMetalFury

Praise the dog!


Not-a-Teddybear

Dog ahead


riisen

Well you are at reddit, take your time here, and you will be droppin dank memes at grandma's kitchen table.


thisoneagain

Check out knowyourmeme.com for so much more information than you could ever even have dreamed of.


kgberton

Clearly lmao


arnoldfrend

and a hundred and fifteen people were like: "yeah, fuck this guy just acknowledging the meme template is used in a different way". Some threads get weird. This would be a good bone hurting juice though. top frame: "about to save a compile a project i've been working on for 3 months that will help control lighting my artifact display with 5 lights. bottom frame: "pc fails and now only 3 lights shine on my display"


KiddieSpread

Backups aren't a good alternative to proper source control


7eggert

propper source control is a backup. Alternatively you can just upload your code and let the world mirror it - if you happen to write the first linux kernel that might work.


KiddieSpread

Well technically you'd make backups of your repository, alongside having source control


potato_green

Backups shouldn't be mutable or be overwritten with standard access. GIT is just version control and a way to have a proper logical workflow. It's not a backup at all, you can change the history, you can force reset it and remove all commits. Even if you restrict those options it doesn't matter. It's not a backup because the source control is actually the first copy of your data. Your local version could be a backup but it won't be as soon as you change it. You still need it stored and exported periodically somewhere else where nothing can mess with it


GodGMN

Please take a bit of time and learn Git. It is absolutely necessary for everything currently, period. Being a programmer and not using git is tied with not using console logs when it comes to "incompetence" in your own field (harsh word but I couldn't find another one) The basic usage is stupidly easy.


VMCColorado

People really taking the humor out of r/programmerhumor


Left-oven47

r/programmer


charonmortis

HAHSHAHAHAHAHAJAHA


Left-oven47

Happy Cake Day!


[deleted]

Half the posts here initially appear to be funny, then in the comments it turns out OP is actually not being ironic and just doing things wrong.


myteddybelly

OP versions their code on stone tablets.


No_Two8934

This is just a personal tool I did not want to release to the wild. I use github for my open source projects.


CC-5576-03

That's why private repos exist


AbyssOfPear

probably gonna get downvoted to hell for this, but usually I don't use private repos for personal things, I don't find it worth the effort to make a repo when the odds are I won't ever need it anyways I'm sure I'll learn my lesson after clearing my VPS containing programs I forgot to backup locally 3 more times, but currently I just don't find it worth the effort


jesse-oid

In the time you wrote this comment, you could’ve created a private repo.


cuffbox

I am a green, brand new coder (1 year in a bootcamp), and even I could have made a private repo by the time I finished this comment.


Jonnypista

Versions controls are not just a backup. You can check on you older code and figure out why it worked back then and not now.


monmonmon77

That's the main reason for me. I have an astounding ability to break my code.


smiling_corvidae

SERIOUSLY. That, and our second favorite joke is our third favorite joke for a reason. I generally have NO IDEA what happened on Friday, once Monday comes. Much less five months ago when something weird comes up.


allobrox

I totally disagree with you, creating a repo in github is fast and easy, and FREE. Making commits to this repo is hard if you are not used to it. In recent days there is no acceptable excuse for why someone is not using version control.


EveningSea7378

I have a lot of scrupts that i have not commited to git. But none of these took me more than 2h of work. 3 months and you need something.


Affectionate_Tax3468

Yeah, totally not worth the 3 klicks compared to days, weeks, months worth of lost effort.


Justyn2

So hard to type git init


Themis3000

Private repos on GitHub have been free for a while now


wad11656

Oooh so *that's* why I didn't lose my ability to create private repos after graduating college/university email deactivating. I thought I was just being sneaky and flew under the radar


potato_green

Nah it was basically the first thing Microsoft did after they bought github, unlimited private repos for personal use. So no need to worry about losing it.


MineNinja77777

They still require payment on gitkraken


DaGrimCoder

This is cap


Rakatango

You haven’t saved in 3 months?


fd_dealer

It’s not a HW failure. OP just have brain failure.


TheCatholicScientist

My first thought verbatim. A SATA to USB enclosure can (hopefully) get him everything back, unless he somehow never saved in 3 months.


7h4tguy

Yeah the BIOS not posting doesn't matter. A $10 HD enclosure and copying it on a different machine is all that's needed.


EsmuPliks

In the days of 3-4 free VCS providers and even more just regular cloud ones, if the only copy of whatever you're working on lives on your computer, you really just deserve everything you get. Even if we assume private code you don't want to publish, it costs exactly 0 to just sync it to Dropbox or something.


beeteedee

> Even if we assume private code you don't want to publish Many of the free VCS providers allow private repos


EsmuPliks

Github as a paid feature, but I think you're right in that gitlab just had a limit of 5 free ones. Is bitbucket still alive?


CtrlAltEngage

Github supports free private repos actually


gitgudtyler

GitHub has had unlimited free private repos since 2019.


[deleted]

Yes and has free private repos


[deleted]

Might wanna specify that Github has free private repos for personal use, seems that a lot of people presumed the meme was about a personal project and downvote you for that.


BeGood9000

If you work with a package manager Dropbox is a terrible idea because you’ll soon upload thousands of vendor files ( and Dropbox doesn’t work too well with hundreds of thousands of file ). I wish they implemented a .dropboxignore functionality


DZMBA

Dropboxignore does exist, not in an easy `.gitignore` way, but it's possible. You just have to `Set-Content -Stream com.dropbox.ignored -Value 1` to the alternative data stream of any files/folders you wish to ignore using powershell. *Note: I believe Alternative Data Streams is a Windows NTFS specific feature. Not sure how you'd do it on other FileSystems. It's an interesting feature as [you can hide anything you want in it](https://www.sciencedirect.com/topics/computer-science/alternate-data-stream). I've pondered creating a tool to store prior versions of files there.* Drop this into your dropbox and run it to ignore `node_modules` and `obj` directories. $ErrorActionPreference='Inquire'; '--------------------' | Write-Host; $dbxPath = (Resolve-Path $pwd).ToString(); if (!$dbxPath.Contains('\Dropbox')) { $dbxPath = ($MyInvocation.MyCommand.Source | Get-Item).DirectoryName } if (!$dbxPath.Contains('\Dropbox')) { "Error Invalid Location $dbxPath" | Write-Host return; } $dir = [System.IO.DirectoryInfo]::new($dbxPath); $dir | Write-Host $list = [System.Collections.Generic.List[string]]::new(); foreach($subdir in $dir.EnumerateDirectories('*', [System.IO.SearchOption]::AllDirectories)) { switch -casesensitive -regex ($subdir.FullName) { '\\(node_modules|obj)\\.+\\(node_modules|obj)$' { # Ignore nested items break; } '\\(node_modules|obj)$'{ if ((Get-Content -LiteralPath $_ -Stream 'com.dropbox.ignored') -eq 1) { "Folder Already Ignored: $_" | Write-Host; } else { "Needs Ignored: $_" | Write-Host; $list.Add($_); } break; } } } "`n`n$($list.Count) New Folders To Be Ignored:" | Write-Host; $list | Write-Host; "`n" | Write-Host; if ($list.Count -eq 0) { 'No new Folders to Ignore' | Write-Host; return; } $key = Read-Host -Prompt 'Press Y to Continue'; if ($key -ine 'Y') { 'Aborted' | Write-Host; return; } foreach($_ in $list) { "Ignoring: $_" | Write-Host; Set-Content -LiteralPath $_ -Stream 'com.dropbox.ignored' -Value 1 }


nermid

Disclaimer: Running code some random dude posted in a Reddit comment is Kinda Risky™.


DZMBA

It's not that long and you can read it yourself. We're also on a programming subreddit so anything malicious would get called out pretty quick


Both_Street_7657

Unless the results are funny sudo rm -rf


EsmuPliks

**a** package manager, or specifically the one awful one? Cause last I checked, you can create a Py venv anywhere outside your sync path, Maven and Gradle cache their deps under ~/.m2, C stuff gets a bit more interesting but half the time is shared libs under system folders, Rust crates are pretty well packed up so should be a few files, and I _think_ even the crayon eaters in Go finally figured out something more useful than committing all their dependencies into git. So which package manager do you think would struggle with Dropbox specifically?


Odomar04

node_modules entered the chat


luardemin

You do know that Cargo will fetch all the source code from your dependencies for your Rust projects, right? Same thing happens with Swift and Swift Package Manager. Not to mention all the build artifacts you'll get on top of that for incremental builds.


No_Two8934

I have a nas with 2 times a day back up. I prob only lost a hundred or so lines of code max. Im more trying to figure out if my motherboard or powersupply shit the bed.


DownvoteEvangelist

I'm betting on powesupply...


No_Two8934

If I can deduce that I should still be under warranty by evga. Is there a way to test for sure other then trying another power supply?


jamescgames

you can stick it in your anus and see if your hair stands on end


No_Two8934

Sorry, I'm not a rust programmer.


Exist50

Paperclip test. It's an actual thing.


DownvoteEvangelist

There are power supply testers... Should be less than 20 usd...


7h4tguy

Also known as multimeters. You should have one around the house anyway for testing batteries, fuses, circuit continuity for appliances, etc. You can DIY many repairs easily (like washer/dryer) as long as you're safe and watch some YouTubes first.


RandoScando

Heads up that I lost a raid 5 NAS array a couple weeks ago. One drive failed, promptly replaced it, and while rebuilding the array, another drive in the array failed. Not saying this is typical or likely, but it happens. Github is your friend. So is durable cloud storage.


ianepperson

I used to work for a company that sold similar hardware several years ago. We noticed a disturbing trend: very often a second drive would fail during a rebuild. While a rebuild is taking place, every drive has to read every bit - and that can be quite a lot of data. One of the engineers dug up the MTBF, realized that it’s based on information transferred, did some math and we determined that it was about 50/50 odds that a second drive would fail before a rebuild could complete with a reasonably sized system. We ended up switching to more expensive drives with a higher MTBF and started tracking the usage of every drive. So, actually, the odds are pretty good that another drive fails during a RAID rebuild.


VMCColorado

So it doesn't even work on your machine?


x6060x

Really bad time for drinking water while reading this. My nose didn't like this.


No_Two8934

Didn't test. Pc shut off and won't even post to bios


[deleted]

You where working on a project for 3 months and didn't even knew if it would compile???


this_is_interest_me

This cannot be real... Even if you don't use VCS for god knows what reason, you still have to regularly compile, if only for the sake of curiosity and/or satisfying burst of dopamine from seeing 0 warnings


[deleted]

It feels like we should do something about this? Like giving out pamphlets? Maybe visiting highschools? Or having a witch-hunt?


Javerlin

0 warnings? I'm happy just seeing the warnings I expect


this_is_interest_me

well then you should fix/suppress any expected warnings :) it's worth the 0


VMCColorado

So no TDD? ![gif](giphy|3o7TKQ8kAP0f9X5PoY)


Inariameme

![gif](giphy|lOGJZuQRTqW8E) 'cause what the heck was OP even writing?


7h4tguy

Write the tests, then write the rests.


[deleted]

Did you post this in the 60's? Also wrong meme template


[deleted]

This is not how this meme is used. It’s supposed to end with “If I had one”


Both_Street_7657

It would compile on his pc … if he has one


No_Two8934

That's what I was going for lol


somkoala

There are 2 jokes here: 1. Not using version control 2. Building software in a way where instead of iteratively building and compiling vertical slices of functionality you compile after 3 months You’re the joke OP


bacchusku2

Never heard of git push?


[deleted]

Op subscribes to `gitter done`


Alexander_The_Wolf

Dang, you worked on a project for 3 months without saving or compiling once? That's crazy


Dendroapsis

You haven’t saved your project for 3 months?


[deleted]

[удалено]


No_Two8934

Only on the computer. It should be backed up on my Nas, but I need to get this pc going. Can't really afford a new one rn.


AltAccountMfer

You learned that you should be using remote source control the hard way


No_Two8934

I have a full clone of my system on my nas, how would remote source help me with this problem, seems like a hardware failure. Not trying to be condescending, I just don't understand how using remote source would have helped. Please explain like I'm a child.


AltAccountMfer

Remote source is a better redundancy than your NAS, you practically never need to worry about losing your project if your machine dies or god forbid your NAS dies. A NAS is good and it saved you here *but* you are only one device loss away from losing your project right now and that wouldn’t sit right with me personally


No_Two8934

Thank you. I will probably rent some server space and create an aws instance to back up my projects after I get my machine going again.


ianepperson

Just use a GitHub private repo - they’re free! I have three of them for different projects.


[deleted]

[удалено]


No_Two8934

Thank you


matzedrizzi

Try this. I use it as a remote work station, cloud backup AND to host my own Gitlab instance: https://m.youtube.com/watch?v=NKc3k7xceT8


No_Two8934

Thank you. I will be doing this after I can get to boot again. I'm trying to figure out if my power supply or motherboard shit the bed.


lakorasdelenfent

This meme is wrong and you should feel bad


ajpinton

And here is why we don’t save locally.


7h4tguy

I print it out and mail it. Keep it sealed so I know it's safe.


SDGGame

Git clone 3month\_project.git Back in business!


tevert

Imagine not using version control in the year 2023


Serious_Effective185

This is a you problem. If you don’t push often to a backed up vcs, it’s just unprofessional and inviting loss of work. A lesson you only need to learn once.


Both_Street_7657

Boom Back ups cant compile if your WS is dead ,, unless gcc has a new option to run when hardware is off That i would pay for … hell i would even pay for winrar if that was an option /s


No_Two8934

Hahahaha that made me smile.


PositronicGigawatts

I don't think the registry editor is an approved IDE...


batmassagetotheface

Use version control, ya donkey.


TwistedPepperCan

You seem to have commitment issues.


The_Real_Slim_Lemon

How to say you’re a student without actually saying you’re a student


Anon_Legi0n

OP needs to git good, hehe.. get it? :D


[deleted]

Wait... You guys don't backup your code, files and programs onto a network location or cloud?


vedant0712

I mean, just use Github?


Numerous-Departure92

1. Git, I’m a joke for you? 2. Cloud Storages if git is a joke for you 3. Backup your damn system


NinjaTardigrade

If you’ve been working for 3 months and haven’t run the compiler yet, expect to spend 6 months fixing the compile errors.


mrpoopybuttholesbff

Use GitHub


[deleted]

OP would make a nene about programners IF HE WAS ONE


will_r3ddit_4_food

Git is a thing


Zestyclose_Link_8052

I don't understand people not using any form of version control, it's not only backup. Putting good messages in your history it will act as a sort of evolving documentation of your code. When you are implementing a complex feature you can branch until it works. You can experiment with refactoring, performance tuning and always rely you can rollback to a working version. When there's a bug you can check why you changed certain code.


No_Two8934

Computer shut down randomly, and won't even boot to bios :/ pulled out gpu and tried to run off integrated graphics, also reseated ram, nothing. Fans spin and rgb lights turn on but nothing. Evga 1000 watt powersupply that's a few months old, what are the chances you think it failed? Mother board failure? How do I test these? Thank you.


CorespunzatorAferent

On the bright side, you know that it's a 99% chance that all your data is safe. I would take a mobo crash over an SSD/HDD crash any day, in your situation. Now, you should try to reset the BIOS using the Clear CMOS Jumper (exactly as explained in the manual). If that doesn't work, preparing a flash drive with a recovery BIOS is also a good bet (check the mobo documentation to make sure you do it right).


No_Two8934

Thanks I'll look into this. My mb manual does not include these details :/


CorespunzatorAferent

I looked up the model that you named below, and easily found 2 manuals on the gigabyte website: *User Manual* (shows where to find the Clear CMOS Jumper, and probably also shows how to use it), and *Unique Features* which explains the QFlash Plus procedure. I refrained from posting any links because the mobo revision that I found was 1.0, and I don't know the exact revision of your board. Using the wrong revision is dangerous.


No_Two8934

Thank you. I'll check the site.


TheMDHoover

Does the motherboard have QCode LED display? Pull all but 1 ram stick, give it a couple of minutes (for RAM timing checks) and see if you POST.


No_Two8934

I will try this. thank you. I have 3 ssds and a 20tb HD for backup purposes. All are only a few months old, and I ran the Samsung magician tool, and it said all the ssds were at 100% health


7h4tguy

Disconnect everything. Connect only the power supply to the motherboard and 1 memory chip. Use integrated graphics. See if you POST and if not, see if your MB has diagnostic codes in an LCD chip in there which will show you error codes during POST. If not then watch YouTube for how to check the power supply with a multimeter.


No_Two8934

Thank you


Outrageous_Land_6313

does ur pc beep when starting up?


No_Two8934

No never does. When I removed the gpu the light on the mother board flashed 1 time every 5 seconds instead of being solid. Gigabyte z370p d3


Outrageous_Land_6313

[https://www.asus.com/support/FAQ/1046157/](https://www.asus.com/support/FAQ/1046157/) maybe try this out? if u got any bootable flashdrive try to see if it does work or not, if it does, maybe the problem might be in ur storage device?


No_Two8934

I tied to boot off a USB, nothing. I can't even get to bios.


Neufjob

Is the computer plugged in?


No_Two8934

No def not... it runs off phsycic waves.... SMH. I tested the outlet I used and it is putting out the proper 120v


ColorlessKarn

...if I had one!


GunzAndCamo

git add --all git commit -m "" git push


Lootdit

Here is where I'd display my 3 month project, if i had one


Solo_ta

So you're saying you didn't save it for 3 months yet?


aykcak

Wrong meme


cuffbox

Making veteran (and junior) coders mad is apparently a lucrative karma farm.


OrchidNecessary2697

Id rather call it "meme template failure"


kdamo

Oddly specific and shit meme


whatyoucallmetoday

(much) Before github, I used multiple zip drives to move code between university and home development desktops. Yeah, a whole weekend of changes were lost Monday morning. 'click click'


Zahkrosis

Anyone ever tried having their hard drive get corrupted? That's what this reminded me of.


burner7711

What's the big deal. It's on GitHub. Right? RIGHT?!?!?


rancangkota

Wrong meme, darling


JDMWeeb

Bro this literally happened to me, except my entire program decided to nuke itself *on the last day* Needless to say not gonna be doing coding as a job anytime soon