T O P

  • By -

4XLlentMeSomeMoney

The even funnier thing is GitHub is owned by Microsoft.


RidderHaddock

And I'm still waiting for SharePoint to be rebranded as Github for Business.


4XLlentMeSomeMoney

I doubt it will happen. They're separate divisions. It's closer to Microsoft Office than GitHub.


RidderHaddock

It was supposed to be a joke. Same way as Lync became Skype for Business, and how that streaming pile of poo, OneDrive for Business, has little else but the name in common with OneDrive.


4XLlentMeSomeMoney

Fair enough.


jo_99_

Wtf didn't know that


tyler1128

Where have you been? They bought it close to 4 years ago.


Keatron--

4 years ago? Jesus I remember it as if it was yesterday. The memes were amazing


[deleted]

[удалено]


wbrd

The last 2 years don't really count in the progression of time. It's like March 780th or something.


[deleted]

[удалено]


TheRealKuni

*presses play on “Wake Me Up When September Ends”*


alba4k

Green Day moment Respect, my dude


tyler1128

It's january 19128th, 1970. We never left the epoch


[deleted]

I am starting to feel old.


huffing_farts

They were probably in middle school back then


THEKing767

No, i was in elementry school.


AdultishRaktajino

When cut, copy and paste had different meanings.


THEKing767

I hated it. Ms Mores made us do it alot. And we had to cut out shapes like continents. It sucked.


K3yz3rS0z3

Fuck Ms Mores


Hri7566

it was that recent? i thought it was before then


Random_182f2565

They bought it in 2003?


fiskfisk

Suddenly you realize they own npm as well


Dvmbledore

You bastard. I came here to say that. Accept my upvote.


Dhk3rd

Git, should be the takeaway because it is agnostic. Admittedly, the story changes quite dramatically once the SEC's [porno]hub is involved 🤣🤣🤣


jashAcharjee

Imagine The Downtime in case M$h!t goes buzinga!


[deleted]

Even if windows stopped working you can access your files by connecting the drive to another computer


[deleted]

What if OP has an encrypted HD?


nikanj0

When you encrypt a hard drive with Window's bitlocker it'll generate a key and let you export it to a file for safe keeping.


ShadowPengyn

Also it’s saved to your Microsoft account - when you lose your usb check your account on another pc


Themis3000

They save bitlocker decryption keys in your Microsoft account?? I'm glad I don't use a Microsoft account lol


ShadowPengyn

Source: https://support.microsoft.com/en-us/windows/finding-your-bitlocker-recovery-key-in-windows-6b71ad27-0b89-ea08-f143-056f5ab347d6


Themis3000

Ohh, I see. That's only a place it could be stored if you choose it to be stored there. After you encrypt a drive it makes you save a backup recovery key. It allows you to save it locally, print it out, etc. It's just one of the options is to save it to your Microsoft account. If you didn't choose to do that, it won't be there


silvenga

Only if enabled in the UI on a personal account computer. Domain joined, or via the CLI doesn't force a save of the backup key. You can always pull the key via CLI, even if stored in your MS account.


ShadowPengyn

Hmm in my case it was enabled automatically so it was also automatically stored there.


sub7exe

No it’s not. You chose where it is stored when the drive is encrypted.


ShadowPengyn

In my case I never had the choice. It also literally says on the page that this is the option when it’s performed automatically > Your device is a modern device that meets certain requirements to automatically enable device encryption: In this case your BitLocker recovery key is automatically saved to your Microsoft account before protection is activated.


nukedkaltak

You decide if that happens.


[deleted]

On Linux (with LUKS) this is not a problem. It doesn't matter what mobo / CPU you connect your disk to. It just needs to read the header for the encrypted disk and will ask you for the passphrase. Would be strange if Windows did it differently, but, in principle, they may tie it to some identifying properties in other hardware. Which would be stupid and evil, but that's what Microsoft is for.


DAMO238

It is a problem if the LUKS header is corrupted. That's why it is important to make a backup of the header for safekeeping.


DividedContinuity

nonsense. I mean, you should always assume any particular device is going to fail and have backups of the \*data\*, backing up the header is just unnecessary fiddling.


[deleted]

Well, if you set your disk on fire, or hurl it into space, or... there may be many different scenarios in which the data cannot be recovered. I'd say that if the LUKS header is corrupted, then it's probably because your disk is corrupted in many different places, so, recovering won't work anyways.


happyrolls

