Hacker Newsnew | past | comments | ask | show | jobs | submit | macro-b's commentslogin

At my previous big tech employer we used to have a mercurial layer on top of our legacy version control system. I loved it, much simpler and more clear than the typical workflows I have to deal with in git. I get it that with git you have more power, but do really most teams need that?


Mercurial wasn't as simple as Subversion. But with hg I still felt like understanding 80% of what the tool had to offer and actually being able to mold the timeline the way I wanted.

Git has so many gotchas, bells and whistles that whenever I'm doing something out of the ordinary I'm wondering if there isn't an easier / canonical / smarter way I should be doing it.


There was a quote somewhere about Mercurial having a mental model small enough you can fit in your head - and that was the big win for me.

It was also fast and had very clean, easy to contribute to code. I remember submitting a patch and getting a bit of Python education from Matt, which was very useful.

Git is fine but it's inconsistent enough in the interface department, even after all this time, that I still get regularly frustrated. On the other hand, you can't just break a workflow that already exists and I very much appreciate it scales to work far beyond mine.

I do like that the git people are doing the difficult work of improving the UI over time - it's hard to change the engines while the plane is flying!


git's mental model is very, very small, if you care to learn it. Then all the commands and their "inconsistencies" start to make sense - they operate on the model almost without any magic, and not on whatever is user's intent (it can vary a lot)


> Mercurial wasn't as simple as Subversion.

What? Subversion is by far the most complex versioning software I've ever used.

> Git has so many gotchas, bells and whistles

The Git UI leaves a little to be desired. But inside, Git is basically just blobs, trees, commits, and refs. It'd be hard (or impossible?) to find a conceptually simpler versioning system.


Subversion pre-1.5 was a nightmare. Branch merges were by convention in commit messages. To merge 20 commits from your branch, you would do `svn merge -r 125:140 /branches/my-feature` and then note in the commit message which range you merged.

1.5 made that tracking automatic but just shoved it into a metadata field that just percolated through every directory in a project.

And if someone tried to rename a core path? In the distance, sirens.


You're right about SVN's guts vs Git. I should have been clearer that I was referring to the client cli only.


Just an example that I recently noticed when I briefly had to use svn again:

Show a diff: svn diff / git diff

Show log with diffs: svn log --diff / git log --patch

Git calling the same or similar things different (or just terrible - tree-ish? ref?) names is one of the worst things about Git.


I found that doing anything even slightly unusual in Git was pretty incomprehensible until I learned its internals, and pretty easy once I did. Fortunately as you say the internals are conceptually pretty simple to learn.


Git doesn't give you more power, it just makes their internals your problem.


Do you actually even have more power with git?


Unless git has some hidden way to do changeset evolution (maybe with jujutsu on top?) then no - I'm pretty sure git is strictly less powerful than hg these days.


No, it's the opposite


It’s more about regulations rather than development. It’s forbidden here, so taxi drivers can still make a good living rather than subsidizing a billion dollar company


At the moment it runs without an internet connection after you download it the first time


That seems quite doable but it would require a backend to store the OAuth


Public sheets don't require oauth, i am using public sheet as test url to display csv in my tool.


That is my plan, but hosting on something that’s subject to US regulations seems like a problem and limits options quite a bit.


Use an EU-based host, it should be better.

You might even have to host different versions in different regions if you want to be fully compliant in all countries with their versions of GDPR.


One extra buzzword and they would have done bingo!


If anyone is interested in working on this topic there is an opening in the team

https://careers.google.com/jobs/results/107740695336231622-s...


A dynamic system is a system whose evolution doesn’t simply depend on its input at time t, but also to its internal state. In this case the wealth at time t does not simply depend on the outcome of the coin toss, you also need to know the value of the wealth before the coin toss.


A dynamical system is typically 100% internal state. It's just

1. A state space X

2. An evolution map f: X -> X

3. A measure \mu on X, preserved by f (such that f_*\mu = \mu) and where \mu(X) = 1.

To represent a series of i.i.d. random variables you can typically just represent them as a sequence of values with a joint probability distribution as the invariant measure.

If you've got a space X of such sequence you can also add the current value to it to get IR x X, with a map f: (x,t) -> x * 1.5 if t[0] is heads & x * 0.6 otherwise. But you'll have to tell me it's invariant measure because I can't come up with one.


“Select all elements from catalog” did not work...


I tried English and Italian and I was a bit surprised... my son’s name which is Leo and valid in both languages wasn’t there... while there were at least dozens of names so archaic most people would never hear them in reality! Not sure where you got your sources


I just goaded my Italian partner with a link to the page containing our toddler's name - we agreed on the name itself, which is known in both countries, but not the exact spelling.

I was pleased this page preferred my interpretation, so as an asshole Scot, I was quick to share it.

Her response was less than enthused...


I checked French & Italian and the data source is rather bad : Bonny ? Blondene ?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: