News for hackers. Stuff that matters.

sashokbg

Re:Please Stop Splitting Things on Wednesday October 15, 2025 @08:57AM (#45591735)
A blog article I wrote with some thoughts regarding the productivity and complexity related to data and project fragmentation.
Re:Using TDD and DDD Rich Model in Fronted Applications on Wednesday January 08, 2025 @06:10AM (#42633010)
I wrote an article and created a sample repository showing how we can apply TDD & a rich non-anemic domain model as described in DDD in a frontend project.

The study case uses React and Signals, but is mainly about the principles and not the technologies involved.

Show HN: I Made an Mkdocs Gherkin Results Plugin

https://github.com/sashokbg/mkdocs-gherkin-plugin

Hello, I have developed a small mkdocs plugin that will parse the results of your Gherkin / Cucumber tests and will inject the results back into your documentation.This is very useful since Cucumber supports markdown now and we can easily create a true "living documentation" using mkdocs and cucumber.Comments and feedback are very welcome !

( Read More... | no comments | on HN )
Re:You'll regret using natural keys on Wednesday June 05, 2024 @08:21AM (#40583994)
I disagree with this article. The author takes some very edgy cases such as "undergraduate student" and "transgender CRP number".

Even the example for the restaurant and "time based id number" are bad because they all indicate that you just badly identified the entities (in DDD terms) and their identity.

So being bad at DDD doesn't mean that you can't use natural keys (although I myself have arguments against them)

Show HN: Interactive Git Training Use Cases

https://github.com/sashokbg/git-training-usecases

Hello, I have been working for years with junior developers and I find that many of them struggle to get out of some "delicate situations". Example "detached head", "wrong rebase", "for some reason I see duplicate commits" and so on.To help my colleagues I came up with a list of git uses cases that can be tested in a sort of interactive playground using a shell script that will set-up the use...

( Read More... | no comments | 2 points | on HN )
I live in Europe (France) and I don't have the part "As part of the Facebook family of companies .." in the EULA that is presented to me. Maybe they have different versions and the one in EU is kinda still OK ?
You have to be completely nuts to put your secret keys in a site on the web.
So ? I know there is still slavery. There are still people who die, should I stop using the phrase "the server is dead" because I might offend you since you lost your grandma ?
If we spent our time changing specs every time someone somewhere gets offended by something that didn't even happen to their generation, we will be spending all our time doing only this.
Re:Tell Your Co-Workers How Much Money You Make on Monday September 03, 2018 @01:58AM (#17900635)
I do not agree at all with this article. Most people are jealous haters and it is perfectly normal to have a lower salary if you don't have the guts to ask for more.