• 2 Posts
  • 17 Comments
Joined 1 year ago
cake
Cake day: June 3rd, 2023

help-circle


  • I start with a bus leaving enough headroom for multiple stations in the top part and a mall close by.

    After trains, first I bring ores and then I start building minifactories for dedicated production drifting away from main bus.

    When bots are available I start by converting the mall and then the main base is turn more or less into city blocks, but keeping the main bus.

    Not as extreme as this but you can get the idea.

    Fot the moment, it has worked everytime (including K2, let’s see how it goes with current run of B&A) and the main plus (IMHO) is that I don’t end up with a base that looks the same every run.




  • This is the simplest I’d do:

    • Have a dedicated refueling line. This one is a bit special and probably with a 1-1 train it’ll be enough. This line should go from “fuel pickup -> fuel drop off”. Maybe, down the line, more than one refueling train will be needed. Your fuel drop off should refuel this line first. This way, as you progress you just need to change what’s in “fuel pickup” and all your trains will (eventually) use your new fuel.

    • Have a* refueling area where all your trains are refueled. Think of having 5-10 (as many as you need) stations in parallel, all canned exactly the same (i.e “Refuel”) *These stations might become a traffic bottleneck so you might want to have a few returning areas scattered around. For automatic schedule you can use a few seconds of inactivity as a condition.

    • Have a parking area. Think of 10 stations all named exactly the same (i.e. “Parking”). These might also become a traffic bottleneck so you might want to have a few of these areas scattered around. Use no condition in the schedule, so trains won’t stop unless they have nowhere to go. It’s important to consider these areas, as you don’t want a train which can’t pickup anything blocking a refueling station.

    • Name every pickup station type exactly the same (i.e. 1-4 Iron Ore Pickup) Use amount of material in the station as a condition to set train limit (and not enable/disable station). You can use circuits to set exactly the number of trains you can serve but I usually don’t bother. If you can request 3 trains, you need to make sure that there’s space to park 2 trains by the station where they won’t interrupt traffic. I did it simpler to just have multiple pickup stations in parallel and depending on waiting material request 1 or 0 trains. As multiple trains would be waiting anyway, I prefer them being loaded. This might not be the most efficient way but I think it’s simpler. For the scheduler you’d use full cargo OR Time passed. If a couple of minutes have gone by, have the train depart and not wait anymore.

    • Name every drop of station exactly the same (following the iron ore example, 1-4 Iron Ore Drop Off) As schedule conditions you’d use Empty Cargo OR Time passed. If a couple minutes go by, have the train depart and not wait anymore. You’d use circuits to keep requesting trains until the station has stopped as many material as you want. Keep in mind that if you request more than one train, you’ll need space for the remaining trains to wait without interrupting traffic.

    Your train schedule should look like (adjust times add needed):

    • Refuel: Inactivity > 5 sec
    • Parking: No conditions
    • 1-4 Resource Pickup: Full Cargo OR Time Passed > 60
    • 1-4 Resource Drop Off: Empty Cargo OR Time passed > 60

    You can repeat parking, pickup, drop off a few times to minimize refueling (be careful not to do this too many times so your trains spend all their fuel before refueling) If you do, remember that after drop off you should always go to parking.

    Once you have the schedule set up for a train, you can copy it with shift+right click and paste with shift+left click.

    Finally, it’s important to use train limit instead of enable / disable.

    Using the former, over a train has departed, if the station changes and requests 0 trains, the train will keep going.

    If you use disable, if a train departs and the station becomes disabled, the train will stop in the middle of nowhere, potentially causing a gridlock.

    PS: I usually name my stations with the type of train, so if later I decide to bring ore from an outpost far away, I can make a few exchanging hubs with 3-8, 4-16, … bringing materials and 1-4 distributing then around the base



  • kimli@lemmy.mltoAsklemmy@lemmy.mlTips for a new user!
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    1 year ago

    If you know of a community and you can’t find it in all, paste the whole URL in the search field ( https://lemmy.ml/c/linux ) and then you can subscribe.

    This indicates your instance there’s someone interested in this community and it’ll start getting future content

    Only the first user would need to do this, for those after, the community will show when searching in all

    Edit: autocorrect


  • This is not complete by any means but this is what I did (recently):

    • Explore around: Currently there’s an influx of new user and communities (subreddits) being created. Total users has doubled (give it take) in 10 days. Active monthly users has increased 6x in the same 10 days
    • Try to engage: For many (most?) of us this is a brand new place. Not so long ago it felt rather quiet (I remember taking a look a few months back and thinking “It’s a cool idea but there’s not enough content”) As a forever lurker, this has been easier said than done. The vibe I get (YMMV) is from early Slashdot / Slashdot clones, only much more vibrant. I haven’t seen something similar in a really long time
    • Missing content? Either you wait (keep exploring) or become proactive. Even if you intend to hand it over down the line, create/start building any community you are missing. For those that are joining after you, it’s reassuring having a moment of “Hey, here there’s also interest in $RANDOM_THING”
    • Be aware of size: Recently I was taking about this. Some "not so large subreddits " have 10x users subscribed as users in the whole “lemmyverse”? “lemmy ecosystem”? (I’m still not sure how it’s named)
    • The system is quite new and has had a sudden explosion in popularity. Be prepared to see some rough edges here and there.

    A couple of things that might be odd to get your head around:

    • Instances: Although you can think of instances as a “whole reddit” they all work together. Both of us are on different instances and I’m commenting on your post. I’m not even sure without scrolling on which server resides the post
    • Fediverse: The collaboration is not constrained to instances alone. I was engaging (from Lemmy) with a post originating on a different platform (kbin) and checking how it looks on a third platform (Mastodon). The analogy might be bad, but think of commenting from Reddit on a post originated on digg and checking how you see/comment on it from Twitter.

    But the most important part, enjoy your time here



  • At least, I understood it in some other way.

    With some “back of the envelope” calculations (using Reddit provided revenue and user number) Reddit’s revenue (not earnings) / user month is $0.12 , around $1.4 user/year

    In the case of Apollo, the “intended” revenue per Apollo user would be $2.5 per user month, around $30 user /year

    From the body of the post, search for the following header: Why do you say Reddit’s pricing is “too high”? By what metric?

    The $20 Million is what would cost to continue using the API with the intended price point.

    Also, $500.000 year would be revenue, not earnings. As I understood, he’s not a “solo” developer working in his basement. There’s people and infraestructure to pay from that number (I don’t know neither how many people nor how much costs “keeping the lights on”, but anyway, I don’t think those numbers are relevant)

    My own opinion: Let’s say Reddit’s break even point is around the Apollo’s intended cost / user. That would mean that with a revenue of $0.12 per month * user, Reddit would be losing around $800 million / month. That’s close to $10.000 million / year. Even as a ballpark figure, I find it suspicious to say the least.

    BTW: I’ve never used Apollo. RIF user from long long before they had to change the App name



  • It’s been a few years since I used keepalived so my knowledge might be outdated.

    You are correct that the VMs should be in different servers. To test around you can set up on the same, but this shouldn’t be done in production environments, if you lose the host, you lose the service.

    Keepalived will make sure your service is available in an IP. To say, you have two (it can be configured for more than two) servers with (A) 192.168.0.2 and (B) 192.168.0.3 which provide the service you want to provide. With Keepalived you’ll configure a common IP for both of them, let’s say 192.168.0.4

    While working, server A will be available at 192.168.0.2 and 192.168.0.4 while server B will be available at 192.168.0.3. If server A fails keepalived will “move” 192.168.0.4 to server B, so 192.168.0.2 will not be available and server B will be available at 192.168.0.3 and 192.168.0.4.

    No matter which server is up / primary, your service will always be available at 192.168.0.4

    For the mirroring part, you need to solve it in another step outside from keepalived. For example, MariaDB provides multimaster replication “out of the box” with galera (the recommendation is at least 3 nodes)

    For files, depending on your filesystem you should have to rsync, use some shared units, distribute filesystem (Ceph), …



  • I’ve been using Namecheap for personal domains for around 10 years now. Since a few years back, privacy guard is included in the domain price (at least for .com domains) so your name, address, … won’t appear directly on whois queries.

    As it’s just one domain, (longterm) pricewise I don’t think there’ll be a big difference with any of them. 1 or 2 € per year, maybe. It’ll be more important to check longterm price of the domain (.com / .io / …), as you’ll probably find some offer for the first year.

    FWIW, namecheap publishes a recurrent offer around 10th October (apart from some random offers every once in a while) If you go with them, you can register for one year and renew the domain for a longer period when you find an offer.





  • As an RPG game I think Neverwinter Nights is worth taking a look (you might have even played it when it was brand new) There is an enhanced edition that was first published a few years back that among other things, brought back online gaming without having to mess around. I think the community fits the bill nicely and in some groups you might not even be among the oldest.

    Although you can play it solo, it’s at multiplayer where it shines. Also, apart from official content, there’s a ton of community content, some of it far better than official one.

    Factorio has been also mentioned. Think of puzzle / problem solving / logistics / base building kind of game. There’s a playable demo (probably >10 hours worth of content but I can’t say for sure, I didn’t need so long to decide it was my thing) so you can check it out before purchasing.

    Additional info :

    • First game, try to go in as blind as possible (no tutorial/videos, walkthroughs, …) You can only beat the game for the first time /without prior knowledge once
    • You can find the game referred as cracktorio. For many, the main cost of the game is not the purchase, but the electricity needed to run it for so long
    • You can play it without bitters (enemies) so there’s no rush in completing it. You just build as you see fit

    I would also add Minecraft, Terraria, Stardew Valley for the chill factor.

    You shouldn’t have problems with any of these games on your laptop.