• 1 Post
  • 175 Comments
Joined 1 year ago
cake
Cake day: October 4th, 2023

help-circle





  • Babies do start to pick up on faces early on – we’ve got some hardwired stuff there – and on the mobiles there, the faces are away from the baby.

    https://www.whattoexpect.com/toddler/self-recognition/

    • At birth: Even though your baby doesn’t recognize you, she certainly likes the look of you. Studies have shown that even newborns, with their eyesight limited to about 12 inches, prefer to look at familiar faces — especially yours.

    • Months 2 to 4: Your baby will start to recognize her primary caregivers’ faces, and by the 4-month mark, she’ll recognize familiar faces and objects from a distance.

    Most of the complex details and shapes are facing away. Oddly, of the mobiles I see there, the few designs aimed at the baby are mostly black-and-white, not colorful, while I’d have also thought that color would be preferable.





  • tal@lemmy.todaytoGaming@beehaw.orgShmup suggestions
    link
    fedilink
    English
    arrow-up
    4
    ·
    15 days ago

    Do you have any examples of shumups that you like and any you dislike? That might help give a better idea of what you like.

    I mean, if you just want “good shmups”, it’s easy to go to Steam, search for games with the “Shoot 'em Up” tag, and sort by user reviews.

    But if you’re looking for something in particular, a list like that might help.


  • Basically every screenshot of the “lost” TUIs look like a normal emacs/vim session for anyone who has learned about splits and :term (guess which god I believe in?). And people still use those near constantly. Hell, my workflow is generally a mix between vim and vscode depending upon what machine and operation I am working on. And that is a very normal workflow.

    I use emacs, and kind of had the same gut reaction, but they do address it and have a valid point in that the IDEs they’re talking about are “out of box” set up and require little learning to use in that mode.

    Like, you can use emacs and I’m sure vim as an IDE, but what you have is more a toolkit of parts for putting together your own IDE. That can be really nice, more flexible, but it’s also true that it isn’t an off-the-shelf, low-effort-to-pick-up solution.

    Emacs had some “premade IDE” project I recall that I tried and wasn’t that enthusiastic about.

    I don’t know vim enough to know what all the parts are. Nerdtree for file browsing? I dunno.

    With emacs, I use magit as a git frontend, a compilation buffer to jump to errors, projectile to know the project build command and auto-identify the build system used for a given project and search through project files, dired to browse the files, etags and some language server – think things have changed recently, but I haven’t been coding recently – to jump around the codebase. I have color syntax highlighting set up. I use .dir-locals.el to store per-project settings like that build command used by projectile. The gdb frontend to traverse code associated with lines in a stack trace on a running program. TRAMP to edit files on remote machines.

    But that stuff isn’t generally set up or obvious out of box. It takes time to learn.

    EDIT: The “premade IDE” I was thinking of for emacs is eide:

    https://software.hjuvi.fr.eu.org/eide/







  • To clarify: I meant how do I do it via API calls,

    If you mean at the X11 call level, I think that it’s a window hint, assuming that you’re talking about a borderless fullscreen window, and not true fullscreen (like, DGA or DGA2 or something, in which case you don’t have a fullscreen X11 window, but rather direct access to video memory).

    https://specifications.freedesktop.org/wm-spec/latest/ar01s05.html

    See _NET_WM_STATE_FULLSCREEN, ATOM

    If you’re using a widget toolkit like gtk or something and writing the program, it’ll probably have some higher-level fullscreen toggle function that’ll flip that on X11. Ditto for SDL.

    If you mean in a script or something, I’d maybe try looking at xprop(1) to set that hint.

    I’d also add, on the “user” front, that I don’t use F11 and I think that that every window manager or desktop environment that I’ve ever used provides some way to set a user-specified keystroke to toggle a window’s fullscreen state. I’ve set Windows-Enter to do that for decades, on every environment I’ve used.



  • I think that turnips were kind of more filling the place that potatoes did.

    Then the Columbian exchange happened and suddenly Europe had potatoes and turnips got kind of displaced.

    https://www.washingtonpost.com/history/2018/10/08/christopher-columbus-potato-that-changed-world/

    Before Columbus landed on Hispaniola, the European diet was a bland affair. In many northern climes, crops were largely limited to turnips, wheat, buckwheat and barley. Even so, when potatoes began arriving from America, it took a while for locals to realize that the strange lumps were, comparatively speaking, little nutritional grenades loaded with complex carbohydrates, amino acids and vitamins.

    “When [Sir Walter] Raleigh brought potatoes to the Elizabethan court, they tried to smoke the leaves,” Qian said.

    Eventually, starting with a group of monks on Spain’s Canary Islands in the 1600s, Europeans figured out how to cultivate potatoes, which form a nutritionally complete — albeit monotonous — diet when combined with milk to provide vitamins A and D. The effects were dramatic, boosting populations in Ireland, Scandinavia, Ukraine and other cold-weather regions by up to 30 percent, according to Qian’s research. The need to hunt declined and, as more land became productive, so did conflicts over land.

    Frederick the Great ordered Prussian farmers to grow them, and the potato moved to the center of European cultures from Gibraltar to Kiev. "Let the sky rain potatoes,” Shakespeare wrote in "The Merry Wives of Windsor.” Their portability made them ideal to transport into the growing cities, feeding the swelling population that would be needed for a factory labor force.

    “It’s hard to imagine a food having a greater impact than the potato,” Qian said.