• 2 Posts
  • 68 Comments
Joined 2 years ago
cake
Cake day: June 26th, 2023

help-circle

  • As already mentioned, the blue book by Evic Evans is a good reference, but it’s a ittle dry. Vaughn Vernon has a book, “Implementing Domain-Driven Design” that is a little easier to get into.

    Personally, I found that I only really grokked it when I worked on a project that used event-sourcing a few years back. When you don’t have the crutch of just doing CRUD with a relational database, you’re forced to think about business workflows - and that’s really the key to properly understanding Domain-Driven Design.


  • I’ve always understood DRY to be about not duplicating concepts rather than not duplicating code.

    In the example here, you have separate concepts that happen to use very similar code right now. It’s not repeating yourself as the concepts are not the same. The real key is understanding that, which to be fair, is mentioned in the article.

    IMO, this is where techniques like Domain-Driven Design really shine as they put the business concepts at the forefront of things.





  • JonC@programming.devtoFactorio@lemmy.worldHow is everyone doing?
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    3 months ago

    Yeah, that’s my dilemma. I wouldn’t say I can support a stready stream of rockets with LDS and blue circuits yet.

    I have a nice ratioed 45 SPM starter build set up, but because it’s all ratioed then if I’m researching yellow science I don’t have a lot spare to go towards rocket production.

    I think I might add a few more resources without going too crazy and then head to Vulcanus. Building a proper smelting setup with foundries seems very cool.

    Will be next week before I get to that point though.


  • I’ve got all the Nauvis sciences automated as well as getting my first space platform set up. That’s sending a steady stream of space science down now.

    I’ve put in quite a few hours over the first two days, but won’t be able to play for a while now.

    Currently torn between trying to set off for another planet or scale up my Nauvis base to better support things going forward. Former seems more fun. Latter seems more sensible!






  • It’s not necessarily how far things are, it’s that you need a car to get to places in a sensible way.

    I’m a fellow Brit, but have stayed in suburban US enough to have experienced how different it is. You might have a supermarket a couple of miles away, but if you want to attempt to walk there, you’ll often be going well out of your way trying to find safe crossing points or even roads with paved sidewalks.

    Train stations are mostly used for cargo in most US cities. If you don’t have a car, you’re pretty much screwed.

    Some cities are different. NYC being the obvious one. You can get about there by public transport pretty easily in most places there. San Francisco is another city that is more doable without a car, but more difficult than NYC.

    I stayed near Orlando not too long ago and there it’s just endless surburban housing with shops and malls dotted about mostly along the sides of main roads. You definitely need a car there.








  • I mean, why does anything have value?

    In the strict financial sense, something is only worth what somone else is willing to pay for it. That’s the whole premise of financial trading. Getting a bit beyond ELI5 now, but most exchanges use something called a Central Limit Order Book (CLOB) to let the participants in the market see who wants to buy and sell what and for how much, and also to match those buyers and sellers. This is a good intro: https://optiver.com/explainers/orders-and-the-order-book/

    In terms of shares in companies, then they do have some fundamental value according to the market. If you buy a share in the company, you get a share of the profits (paid as dividends), which gives those shares some value. Obviously, there’s a lot of speculation too as people are involved, so emotions and wild predictions can come into play!

    Financial instruments that get traded aren’t limited to shares in companies though. There are all kind of other financial instruments that get traded every day, some are pretty basic like buying and selling different currencies. Others involve all kinds of crazy financial engineering , like the sort that caused the crash in 2008!

    Most have some fundamental value based on their attributes, so it’s a little different to the likes of an NFT. The big issues come if the values that the market has agreed upon don’t match reality, which is what happened in 2008.