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

help-circle



  • Technically there is no Hi syllable in Japanese either. There is ひ, which phonologically is neither “Hi” nor “Fi”, but somewhere in between. The exact pronunciation varies depending on surrounding sounds, as well as the speaker’s regional accent.

    So I wouldn’t say they really use WiHi. They write WiFi and they say “ワイハイ” which is the closest you can get to WiFi using Japanese sounds. It will kinda sound like WiHi to an English speaker.


  • Microsoft and the European Commission agreed to an initial period of five years. That ended in 2014, and the measure was not extended mainly for two reasons:

    1. Data showed the selection screen had had essentially no effect on browser market share whatsoever.
    2. This period was basically the height of browser competition, with Chrome, Safari, IE, and Firefox all showing significant market share.

    With competition in the browser market seemingly healthy, and the browser ballot not doing much to affect it, it was seen as pointless to keep requiring Microsoft to display it.



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







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


  • VW is good at making cars, but bad at software. They’ve had to delay the introduction of new models (Golf, ID.3) because of software issues. Rivian has sort of the opposite problem: their production lines sit still often because of problems in the supply chain.

    Volkswagen has the expertise to solve Rivian’s production and supplier problems, and the cash they will need to survive and develop some cheaper models (the EV market is stagnating right now for a lack of budget options, and Rivian only sells trucks and SUVs). And they’re hoping Rivian software engineers can help them fix their software woes.




  • Honestly, I think it may be possible to build entire roads with enough crushed metal elements in the asphalt/concrete and a slight low power charge throughout the entire surface would be able to keep any vehicle battery at a steady charge.

    You might be underestimating how much power a car consumes while driving. For example, a Tesla model 3 has an efficiency of about 130 Wh/km in mild weather at highway speeds. Assuming that on the highway you’ll travel 100 km/h, that means you’ll use 130*100 = 13.000 Wh/h, a constant power draw of 13kW. That’s enough to power perhaps 8-12 houses on average.

    A km of road could have, let’s say, 200 cars on it (4 lanes, 20m per car). That means you’d need to pump about 2.6 megawatts of power into every kilometer of road to keep them all topped up.

    EDIT: fucked up math



  • That doesn’t mean energy has a weight.

    No, it literally does mean that. If you put light in a box of mirrors the total weight of the box will literally increase by an amount equal to the energy of the photons. If you put some radioactive material in a theoretically perfectly sealed box from which no heat or light could escape, and weigh it while it decays into radiation, the weight will not change.

    This applies to all forms of energy. A spring is heavier when compressed. An object gets heavier when you spin it, or heat it up. Sunlight hitting the earth most definitely makes it heavier. In fact, the sun hits the earth with about 4.4*10^16 watts of power, corresponding to about 0.5 kilogram per second.


  • A git branch is just a pointer to a commit, it really doesn’t correspond to what we’d naturally think of as a branch in the context of a physical tree or even in a graph.

    But as the article points out, a commit includes all of its ancestors. Therefore pointing to a commit effectively is equivalent to a branch in the context of a tree.

    Some other version control systems like mercurial have both a branch in a more intuitive sense (commits have a branch as a bit of metadata), as well as pointers to commits (mercurial, for example, calls them bookmarks).

    I mean, git has bookmarks too, they’re called tags.