nostr:npub15tepx7lk826fa82s683nqw85lte8mn8e2ujg2gvxavkvxl9asx9qv82c9n It shouldn't close the terminal, unless you 'source' the script instead of executing it.
nostr:npub18aaspershfy4cwjp4x5x0qzlw6pdp0ky4a9v773k8cmlselj62ascz705p nostr:npub15tepx7lk826fa82s683nqw85lte8mn8e2ujg2gvxavkvxl9asx9qv82c9n It’s a function with an exit in it, so if you execute it while in a terminal, it runs it as if you typed “exit.”
nostr:npub15tepx7lk826fa82s683nqw85lte8mn8e2ujg2gvxavkvxl9asx9qv82c9n Ha! Because it executes in the context of the current shell?
nostr:npub13klqm9frplhxwyamcpd66vp4k6w07rpm6anpk2r8tpsp5zs0hu0su2q6yp I’ll be at Dragon Con next weekend in 35C temps, and there will be tons of hot weather cosplaying that’s also not for the faint of heart.
nostr:npub10ltl3pugxhk4ht9parv2gs7fwedthv9af6epmn7au7gx7z70rv0spcvh2u Meta uses a monorepo, but because of speed problems, etc., they ended up developing their own file system and VCS so they could continue using the monorepo. https://github.com/facebook/sapling/blob/main/eden/fs/docs/Overview.md
nostr:npub1a0698hwdc05t2c96c3mduutpjfgkth0cuaxelgl8jfuzqjavfq6q7zf2lf That looks tasty!
nostr:npub14zr3e5jwdh2dgp44yc379q6g37jyt7wt7g4pvuqtzdvqhsvfjwsqpx9fx0 nostr:npub1y4s7hjcxn9e2dxakrl98taqevp8vk9fn4axpkejqcuvackcg7f6sgnvgt8 Maybe. The page for it says, “The very best managed WordPress experience with unmetered bandwidth, best-in-class speed, and unstoppable security bundled in one convenient package.”
So, I’m just assuming it’s a WordPress.com plan.
nostr:npub1et6zh6yg238eh7j5mqgas5cv3pvaf309gkacqrwcpghvqjglk6rqn6hvsp nostr:npub1m4czwtsj2x4jq0e8t9vy5trcmszhccvealx873ccjdlezp3kc2tsekenk8 I use nostr:npub1svs3dzxhfc3mtdr7a59jsj48wdg0f0fgy0au2yataxu6vza6n8userp66u, which groups the notifications together. It’s so much nicer.
nostr:npub1y4s7hjcxn9e2dxakrl98taqevp8vk9fn4axpkejqcuvackcg7f6sgnvgt8 It’s not an archive. It’s a managed hosting plan on WordPress.com.
nostr:npub156yx5pyknkaeyfz32lrxxz77943lxz4qhxrtszll7efj8tpuxvfs4dladl nostr:npub17u92uyrrudrjq9pwpx888d960cn5fhq6tj5v7dkvxeq96nwf6x8qsxpvh2 I was trying to work on an internationalization extension for PHP, but I decided I really need a break instead, so I switched to playing Baldur’s Gate 3. https://github.com/php-ecma-intl/ext
nostr:npub1k4qmle0sq0u0fwfz8l7zr85j3ag07z0v3lzj7xrkz5v6sfxdd00ss73lsq nostr:npub1mqc4mgy5hpj0ysvwlxduzxhkypc7rxesyfwy3ytualwljcgkasrqj990qw Yeast consume sugar, poop alcohol, die in it, and then we drink it. Wow!
nostr:npub15t7j6m70tv72xmgryk7ehvznx7eqs55y7avgel4j6k0t5fekm72q9vv9k3 There was a performance reason for HHVM, but the Zend Engine is now on-par with HHVM, from what I understand. Hack is a different programming language that interoperates with PHP, and HHVM doesn’t support modern PHP, so there’s no ecosystem benefit (e.g. Composer packages) when using Hack. I think Meta made a mistake with that decision; no one outside Meta or Slack uses HHVM now.
nostr:npub1lrclda9qlglxfl3483mwhmjy45hhr3ey0xp7nad9tpx3qjx83eyq6xs6da Does WordPress use React?
Hey, y’all! You know what it means that #WordPress will be offering a 100-year hosting plan?
It means we’ll have at least 100 more years of #PHP!
nostr:npub1hdsn205nadzd8d84hkqeq4djprsvdj9x9a3gxhrzqq8wympr2c9qj6u65c nostr:npub1ttznc78t0jdu8ykwqsxl4dm64v57h7vwjsxe53c2shykz0ulvt3s6w5nu3 And also, I don’t know why I didn’t go digging through the source myself. I guess I’m lazy. 🤣
nostr:npub1jpp36eeycvlkkdy4d4l4lgswvf8jtdare5vly0w0sk7rc39pzgrqlyu59l That is an excellent question that I fear I'm not equipped to answer. I've tried groking the source code https://github.com/php/php-src/blob/master/ext/spl/spl_iterators.c but, not being a C developer, the closest I can figure is that the Callback / Filter iterator isn't considered 'valid' until it runs the callback and that only happens on rewind or next, not current or construct.
nostr:npub1hdsn205nadzd8d84hkqeq4djprsvdj9x9a3gxhrzqq8wympr2c9qj6u65c Why does the other example with the while loop work without the `rewind()` call, though?
nostr:npub1juk48xt2gvsa5lxgfs56uz9qxqpsesw9nwqgvnaddr66uuhw4syshj3rft nostr:npub1ttznc78t0jdu8ykwqsxl4dm64v57h7vwjsxe53c2shykz0ulvt3s6w5nu3 Oh, wow. Why does the one example work, while the other doesn’t, though?
nostr:npub1c25hmmzjxfne2j9psplew985g7ac5jw0gajx437n7e4ae7v30scskk6m89 There’s a difference in the output of the two links in my original post.
nostr:npub1c25hmmzjxfne2j9psplew985g7ac5jw0gajx437n7e4ae7v30scskk6m89 Not between different versions of PHP… but between the examples in the two links (though I would expect both examples to produce the same output).
