News for hackers. Stuff that matters.

its_nikita

Re:Peter the Great’s Beard Tax on Tuesday July 27, 2021 @12:39PM (#27974465)
I cannot recommend this book enough to anyone interested in history/russia/ or good stories in general:

https://www.harvard.com/book/peter_the_great_his_life_and_wo...

Peter the Great's life is extremely interesting, and that book, while being a biography, honestly reads like an exciting novel. There are so many "game of thrones"-like moments in his life.

Re:Seizing the Middle: Chess Strategy in Business on Monday June 14, 2021 @01:08PM (#27505146)
> Unsurprisingly, other oil companies had no hope of offering lower or even equivalent rates and still making a profit. If any of them seemed like they might pose a threat, Rockefeller could use his influence over the shipping companies to restrict their ability to transport oil.

The chess analogy is interesting, but I'm not sure it applies to Rockefeller. If anything, his strategy is closer to cheating than actually being good at the game.

Re:The Not-Forking Tool on Sunday June 13, 2021 @01:39PM (#27494504)
Hey cool project. I had the same problems so I made a similar tool: https://github.com/nikita-skobov/monorepo-git-tools

The idea is that you can have a set of files/folders in your repository that map to an external repository, and you can contribute updates, and also receive updates back and from the external repository by filtering a temporary branch, and then rebasing the changes.

I looked through the documentation and I see you have "Git rebase cannot solve the Not-Forking problem space. Neither can Git submodules."

Could you elaborate on why you think git submodules cannot achieve this?

My understanding of git submodules is that they offer a solution to this problem of external repository sync, although in a not very convenient way.

Re:Ask HN: Do you run apps bare metal? on Friday June 04, 2021 @11:02AM (#27394274)
Not sure if this is applicable to your case, but if the application is/can be used by an end user, then having it available as a Docker image can be really useful to the user, and reduces friction to try out your program.

Many times while looking through a project I find on GitHub, if they have a docker image available to try it out, I can try it by running a single command. But if they have more than 3 installation steps, I usually pass.

Re:Have you ever hurt yourself from your own code? on Wednesday May 26, 2021 @11:04PM (#27298891)
This would be the case for 16 bit samples (which all of my files were, and most WAV files are nowadays), but for 8 bit samples, it would be correct to remove single zero bytes. Basically I just have to follow the spec more closely
Re:Have you ever hurt yourself from your own code? on Wednesday May 26, 2021 @09:07PM (#27298160)
Yeah I was kind of confused about this when I was reading through the spec trying to figure out what went wrong. I wanted to touch on this in the blog post, but I wasn't able to find a good resource explaining the advantage for mixing endianness in a file format.
Re:Have you ever hurt yourself from your own code? on Wednesday May 26, 2021 @08:46PM (#27298044)
That's a good story. Yeah I feel like there must be soo many more opportunities to physically damage/harm something from robotics than software alone.
Re:Have you ever hurt yourself from your own code? on Wednesday May 26, 2021 @08:36PM (#27297955)
Haha yeah. I've definitely "harmed" myself in the form of time lost from deleting files/messing something up on my computer, but I think this was the only time I've actually experienced physical pain from my own bad code.
Re:Show HN: A Cryptic Hunt Website on Wednesday May 26, 2021 @12:18PM (#27292417)
Wow, the site is very clean and smooth. Nice job