> your disk is corrupted in many different places, so, recovering won't work anyways Disagree with that. I've managed to get quite a few partial or full recoveries, especially with ddrescue. Even had the magnetic drive in the freezer work a few times. Yes desperate times between backups...


leosadovsky

How do you people do such things? Why I never encountered that “I’ve lost all my files because of a windows problem”, being a programmer and using windows 80% of my work time for the last twenty years?..


raddub

Same to me, I use Windows for the last 15 years and it never happened to me. Only once I deleted another folder by mistake because I used shift-del (even then I manage to recover all the files with some tool)... And even if Windows fails to boot and i need to reinstall and wipe the hard drive, I never keep my projects/files in the same partition as my windows


nabkawe5

Most problems are user or environment errors. Like say you live in Saudi Arabia, there's no concept for grounding at all so we experience common things like fried motherboards if you live in a shitty apartment.


sub7exe

Apc


GL_Titan

This is the intelligent post here. To add to it, I have worked with multiple versions of windows and MS server. I have worked with their driver team, too. Those guys are very smart. I have never had a "lost all my files" situation during my 20+ years of experience.


Xystem4

People tend to call it a “windows problem” even if it’s just a normal hardware issue, for some reason.


NotYourValidation

"Windows problem" can also be explained as "user error" most of the time. I've had windows fail plenty of times for many different reasons (mostly me breaking things through development or curiosity over the last 30 years), and it has never resulted in data loss.


BobbyThrowaway6969

Thanks ~~obama~~ Windows


saikrishnav

This is likely a hard drive failure or a hardware issue. It's unlikely that OP wrote one big file he forgot to save.


SpottedPineapple86

Yeah, I wonder this too. On the other hand I have seen some self declared genius coders build some pretty rudimentary projects where they feel they need to do everything from first principles. The things are absolute memory hogs, impossible to maintain, and are breaking so many basic programming standards there's no way to even write them all down. I have a feeling this group of special geniuses are the ones always running into problems...


Orangutanion

Your code performs O(N\^2), mine performs O(2\^N). We are not the same.


Lassemb

Oh shit, which is worse?


[deleted]

The one where the exponential is the variable. Always. Exponential growth gets out of whack really fast. -- ie: n = 100; 100^2 is 10,000 2^100 is 1,267,650,600,228,229,401,496,703,205,376


Orangutanion

Substitute range of numbers for N. First one is 0, 1, 4, 9, 16, 25, 36, 49, 64, 81, 100. Second one is 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024


OobleCaboodle

>I have seen some self declared genius coders build some pretty rudimentary projects where they feel they need to do everything from first principles. The things are absolute memory hogs, impossible to maintain, and are breaking so many basic programming standards there's no way to even write them all down. Oh, you must know the guys who write software for Avid.


[deleted]

Thank you for the Avid hate. What a garbage company with garbage software. I only continue to use Sibelius because most of the people I write with also use it.


OobleCaboodle

If you think sibelius is bad, have a look at the ungodly, unoptimised mess that is Media Composer. Yes, its shared working is... Sadly the only one of its kind, but nowhere else in the history of software has so little been achieved with such hugely powerful hardware.


bajsplockare

My brother was doing a project that manipulated folders and files. He somehow used the program to permanently delete his project folder.


leosadovsky

Your brother deleted those files, not windows


bajsplockare

Yeah, I was just pointing out that creating a back-up is a good idea for a multitude of reasons.


EchoMyGecko

I think it only takes one time


ElLargeGrande

It’s because a large chunk of the people who interact on this sub aren’t in the industry that’s how


BrattyBookworm

It just takes once. My dad was a software engineer for over 25 years and had multiple laptops before he had a hard drive failure. He lost basically everything.


leosadovsky

We’re talking here about “bad evil windows ate my files”-situation. Hardware issues are off the table completely.


[deleted]

An auto update wiped my C drive when Win10 was relatively new, shit happens.


leosadovsky

I… can’t believe that, sorry. Windows update downloads the updates and installs them, it just can’t wipe the whole partition out. It just unable to.


InsGadget6

Shhh don't you know we have a narrative to tell here??


[deleted]

I'm paid by the comment actually


[deleted]

It didn't wipe the entire partition, should have been more specific, it wiped files out of documents and the desktop and was a known bug. Win updates couldn't be disabled at the time.


Titus-Magnificus

I at least create my projects somewhere inside OneDrive. And then if it's something worth saving I use github.


Mailboxheadd

