https://www.recipeninja.ai/recipe/r_XbZvrH23kS6FwN/werewolf-...
350 karma · joined May 16, 2021
https://www.recipeninja.ai/recipe/r_XbZvrH23kS6FwN/werewolf-...
The difference between it and Java is you’re not forced into the ClassObjectGetterSetterPropertyHookFactoryBean paradigm with PHP. You can continue to write concise, simple, elegant scripts that read from top to bottom and serve one page and serve it well. You don’t have to use any of these crazy newfangled features - I, for one, will be using none of them, and will be sticking to my if-else blocks and nested for loops that will be easy to read and grok when I (or someone else!) come back to the code two months down the line.
Pretentiousness on my part aside, this is a pretty mind-blowing concept. The interpreter being in less than 1000 lines of (comprehensible) C is all the more commendable (most of these minimal languages turn out to be some monolithic Rust thing or similar, which kinda defeats the entire purpose imo).
Excited to take a closer look at the source to see how the various data structures etc. are laid out in memory. I won't be able to resist making comparisons to my current/other favourite mini-language 'fe' (https://github.com/rxi/fe), a sub-1000-line Lisp also written in C. If you haven't seen that one I'd definitely recommend checking it out.
Thank you for putting this online. Happy hacking!
Older appliances may cost more to run but it’s possible they pay themselves off by virtue of not having to re-buy them every few years.
Speculation, of course. I wonder if anyone’s done the math on this.
This has been the 'Wayland story' for 15 years now.
2. You could say it ‘helps’ me ‘control’ my inclination to do anything else whatsoever. Piles of dishes and laundry surround me.
I'm noticing these more and more at work and everywhere else. Every single human interaction is an attack, a snipe, an attempt to clamber over someone else.
It's deliberately exploited to implicate, accuse and judge in a slimy, insidious way that by nature cannot ever be directly called out. In order to succeed you must become an expert in conniving, filthy, back-handed, two-faced poison talk. Verbal backstabbing is an essential life skill. Those who are honest with their words, who speak in literal terms and expect others to be doing the same, are treated as naive suckers, dragged about and tossed aside the moment they cease to be useful.
I'm slowly waking up to the fact that every conversation is a battleground, wherever you go. Even my own family I can't trust. And it's all so tiresome.
Designers feel the need to justify their continued existence for the purpose of job security. So once in a while they'll convince corporate they absolutely HAVE to change everything up for no reason, and they'll spew out pages of poetic nonsensical Gish gallop along with it, to hypnotise everyone into agreeing and let corporate convince themselves that they haven't wasted millions that could have been spent on anything else to benefit the company or, dare I say, humanity.
Ever notice how the more pointless or frivolous a change in design is, the more BS the designers include to back up their case? Think of any of the major design milestones of the last few decades - those striking, arresting works of design that revolutionised society. Did any of those come with a high school C-grade creative writing essay attached to it? Of course not. The design speaks for itself. When you have good design, you feel no need to back it up with a mental gymnastic exercise explaining why it actually is a better design and that everyone who disagrees obviously just doesn't have the intellect to appreciate the artistic vision that you have.
The job of designers is solely to make pretty things. The backup plan of designers is to make people feel good with dopamine-inducing verbiage. In the myriad cases where they fail at their job and produce something ugly and demonstrably worse than the previous version, they go into overdrive with the backup plan in the hopes that their mushy sugar-coated words will hide the bitter taste of their regrettable design choices that they've already spent millions of corporate (and, in some cases, taxpayers'!) budget 'executing'.
Notice also how they try to pass it off as just the natural passing of things, like these things happen, get used to it, as if gratuitous interface changes and jarring layout reshuffles are just a fact of life, like taxes, laundry or fruit flies. Like this idea that one's relationship with a font of all things can "come to a natural end." Again, it's a form of hypnosis. Because God forbid the higher-ups snap out of this trance before they sign off another multi-million-dollar contract for some tacky new coat of paint to be slapped all over the old just for the sake of it.
You see the same with cPanel: "It's time to switch to the Jupiter theme." Says who? Who dictates that "the time has come" in this way, as if it's a universal truth and not something they're coercing us into using? Look at any cPanel forum thread where someone asks why they're forcing this godawful new theme upon us and how exactly it's better. The cPanel staff can never give any meaningful answer to those questions, because there are no reasons. So they repeat the same designer nonsense, or better yet, give no reason at all. And so the design of things continues to get worse, the icons less and less readable, the screen space more and more wasted, the corners more rounded, the jobs of normal working people that little bit harder and more unpleasant as they have to squint for the less-readable icons and moved-around UI elements when the previous version worked perfectly fine and was loved by everyone, all for the sake of the ego of some designer somewhere, who I dare say is very pleased with themselves about making life that little bit worse for everyone else.
> There is a way to write a plain text file so that it looks the same (i.e. appears as plain text) whether it has the .txt extension when it's opened in a text editor and/or Web browser versus whether you rename it to have a browser-associated file extension like .htm or .html and then re-open it in a Web browser.
What is this way? If you rename a plain text file to .htm(l) and open it in a web browser, none of the line breaks will be rendered, and of course there'll be no interactivity. If you add the necessary stuff to the .html file to allow for styling and compiling (more on this below), then when you open it in a text editor, you'll see all that extra markup that markdown tries to minimise (and GHFM somewhat brings back).
> Drag and drop the project source directory onto this README (or click a button to select it from a file picker) ... The project will start automatically building in the background.
How is this expected to work at all? AFAIK web browsers pretty much only use JS (or one of its 'transpiles to' analogues) for any sort of code you can execute in the browser (this also relates to your mention that "Documents opened Web browsers are programmable"), and are pretty heavily sandboxed to prevent running external binaries (e.g. gcc), so any project using any other language would be SOL.