• 0 Posts
  • 104 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.














  • Laura Chambers, who stepped into an interim CEO role at Mozilla in February, says the company is reinvesting in Firefox after letting it languish in recent years,

    It’s sort of amusing to me that Mozilla would let the Firefox browser languish. Is that not the raison d’etre of your entire organization? What are you doing with your time and effort if you are allowing your core product to languish? What would people say if Microsoft said “yeah, we’ve allowed windows to languish in recent years.” What an insane notion.


  • This is basically correct but i would add sometimes it’s better to add chips than to add mult. For example, if your score is something like:

    10 x 50 = 500
    

    Adding +50 mult here would give you 10x100=1000 points. Adding +50 chips will give you 60x50=3000 points.

    Adding to the lowest of the two numbers improves your score the most. Especially early game, mult is much lower than chips, so you want to improve mult. However once you have some good mult jokers improving chips becomes important. Especially in high card based decks, where you get very few chips from your hand.

    If the multiplier jokers come in, the picture can change again. It makes adding mult more valuable because the addition will be multiplied.



  • 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.