Hacker Newsnew | past | comments | ask | show | jobs | submit | jmkjaer's commentslogin

A unit of work is not necessarily a class, but rather its methods. The linked article states that

> A unit of work is a use case in the system that startes with a public method and ends up with one of three types of results (...)

I use the same naming as well, and I really like it.


It took me a few seconds to parse what UnitOfWork meant in this context because that’s also a pattern for carrying e.g. database transactions through to different dependencies. E.g. in C#:

    using var uow = UnitOfWorkContainer.Begin();
    await SomeDep.Save(foo); // internally uses the uow's transaction
    await SomeOtherDep.Save(foo2);
    uow.Complete();


Yup, that’s what a unit of work is to me too. It’s a well-known design pattern, so overloading that term for testing seems ill-advised.


I have mine on a shelf. When visitors ask me what it is, I tell them about all the awesome things you can do with it. It's great until they ask me what I use it for currently.


That was true but isn't anymore. MobilePay is now part of a Norwegian company, Vipps, which is owned by a consortium of Norwegian banks (65% ownership), Danske Bank (25%), and Finnish OP Financial Group (10%).


I understood the intent of it being just a local change and not submitted. You're right that submitting it would be a bit more involved, and other people would probably protest, since the prompt was added deliberately, so why not just keep it local?


The author of this article, mzrnsh, responds to comments here, but they are "dead" and can't be viewed without being logged in and activating "showdead" in profile settings, which is unfortunate. I don't have enough karma to vouch for them to be unflagged.


It's best when someone lets us know at hn@ycombinator.com so we can take care of it. I only saw this randomly.

That account was caught in a software filter; those are tuned more strictly for new accounts. I've marked it legit so this won't happen again. In the meantime, users vouched for all the comments—that's good. (More info on vouching: https://news.ycombinator.com/newsfaq.html#cvouch.)


vouched.


Thank you both


I really like this story!

> I said I could build it over the weekend. It was Friday.

I wonder how long the ideation phase took. I know a fair number of people, myself included, are bad at defining "true" MVPs, and it takes time to cut an idea down to the bare minimum. I would definitely not be able to do that AND implement it in a weekend.


Glad you like it!

I think the key here was that there was no "ideation" phase. We just got to business right away. And we were really, strictly limited with time.

I have worked on a dozen, maybe more other MVPs (where I got paid, as that's what I do for a living). And I don't think I have any other MVP story worth writing about.


This is cool! It's interesting to see how programs handle this - the thumbnail in a specific gallery app on my Android phone is the first "frame", while it's the finished image in my file explorer.


Seems like Firefox Send, but it was discontinued due to it being used to spread malware. I wonder how Wormhole will combat that.


One odd thing about the Firefox Send shutdown is that the security community repeatedly asked Mozilla to add a "Report abuse" button to help take down known malware links. Instead Mozilla shut down the whole service, which was a bit extreme. So I think abuse was, at least in part, a convenient cover story for the planned shutdowns/layoffs/refocusing that took place at Mozilla at the end of 2020.

We think it's encouraging that other products that offer end-to-end encryption like Signal and WhatsApp have managed to handle abuse, malware, and other threats.


IMO they shouldn't, that's the whole point of a privacy focused service like this - no one should be able to view/inspect what you're sharing on it.


For anyone unfamiliar, Google3 is apparently Google's monorepo, according to this HN comment:

https://news.ycombinator.com/item?id=17123620



Do you have a source for this? A quick Google search shows your comment as the top result.


It's just a fun story, bro. Lighten up.

Here's the link: https://www.aftenposten.no/norge/i/VbJAr/i-nord-korea-maa-fo...


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

Search: