• 0 Posts
  • 15 Comments
Joined 1 year ago
cake
Cake day: June 2nd, 2023

help-circle







  • Are you playing bedrock or Java? How much do you know of the core mechanics, such as Efficiency, different tools, or Beacons? The game does not make it clear, but you need to switch tools to mine different blocks, or mining them will take forever.

    Generally, in Survival, you need an Efficiency V diamond pickaxe with a Haste II beacon to “insta-mine” stone, but a mere Efficiency III diamond shovel will do the same for gravel and dirt. That said, any levels in efficiency will greatly speed things up.

    It can be a fun challenge to search for diamonds and lapis to use the enchanting table (though spending hours accumulating resources like bookshelves just to suffer from bad RNG on enchantments can be frustrating). However, if you are just looking to get started building, don’t feel bad about popping into Creative to give yourself some Efficiency books, an anvil, or a beacon, unless you are interested in grinding out the whole game.


  • The generalized approach in industry is to use API calls, and create classes to structure the data you receive as JSON or XML. At that point, it is entirely up to you how to format and display the data from your classes. Take a look at some of the Lemmy client code like Mlem, Memmy, or Voyager as examples. Though they have gotten more complicated, they all follow this client-server model for front end development.

    However, due to recent shenanigans around API and RSS by companies, mostly those looking to prevent AI companies from using their data for free, the alternative, much worse method is to take the HTML output from a standard web request, and try to reverse engineer the page information into a class structure. This sucks, breaks frequently, and requires you to code around ads and other junk on pages in order to get at the content.




  • You are trying to solve two different, but related problems, and there are discrete solutions for both.

    One is a personal cloud. You need a secure place to store your shit from multiple users and devices, from multiple networks. You’ll need a mostly static IP and dyndns or your own domain, and certificates signed by a public CA/letsencrypt.

    Then, you are looking for a backup application that supports rsync or sftp/scp over ssh or vpn, that is also cross compatible (Android and PC/Linux). Point this to the service above, and you are good to go.


  • This.

    At some point, you need to be able to quantify the risk to your business before you can do this.

    For instance, if your business earns $10 per transaction, and you perform 100 transactions per second, the difference between five and six nines (313 seconds vs 31 seconds) is $282,000; nowhere near enough to justify the added investment.

    Edit: Important to note that for the first example, these are already enormously huge numbers. Such a business, assuming no holidays or weekends, would be grossing $31.5 billion per year, in the same ballpark as Oracle and Coca Cola.

    So when we say the company is losing 282,000, this is a tiny, tiny fraction of revenue. Even 99.5%, which is almost two days of downtime, would “only” be a loss of 0.5% of all revenue for the year. Sure, this is $157M, but even that would probably not cover the cost of a six nines infrastructure (that said, they could save up to $120M per year by achieving 99.9%, which would be worth exploring).