Mastodon: @canpolat@hachyderm.io
- 347 Posts
- 176 Comments
canpolat@programming.devto
Programming@programming.dev•YAML, SQL, or something else? Looking for recommendations for making a database of stories.English
71·11 months agoI would stay away from YAML (almost at all costs).
canpolat@programming.devMto
Git@programming.dev•Branching strategy for a text based projectEnglish
2·11 months agoFor us to be able to help you, I think you need to give us some more details about the organization of your work. If each chapter is a separate text file, then you don’t really need to do any branching at all (assuming people will only make changes on their own files and not touch others’ work). If it is a single text file, branching (or anything else, to be honest) will not help much.
I assume chapters will have their separate files. As long as you can control who touches which file, everybody can work on the same branch (also referred to as “trunk based”). But if you fear that people may interfere with each other’s work (willingly or by accident), then it makes sense to create a branch per chapter to keep contributors at a distance from each other. But working on a single repository requires some sort of an agreement on the workflow.
canpolat@programming.devto
Programming.dev Meta@programming.dev•I keep getting logged out today. Is it just me?English
2·2 years agoI have the same problem on mobile Firefox on Android. I’m using the default frontend as well. This was not happening a week ago (or maybe 10 days). Started recently.
canpolat@programming.devto
Linux@programming.dev•What are some good name suggestions for the rebranding of OpenSuse?English
141·2 years agoDon’t they already have the names Leap and Tumbleweed? Changing the name to Leap would make sense since it’s the name of the “official LTS” version. At this point it sounds like “openSUSE” is the name of the project and not the distro. But I haven’t been following them closely, so perhaps I’m wrong.
canpolat@programming.devMto
Git@programming.dev•Git isn't working when i clone, fetch, or pushEnglish
10·2 years agoNot sure but that sounds like you have a problem with your Git installation (or a dependency of Git). Maybe a reinstallation can solve that.
canpolat@programming.devOPMto
Git@programming.dev•How Git Works (zine by Julia Evans)English
3·2 years agoI understand the “why would I pay for this” reaction. I think crowdsourcing is a better approach for these kinds of content. Once you reach certain level of financial commitment from the crowd, you can give away the PDF and sell the print copy.
canpolat@programming.devOPMto
Git@programming.dev•What were your misconceptions about Git when you first started?English
26·2 years agogit branches are just homeomorphic endofunctors mapping submanifolds of a Hilbert space
Yeah, once you realize that everything falls into place.
canpolat@programming.devto
AI Generated Images@sh.itjust.works•Refreshing Human-Cola.English
11·2 years agoThe shape of that bottle is creepier than the text.
canpolat@programming.devOPMto
Git@programming.dev•Git alias idea: "git browse" to open repo in browserEnglish
16·2 years agoI believe you can replace
startwith the command that is suitable for your system (e.g.,xdg-openfor linux).
canpolat@programming.devto
Ask Experienced Devs@programming.dev•What details/tools have you found help people transition to similar, open software from closed software, or think could help?English
4·2 years agoThe only such transition I was involved in was switching from TFS to Git, and there was no discussion. It was the obvious thing to do and for a while we needed to support some developers who are new to Git.
So, it all depends on the type of change you want to implement. Most people don’t think much about a piece of software being open is significant. That’s why the main selling point should be the product itself. Especially in organizations openness alone is not a strong enough argument.
But with individuals, it may help to inform people about FOSS instead of just suggesting alternatives (“Do you have a moment to talk about our lord and savior Stallman/Torvalds?”). If the individual doesn’t understand or subscribe to the values, the switch may be temporary. My 2 cents. Hopefully others will come up with better tactics.
canpolat@programming.devto
Ask Experienced Devs@programming.dev•What details/tools have you found help people transition to similar, open software from closed software, or think could help?English
6·2 years agoIf you are thinking about transitioning an organization to open source, pricing and vendor lock-in are generally good arguments.
If you are thinking about helping individuals transition, that’s a bit more difficult. Pricing could still work, but is not always that effective. It boils down to the willingness to try something new.
In both cases projects with good documentation and a healthy community also helps, but if the open alternative lacks features, it’s a though sell.
canpolat@programming.devto
Ask Experienced Devs@programming.dev•How do I not stop feeling like I am doing nothing outside work?English
4·2 years agoI am not concerned about not having anything to show for my free time. I am just not finding interest doing stuff which could indicate something worse.
You are not alone. It’s not easy to find an engaging free time activity. And even if you do, you may get bored of it after some time. The only thing I can say is: even if something doesn’t seem very interesting at first, give it a try anyway (as long as it doesn’t require a huge upfront investment). You may end up liking the activity or you may end up with like-minded people. And the worst case scenario is, you have wasted some time.
I think majority of people suffer from not having a meaningful free time activity (amplified by the possibilities of internet). And I’m saying this without any data to back it up, so don’t quote me on that.
canpolat@programming.devto
Ask Experienced Devs@programming.dev•How do I not stop feeling like I am doing nothing outside work?English
48·2 years agoNot having any personal projects is perfectly fine. Don’t worry about it. Not everyone has to have their job as their hobby. Try other things (music, hiking, cooking, etc.). Try to find a hobby that makes you happy (if you don’t already have one). That’s way more important than having a public GitHub profile. And if a company decided not to hire you because of that, you basically dodged a bullet.
Here is the link to the original website (an NGO that monitors blocked websites in Turkey): https://ifade.org.tr/engelliweb/distrowatch-erisime-engelledi/
And here is the Google translation of the text on that page:
The IP address of the DistroWatch platform, which provides news, reviews, rankings and general information about Linux distributions, was blocked by the National Cyber Incident Response Center (USOM) on the grounds of “IP hosting/spreading malware”.
canpolat@programming.devOPto
Programming@programming.dev•Garnet: Redis alternative from MicrosoftEnglish
3·2 years agoI think you are highlighting an important point that are missed by other commenters emphasizing the developer. I prefer GPL over MIT license. But this is a possible fallback if Redis decides to change its licensing (like several others did).
I think these kind of products have strategic significance for MS for their Azure offering. They are probably preparing to offer this there (in addition to and as an alternative to Redis). So, it makes sense for Microsoft to release this with an OSS license (otherwise no one will adopt it).
canpolat@programming.devOPMto
Git@programming.dev•What was your “aha” moment when you finally understood Git?English
3·2 years agoWhat
checkoutactually does. Here is a past comment with links to the courses (they are pay-walled, unfortunately)
canpolat@programming.devOPMto
Git@programming.dev•What was your “aha” moment when you finally understood Git?English
2·2 years agoI don’t think I read that one. I created a separate link-post for that one. Thanks.
canpolat@programming.devOPMto
Git@programming.dev•What was your “aha” moment when you finally understood Git?English
6·2 years agoMine happened when I watched Paolo Perrota’s Git courses on Pluralsight. That’s when it clicked for me.
canpolat@programming.devOPto
C Sharp@programming.dev•Switch statement fallthrough in C#?English
4·2 years agoBecause it is about a not-very-well-known feature of the language. Why would it matter that it’s old? I don’t think I have ever seen this in use in production code.






This problem is now solved for me. I didn’t do anything. Either a Firefox (current version 137.0.2 on mobile) or a Lemmy update (current version BE: 0.19.11) seems to have solved it.