TechNom (nobody)

  • 0 Posts
  • 75 Comments
Joined 1 year ago
cake
Cake day: July 22nd, 2023

help-circle

  • This is clearly intended as an alternative to submodules.

    An alternative, not a replacement. Vdm is specifically designed to track code dependencies. There are use cases like monorepos where vdm won’t work.

    Neither does Git though. I’m not really sure I follow your point.

    Git does track submodule history unlike vdm.

    By default, vdm sync also removes the local .git directories for each git remote, so as to not upset your local Git tree.

    Git submodules don’t delete those .git directories. It uses them.

    If you want to change the version/revision of a remote, just update your spec file and run vdm sync again.

    This is not how git submodules or subtrees work.

    vdm does depends on git being installed if you specify any git remote types

    Support more than just git and file types, and make file better

    Git submodules and subtrees don’t support anything other than git remotes.










  • The hack is still not fully understood and is being analyzed. It doesn’t help that Github suspended everything, including the original maintainer’s account (who is believed to be a victim of social engineering).

    Anyway, you will eventually see a post mortem. I’m willing to bet that it’s going to be as phenomenal as the hack itself. The case and its investigation is going to be a classic case study for all security researchers and security-minded users. Anyway, I doubt that the attackers will ever be found. Jia Tan, Jigar Kumar and others are going to remain as ghosts like Satoshi Nakamoto.



  • You never reach a phase when you can confidently say that you understand git. But it’s certainly possible to go from “When something goes wrong, I just delete the repo and clone it again” to “Aha! Now I can deal with most of the issues”.

    Mine was when I realized that git commands come in two flavors. Those that deal with commits as snapshots (commit, checkout, switch, reset, etc) and those that deal with commits as changes/diffs/deltas (merge, rebase, cherrypick, revert, etc). (Note: This isn’t about how git stores commits on disk). I believe that this is actually the main source of confusion for beginner and intermediate git users.



  • possibly several parents, like 8 parents

    Fun fact. Such merges with more than 2 parents are called ‘octopus merges’. The Linux repo has a single merge with 66 parents that Torvalds named the ‘Cthulhu merge’.

    Git never deletes a commit that is less than 90 days old.

    On its own, that is. Not if you do a git gc.

    Deleting a branch removes a reference to a commit, but the commits in the branch are still there.

    but you can see them using “reflog” related commands

    Reflog - one of the most underrated git commands that has the potential to save your life some day. At least one team member must learn it.



  • Peter Thiel is insolent enough to say out loud what these companies practice - ‘competition is for losers’. These quasi-monopolies aren’t here to provide the best value - quite the opposite. They want to kill all competition by any dirty tactic and then use the diminished choice to wring the customers of every penny they have. They want to extract maximum revenue by making sure that their inferior solution is the only option customers have.

    This problem isn’t solvable by market regulation alone. The world has enough a*****es around who will climb to the top of successful companies and find ways around the regulations. They’re being as bad as they can, while skirting the limits of what’s illegal. My main gripe is with the engineers, programmers, technicians and all technical creators who enable these scumbags. It’s not hard to see that supporting a proprietary solution amounts to yielding the consumers’ bargaining power to a monopoly. Despite that, they keep making these choices. For example, it’s not uncommon to hear senior engineering managers or technical-lead level employees saying, “I know that Chrome is spyware and I want to quit it. But this <stupid-webservice-at-office> works only on Chrome”. I feel like screaming at them that if they’re too incompetent to demand a change at the level they’re at, they’re in the wrong profession.

    If you’re a technical creator, your choices matter. It affects a lot more people than you alone. But more often than not, I see such creators surrendering principles in exchange for convenience. They hold as much responsibility as the market-abusers in making the world the way it is now.



  • CUDA is an API to run high performance compute code on Nvidia GPUs. CUDA is proprietary. So CUDA programs run only on Nvidia GPUs. Open alternatives like vulkan compute and opencl aren’t as popular as CUDA.

    Translation layers are interface software that allow CUDA programs to run on non-Nvidia GPUs. But creating such layers require a bit of reverse engineering of CUDA programs. But they are prohibiting this now. They want to ensure that all the CUDA programs in the world are limited to using Nvidia GPUs alone - classic vendor lock-in by using EULA.