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

help-circle
  • Security is there to make sure you’re not carrying illegal stuff, as long as that’s fine, the only time they maybe check the id is before giving you the boarding pass.

    Looks like the guy didn’t have a boarding pass altogether, so not sure how he got into the plane.

    There is usually a person or an automatic gate that checks your pass before allowing you through the plane. However that’s more like a ticket check and to make sure people don’t get on the wrong planes, it’s probably not super hard to get around.










  • Yes, it’s very efficient and the core of what complession formats like .zip do.

    The main difference to your idea is that computers count in binary like 0, 1, 10, 11, 100, 101 and so on and that you don’t want to assign these very low codes words directly. Say you’d have assigned 1 the most common word, then that will would be encoded very short, but you’d sort of take the one away from all the other codes, as you don’t know if 11 is twice the most common word or once the 11th (3rd in decimal) common word.

    Huffman essentially computes the most optimal word assignments mathematically.

    The main other difference between your suggestion and most compression algorithms is that you wouldn’t use a huge dictionary in real time and loading it and looking into it would be very slow. Most compression algorithms have a rather small dictionary buildin and/or they build one on the fly looking at the data that they want to compress.





  • Basic recipe for nice tofu:

    • freeze the tofu. This is important as it changes the structure (it becomes dryer and more “meaty”), this is a common technique in asia.
    • after unfreezing it, dry it with paper towels or something like that, cut it into die sized cubes if you want, sprinkle it with potato starch and fry it in a wok or hot pan with some oil. It should get brown and crispy.
    • sprinkle a few drops of Japanese soy sauce on it while it the pan and continue to fry it. The soy sauce adds taste and makes it caramelise.
    • add cooked rice, vegetables or whatever you want.

    You can leave out some steps above. Without the freezing the texture won’t be as firm, without the starch it won’t be as crispy and without the soy sauce it won’t taste as good. I’m just saying that because sometimes it has to go fast or you’re missing ingredients, so you can compromise if needed. Doing all is of course best.