189 karma · joined Jan 6, 2011 (15y ago) · 74 submissions
comment 1y ago · link · parent
comment 1y ago · link · parent
But there are many ways to manage write permissions - limit the directories to which engineers are allowed to push code. E.g. if you use Git, this can be done with Gitolite, which is a popular hosting server.
Gitolite has very flexible hooks support, especially with so-called "Virtual Refs" (or VREFs)[1]. It is out of the box and has support to manage write permissions per write path [2]. You can go even further and use your own custom binary for VREF to "decide" if a user is allowed to push certain changes. One possible option - read incoming changed files, read metainformation from the repository itself (e.g., CODEOWNERS file at the root of the repo), and decide if push should be accepted. GitHub has CODEOWNERS [3], which behaves similarly.
[1]: https://gitolite.com/gitolite/cookbook.html#vrefs [2]: https://gitolite.com/gitolite/vref.html#quick-introexample [3]: https://docs.github.com/en/repositories/managing-your-reposi...
comment 1y ago · link · parent
If a company has up to 100 services, there won't be VCS scale problems, LSP will be able to fit the tags of the entire codebase in a laptop's memory, and it is probably _almost_ fine to run all tests on CI.
TL;DR not every company will/should/plan to be the size of Google.
comment 1y ago · link · parent
I also expected somebody from this community to enlight me :)
comment 2y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
I like reading tech books which are not directly related to my job as SWE. E.g. I'm not working with Bitcoin or ML, but found those books very interesting. However after a year pass - I barely can remember little bits which I've found very interesting when read the books.
I think adding some facts to Anki cards would help me to remember those certain things. I guess difficult part would be to detect the fact which is worth to be added as a card. Since while reading the book - these things seems obvious. Going to try anyways.
comment 3y ago · link · parent
That was a shady thing - I literally helped to cheat the system. But these were times in our market.
Despite that this "job" lasted for couple of years only, the best income was that it pushed my coding experience years ahead compared to my peers. I was way more better than most of them. At least at coding :-)
comment 4y ago · link · parent
comment 4y ago · link · parent
Some time later tried to use it and it seemed project was abandoned. Not sure if it was but there were no recent commits and I felt quite sad. Happy to see the project is back to life!
comment 4y ago · link · parent
I have recently became interested into procedural generation as my free time hobby. As a backend software engineer I was looking for a side project with no commitment. Which would be flexible to apply different types of technologies, boring and interesting at the same time. "The Forever Project" [1] article describes motivation behind it.
Since I had no experience with Rust, game development & procedural generated stuff, combining everything sounded pretty covering my "Forever Project" theme. I'm currently going through Rust Rougelike tutorial[2] to get basic understanding how games are being developed & maps are generated. I like the tutorial a lot because it covers so much different topics. From game dev, few libraries, to different approaches of maps generators.
There is a lot of content there but I'm already raising questions to myself where to look next? What should I learn & focus so I could deepen my knowledge in procedural generated content? I understand I always can read random tutorials (what I'm doing) and try to glue something from them. But maybe you have advises or more guided content as books, long tutorials, courses?
Thanks.
[1] https://heredragonsabound.blogspot.com/2020/02/the-forever-p...
[2] https://bfnightly.bracketproductions.com/rustbook/chapter_0....
comment 4y ago · link · parent