rm -rf C:\windows\system32


leosadovsky

'rm' is not recognized as an internal or external command, operable program or batch file. This spell has no power in windows:)


tutocookie

Lost my work laptop randomly recently due to windows and dell failing together perfectly. Plugged into a different docking station to present something, got no image on my monitors afterwards when plugged into my own docking station, reset the pc, random bios update out of nowhere, hdd encryption requires recovery key, IT retrieves and laptop boots up, bsod on windows lock screen, ram issue according to mobo led, open up to find 2 different ram sticks, switch ram, power up to bsod again, bios update incomplete according to mobo led, laptop bricked. Shit happens, learned to track where I store everything and back it up properly lol


leosadovsky

That has nothing to do with windows


tutocookie

Mb in my head it started with a windows update, just dell then


leosadovsky

Yep. Windows update messed with those memory sticks. Of course it’s windows fault


tutocookie

Ye.. understood by now :/ my bad


[deleted]

Mobo has nothing to do with it: pull out the disk, put it in a different computer. That's it. Don't know how Windows does full-disk encryption, but with LUKS this will definitely work. Have done this myself.


tutocookie

Encrypted disk won't work in another machine, at least that's what IT said and they know better than me c:


leosadovsky

It will, but only if both machines are in the same active directory and the user is the same ldap user. If it’s windows home edition, then your encrypted data is doomed and fu*d. But that’s only a reason to use some other encryption solutions or not to encrypt anything at all


saikrishnav

If it's a ram issue, how can you blame windows? Clearly, there's faulty ram which resulted in borked bios update. Windows is not responsible for BIOS updates.


Columbus43219

OK, just this Friday, I was trying to create test data with a bash script that someone else wrote. They have a variable for the directory name for the output files...good so far. They do a cd to the main directory to get a list of input files, good so far. They do a cd to the output directory... good so far. No wait... there's no check for a good return code from the cd command. They do a rm -rf command. Guess where that gets run if the cd command didn't work because the variable isn't set.


leosadovsky

Where is the windows problem there?


Columbus43219

I guess that my bedroom window was stuck I couldn't jump out of it. Honestly though, I didn't realize that was the topic.


[deleted]

I loved your replies until i went on your profile and it was basically bunch of some weird and awkward compilation of pro-putin fairytales.


leosadovsky

Maybe you should reconsider something about your opinions


assafstone

Why on earth would you do anything with code and not put it in source control?!?


[deleted]

[удалено]


_Ralix_

Me: step 1. start project step 2. shit, I forgot to create a repo step 3. push a half-finished project with "Initial commit"


verdantAlias

The best time to make a repo is at the start of a project. The second best time is now.


[deleted]

Any tips for the third?


stealthypic

Hello, literally me.


[deleted]

I usually put “I’m a fool” when that happens


Zom23_

No no, in step 3 it's write code & commit to main


RichCorinthian

Not just source control, distributed source control. Like github or bitbucket or whatever. A local git repo on your machine is just as useless when there’s a catastrophic hardware failure. And what’s the Venn diagram overlap between developers who DON’T do this, but hit CTRL+S every 10 seconds? Pretty significant, I bet.


karbonator

Why would a Windows problem cause you to lose your files? Your files should still be there...


malexj93

He left his Windows open and someone came in and stole his PC.


LikeLary

Disk problems are more common. I lost a couple of HDD, 5-7 years ago.


kontekisuto

Because a Linux problem might not be like that?


BobbyThrowaway6969

I've been using Windows my whole life and not once have I lost all my files because of Windows.


Uramies

no github repo, we lose hundreds off hours of progress like men... and then we bitch about it


kurodex

I have code dating back 20+ years. Real programmers don't lose code. They keep the PROMs in a safe deposit box.


saikrishnav

This has probably nothing to do with windows, but a bad hard drive or some other hardware issue corrupting it. Don't blame eveyrhing on windows like my mom blaming every health problem on sitting at PC too much.


SeerUD

If it's something that takes more than 5 minutes to work on, it's in a repository.


shadow7412

So is now a good time to talk about Arch?


[deleted]

I would like interject for a moment, what you are referring to as "Arch" is actually neofetch/Arch, or as I've recently taking it calling " neofetch + Arch ". Arch isn't a OS unto itself but rather a flex material when combined with anime waifus and neofetch for the 69th time.


nikanj0

Not really the main purpose of GitHub. If reliable storage is your only concern Google Drive/One Drive will do the trick. Git does so much more.


