Folks who squash their #git merges, I’m curious why you are making that trade-off. I’m guessing the pro argument is a cleaner merge graph?
The big argument against it for me is that you lose granularity for git bisect. I've often been able to narrow down breakage (sometimes long past the merge) due to individual commits in the merge. If I'd merged in a giant blob all I'd have had to go by is that giant blob. (1/2)
@finestructure Merge commits on active repositories make history basically unreadable, but then rebase commits erase all commit signatures, which makes squash the only practical option. Also incentivises making PRs smaller.
@fabianfett@dgregor79@finestructure I think saying "destroyed commits" is an exaggeration here. Even with squashes all of the original commits are automatically preserved on GitHub and can be easily tracked down and bisected if needed. If there are any concerns with those commits stored on GitHub, all of those branches can be cloned and stored in an external system including local clones if needed.
@finestructure if you delete merged PR branches, there's a "Restore" button displayed by the squashed merge commit and its original branch info, otherwise it's called "Delete".
I have done very little research — what’s the best NAS to get?
Looking basically for something to replace iCloud, so would be great to have access to the files from my phone. Would be nice if I could use rclone to sync with some online services too.
@chris@cjwirth +1 for Synology for on-premise NAS. Otherwise there must be something cloud-based that's open-source, but I never found something in that space as established as Synology already is for on-prem.
Before Baba Is You there was Environmental Station Alpha by the same developer. The game doesn't seem widely known, but it is one of my surprise favs: https://www.youtube.com/watch?v=fuPsJk-c3bQ
Як працюють компіляція та виконання коду👇
🔸Компілювані мови (#C, C++, #Go)
Вихідний код перетворюється компілятором на машинний. Машинний код виконується безпосередньо процесором.
🔸Байт-код (#Java, C#)
Вихідний код компілюється у байт-код, а потім JVM виконує програму. Іноді JIT-компілятор компілює вихідний код у машинний, щоб прискорити виконання.
🔸Інтерпретовані мови (#Python, #JS, #Ruby)
Тут для виконання програми не потрібен машинний код, натомість програму рядково виконають інтерпретатори.
@tshirtman@AndriiKuznietsov75 IIUC that's also the case for Ruby. And of course, languages don't mandate a specific flow, it's an implementation detail. There's RubyMotion/DragonRuby compiled to native, or PyPy that JIT-compiles Python.
Not sure how widely known it is that Cloudflare has a free tier for Pages. There's different options for how to upload static assets but the easiest is to just point it to a branch of a GitHub or GitLab repo and it will auto-pull and deploy when there are changes to it.
Is there a way to tell the #swiftlang compiler to just compile a single file like swift build test.swift -o test? Or do I need to have a Package.swift, Sources folder etc.?
@finestructure like in compilers, these bootstrapping problems are always hard to resolve. At least in warmer weather there are more excuses to prepare some cold brew the night before.
Russians staying in Sri Lanka have showed their gratitude by creating a number of “whites only" night clubs, denying access to local Sri Lankans. So Sri Lankan authorities now decided to help the racists by telling all 288,000 Russians in Sri Lanka to take the next flight back to good old Moscow, where the average skin color is more to their liking.
@strigohabro@feyter@theseeduneed@randahl russians had plenty of time (decades) to prevent this from happening, so they all bear responsibility for what's happening. Putin was democratically elected for his first term while he was endorsing extrajudicial persecution of journalists and imperialist war in Chechnya. All the red flags were there, with opportunities to protest and outvote these criminals, and yet they've chosen to do almost nothing and then suddenly realize it's too late.