Mastodon: @canpolat@hachyderm.io
- 235 Posts
- 47 Comments
canpolat@programming.devto
Programming@programming.dev•YAML, SQL, or something else? Looking for recommendations for making a database of stories.English
81·1 year agoI would stay away from YAML (almost at all costs).
canpolat@programming.devMto
Git@programming.dev•Branching strategy for a text based projectEnglish
2·1 year 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.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.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.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
Programming@programming.dev•Announcing freenginx.orgEnglish
17·2 years agoWho is this particular developer
As far as I understand from the discussions about the topic, Maxim Dounin was one of the few core developers of nginx. Looks like Wikipedia has already been updated.
canpolat@programming.devOPMto
Git@programming.dev•What's the most creative or unconventional use of Git you've encountered?English
12·3 years agoThe URL seems to have a typo. Correct URL is https://github.com/presslabs/gitfs
I know you said “self hosted”, but if you are interested in an Android app, Google Play Books does most of what you want, I think. You can upload your books, and read them on any device (with offline capabilities). But this is the Self Hosted community, so I will show myself out.
canpolat@programming.devOPto
Fediverse@lemmy.world•Bluesky opens to public registrationEnglish
17·3 years agoI don’t follow it very closely, but as far as I know, they are the only one implementing the open protocol they designed (which doesn’t interoperate with ActivityPub). However, there seems to be some efforts for creating a bridge: https://www.docs.bsky.app/blog/feature-bridgyfed
As you said, there are some recognizable faces and that may impact the adoption. But not being compatible with ActivityPub is a real bummer.
canpolat@programming.devOPto
Programming@programming.dev•Introducing Pkl, a programming language for configurationEnglish
1·3 years agoPossibly. My point is: despite having a common subset Pkl and JSON schema doesn’t seem to be solving the same problems. But, I’m just learning about it, so I may just be wrong.
canpolat@programming.devOPto
Programming@programming.dev•Introducing Pkl, a programming language for configurationEnglish
3·3 years agoI just learned about Pkl, so take this with a grain of salt. JSON Schema and Pkl seem to have some overlap. But JSON schema is not specifically designed for handling configuration and Pkl supports other formats like YAML.
canpolat@programming.devOPto
Programming@programming.dev•Introducing Pkl, a programming language for configurationEnglish
51·3 years agoThis looks really interesting. Getting type safety and editor support to configuration may change quite a bit of how things are done. I don’t know if it will gain traction, but if it does, it may really help bringing some long awaited structure to all those YAML files. There appears to be examples specifically for Kubernetes (https://github.com/apple/pkl-k8s-examples).
I wasn’t aware of that. I guess it was thought to be a mod driven community. Anyway… Cool question. I hope we will see some creative solutions here.
Please also consider posting to !challenges@programming.dev









I take full responsibility for this. I thought this was a parody. I didn’t think anybody in their right mind would actually use this. In my defense their page contains of fake product reviews. Anyway… It’s probably best to remove this, I’m perhaps mistaken. Thanks for the warning.