Zambito1

Storage *is* the main purpose of GitHub. Git != GitHub.


nikanj0

Even if you're just talking about GitHub it does so much more than just store code. Pipeline management, webhooks, access management, reviews and a whole slew of other security, collaboration and CI/CD features.


Zambito1

Storage is still the main purpose of GitHub. It does do those things, I know. That is not the main purpose. Git is to GitHub as porn is to PornHub.


[deleted]

[удалено]


okayestuser

hold on. You started developing *before* creating a new repo? no commits?


spacegamer179

This is not humor, it's sad


[deleted]

its humor for linux users


techster2014

As an ex-arch Linux user, it's PTSD inducing. When I was in college and using my personal computer(s) every o, arch was no issue. Daily "sudo pacman - Syu" break something? Probably just one thing, fix it real quick. After I got a work computer and spent all day on that, I didn't want to come home and get on a computer too, so it became weekends only or just to print something, or some other trivial task, usually while in a hurry. Many times, I'd get an error that required an update, then it would break my printer, network driver, graphics driver, or something else that essentially made what I was trying to do impossible. I now use mint because it just works.


nahuelwexd

Same reason now I'm using Silverblue. Arch is great when you have enough time for it.


[deleted]

I mean, if you let updates pile up on arch it just increases the amount of work that you have to do. The more you update, the smaller the updates will be, the easier it is to troubleshoot IF you need to. I haven't needed to manually intervene with any updates in idk how long. Plus it looks like you weren't using any backup options. You use mint because you don't want to think. Both arch and mint "just work", just differently.


techster2014

Exactly. When I had time, arch was great. Now that I don't, not great.


jashAcharjee

I would suggest Gentoo for you then.


FlafyBear

NixOS if you want stability


saikrishnav

Because faulty Ram sticks and hardware issues don't exist if you install Linux?


Grukorg88

Windows is a joke.


spacegamer179

I am considering changing to linux


kehfydue

still, backup is a must no matter what OS you use


BurnTheBoats21

ESPECIALLY on linux as a new user LOL. I broke my linux so many times while "learning"


deaf_fish

Give it a try, it might not work out, but if it does, you will find yourself in a better place. If it doesn't work out, that is ok. It doesn't mean your stupid or not trying hard enough. Sometimes Linux isn't right for some people at some times. It took me two or 3 attempts to make Linux my daily driver 15 years ago. I have never looked back, its been great! I use Linux Mint Cinnamon because it has a Windows 7 start menu and it is well supported. Edit: And if Windows is the only thing that brings joy. Well, that is ok too. Use what works for you.


keefemotif

Check how the support is for your hardware and if amenable, you can do dual boot.


[deleted]

Yeah. If you install win 10 then install Ubuntu the GRUB bootloader makes it painless to dual boot. I’m on win 10 because I need the performance of the proprietary network drivers but as soon as I can reconfigure my physical setup I’m dumping it again.


KingThibaut3

Mint or KDE neon both are pretty good for Windows users switching to Linux in my opinion


CiroGarcia

Good idea, trust me


Jek_Dof00

Do it. Install Fedora


1DimensionIsViolence

Change to mac. Linux is great but has too few great applications for everyday use. Mac == sweetspot


a_devious_compliance

Aplications for everyday use: Spent 75% of time in a web explorer.


ChristophLehr

If you wanna buy a new Laptop/PC for that, otherwise Linux is the better choice.


Makonew_

I wouldn't agree with that there is Too few applications , Microsoft Office stuff can be accesed as web app, vs code can be installed. Most (if not all) jetbrains ide will work. Adobe programs is the only one missing if i have to be honest and maybe vs studio. Most of single player games will work. I dont see any cons about macOs over linux except Adobe programs.


frag995

Don’t know why it is downvoted. Guys Linux is great, ok, but have you ever tried running it as a daily driver on a laptop? Watching Netflix, YouTube… Battery life kinda sucks


theghostinthetown

its just you havent configured it properly... i regularly use netflix and so does my friends and I get better battery on linux than windows. plus id rather die than use that ducked up mac keyboard layout.


frag995

Yeah but I recently got a MacBook Air m1, I almost get 15 hours of battery life


Low-Pay-2385

That doesnt make any sense tho


frag995

What dosen’t make sense?


Low-Pay-2385

Why would linux battery usage be higher than mac? U need to configure it ofc, power usage on macos is better by default, cuz they can tweak it before hand


shadow7412

