• 0 Posts
  • 28 Comments
Joined 1 year ago
cake
Cake day: August 3rd, 2023

help-circle

  • You now need to remember his velocity, his position on the map, the direction of his flight, his altitude, his plane’s weight and who knows what else, I’m not a pilot.

    You’re not wrong per se, but I’m having trouble fathoming gigabytes of data being consumed by these types of parameters. You could probably track hundreds of thousands of airplanes with that much space. The only thing that I could imagine taking up that much memory is extremely detailed airflow simulation.

    However, as a rule of thumb, the vast majority of memory data for video games is in most cases textures and geometry, and not so much the simulation. Based on the article, it seems this game streams high resolution geometry data based on your current location on earth, which I would say is the most probable reason it asks for so much memory.








  • Reddit would become just another instance with no API control

    Being that large of an instance gives a lot of api control all by itself. Theoretically Chrome is just another browser and member of WHATWG. in practice, if they implement something it immediately becomes a de facto standard. Reddit would be the same.

    I wouldn’t bet on Huffman’s exit doing anything of consequence either. Reddit is now under the control of investors who want a return. One way or another, monetisation of users will increase.


  • is-number is a project by John Schlinkert. John has a background in sales and marketing before he became an open source programmer and started creating these types of single function packages. So far he has about 1400 projects. Not all of them are this small, though many are.

    He builds a lot of very basic functionality packages. Get the first n values from an array. Sort an array. Set a non-enumerable property on an object. Split a string. Get the length of the longest item in an array. Check if a path ends with some string. It goes on and on.

    If you browse through it’s not uncommon to find packages that do nothing but call another package of his. For example, is-valid-path provides a function to check if a windows path contains any invalid characters. The only thing it does is import and call another package, is-invalid-path, and inverses its output.

    He has a package called alphabet that only exports an array with all the letters of the alphabet. There’s a package that provides a list of phrases that could mean “yes.” He has a package (ansi-wrap) to wrap text in ANSI color escape codes, then he has separate packages to wrap text in every color name (ansi-red, ansi-cyan, etc).

    To me, 1400 projects is just an insane number, and it’s only possible because they are all so trivial. To me, it very much looks like the work of someone who cares a lot about pumping up his numbers and looking impressive. However the JavaScript world also extolled the virtues of these types of micro packages at some point so what do I know.




  • The numbers are different because the site doesn’t naively count every line but merges some as a single package. For example, at the very top of the Debian list we have 0ad, 0ad-data, 0ad-data-common. These are all counted as one single “package.”

    One might argue that doing the comparison in that way is more useful to an average user asking “which distribution has more software available.”





  • It really is as simple as blending rolled oats and water in a 1:4-ish ratio for 30 seconds or so, and straining the result twice. Adding sugar is optional. It stores pretty well in the fridge, maybe up to 5 days. Trust your nose!

    Personally I don’t make it very often, as my main use for milk is in cappuccino, and plain oat milk doesn’t steam very well. The barista editions you can buy have some added extras (fat, sugar, proteins, stabilisers) to improve the characteristics for steaming.

    I totally understand the convenience factor of store-bought too. If you don’t have a blender on standby it’s a bit of a hassle. And the store bought stuff is shelf-stable for weeks when sealed.


  • There’s a couple reasons behind this:

    • Economies of scale. Oatmilk is not nearly as big of a market and therefore tends to be more expensive per gallon
    • Dairy subsidies. Dairy farmers can be pretty heavily subsidized, depending on the country, making the milk artificially cheap
    • Marketing. Oatmilk is mostly consumed by upper middle class (sub)urban folks who have enough disposable income to worry about things like animal welfare and the environment, and thus are willing to pay a premium for eco-friendly products. Companies know this so a lot of oatmilk is positioned and priced as a premium product.

    In a way it’s sort of disgusting that capitalism is exploiting your desire to save the planet for extra profits, however that’s how it is generally designed to operate: nothing happens unless there is a profit to be made from it.