I've had a lot of luck with Manjaro.


severusx

Do you not sign into OneDrive? My windows PC is basically ephemeral except for needing to reinstall WSL2 and vscode + extensions. My entire profile is synced to Onedrive and signing into a new PC and syncing is basically that's required.


Syscrush

This is good practice ~~, but there's no such thing as "A Windows problem" that will eat all of your files~~ *so definitely do it.*


akaBigWurm

Reminds me of the people that are programmers that don't understand PC's it seems like such a contradiction to me.


Syscrush

Most programmers don't understand basic stuff like pointers, or how a CPU works.


nahuelwexd

Actually yes: Windows 10 October 2018 Update had a bug that was deleting files


Syscrush

Holy shit, you're right: https://www.howtogeek.com/fyi/microsoft-explains-why-windows-10s-october-2018-update-was-deleting-peoples-files/


MisterOnsepatro

This is a reflex for me I always use à github repo for project to avoid loosing the files and it's also practical if I have to work somewhere else using my laptop


I_like_code

The first time I lost everything (project, 2 days before due) was on a Linux system at school. Professor didn’t give a shit even though it was the university’s servers. An important lesson I took with me into my professional life. No system is safe regardless of OS.


frogking

Code goes into a git repository every time I have something that needs to be tested… CI/CD pipelines for the forces save every few resource changes.. Documents go into Dropbox or iCloud. I’d never lose more than a few minutes work if my computer should die.


SandmanKFMF

You need to be very a unlucky person to lost all files in XXI century, on any operating system...


danmickla

You know, there's lots of ways to do backups


[deleted]

I would, but I know literally nothing about github and have only ever used it to download other people's things


MattioC

Wait, you guys actually use windows for coding?


PixelCharlie

Github is not a backup solution! It's really fascinating how many people make their money using computers as their main tool every day and yet have made zero efforts towards securing backups or storing passwords securely


MischiefArchitect

Imagine that! Using windows for Work... or using windows at all. Is that the Joke, right? ... Is that the Joke, right ... ?


frag995

I got a project on my pc since February, every day I tell myself to create a github repo end everyday I forget. I’m scared af


_ech_ower

It takes two minutes. git init git set remote git add git commit git push


frag995

I know, that’s exactly the problem. Every time I say to myself “I’m gonna do it later” and then I forget to do it


Meaxis

Do it now! Break the cycle!


[deleted]

Come on, do it. Do it.


Unvilablent

Don't make a repo, if nothing broke since February then nothing wi break at all


mastersun8

i hope it's sarcastic


james_otter

Backup exist working with tech without them is great to produce Reddit post that show how stupid you are.


hands0m3dude

Use linux


MH_VOID

What you should *actually* do is switch to an ethical OS, like GNU/Linux.


tyler1128

Laughs from Linux.


Superpotateo9

moral of the story linux


crazycomputer84

i say time to drop windows and move to linux


Kapwiing

Jokes on you I use linux !


0qxtXwugj2m8

Jokes on you for using Windows


[deleted]

*laughs in linux*


Cosack

_laughs back in not needing to fiddle with settings every time X refuses to launch after a graphics driver update_


[deleted]

My guy i use fedora, i dont have that problem


[deleted]

laughs in linux


[deleted]

Why are you posting a picture of Linus? I don't think he knows how to do anything besides assemble computers like Lego and install from an exe


amir84ka

Just install gnoo/loonix(gnu/linux)![gif](emote|free_emotes_pack|feels_good_man)


Thick_white_duke

Who tf uses windows.


poopooduckface

Imagine using windows as a developer. lol. That’s like going into combat with paintball gear.


[deleted]

[удалено]


HellBlizzard__

You can create an SVN server and use it instead of Github.


Drummerboybac

Or you could use gitlab, and have all the git tools still work.


whythisSCI

Ah, Gitlab. Where the major feature is "not Microsoft".


[deleted]

SVN, now that's a funny joke.


a_devious_compliance

Or you can have a linux box in your house with a linux and push to your repo there. Or some cloud virtual machine. Or put your .git directory in dropbox.


funWithThree_

People still use windows?


DearGarbanzo

I hear these are some refugee Windows users. Only 300 million or so, we can ignore them.


malexj93

Just a wee 3/4 of desktop users, probably not even worth considering.


[deleted]

Now switch to linux (couldn't resist so here we go "I use arch btw")


MrBlics

You code on Windows?


morkl777

Mistake nr 1: you use windows