Jump to content

szabesz

Members
  • Posts

    2,962
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by szabesz

  1. https://www.youtube.com/watch?v=EoEeRWHJ8xs A checkbox is a checkbox and should not be confused with a toggle, I think. A toggle is not a skin for a checkbox. https://infyom.com/blog/user-interface-design-tips-checkbox-vs-toggle-switch/ https://uxdesign.cc/the-good-the-bad-and-the-toggle-2abc0fbbd099 Quotes: A toggle switch requires two steps: selection and execution, whereas a checkbox requires only the selection of an option, and the execution/saving action is normally required later or at a different area. Usage recommendations Do not use toggles in forms. Use checkboxes or radio buttons instead. Do not use toggles in filters or multiple selections of elements. Inhale. Use toggles for settings and changes that have an immediate effect on the UI (same applies for the segmented control). Avoid mixing toggle button groups and segmented controls. Exhale. Avoid using switches with multiple options.
  2. Because "Artificial Intelligence" is a marketing word, and computers will never become intelligent as the definition of intelligence according to the Oxford Dictionary on may Mac is: "the ability to acquire and apply knowledge and skills" You see, LLMs cannot acquire knowledge (nor skills), they are "trained" (which is also a marketing phrase, BWT...), and a database full of data is not knowledge, the dictionary says that knowledge is: "facts, information, and skills acquired through experience or education; the theoretical or practical understanding of a subject" "Understanding" is the key word here. LLMs and fine-tuned models calculate probability which is very far from being a "fact". Another key word is "experience". A computer with experience? BTW, Interesting article to read: https://www.nngroup.com/articles/ai-model-training/ Anyways, thank you for sharing you module! Could you please also add an image or two to the readme, so that people can have a visual view of what to expect in that regard?
  3. I also think there are use cases for both classic checkboxes and toggle switches. Both might work well in the same context, but there are also situations where they are not interchangeable. This is all about UX ;)
  4. "The masthead, primary navigation and search are now always available, fixed to the top of the window." I've been longing for this for 10 years. Thanks to those who made it a reality! Another great productivity booster is this: https://processwire.com/modules/admin-helper-links/ Could you guys please implement this for this "new theme"?
  5. Hi @Didier B.Unfortunatelly, I never found the time to finish what I started, so the answer is no 😞
  6. Hello @adrian I might want to use this module of yours in an unorthodox way, but this is what I would find really useful: Only the page names of a selected few templates (like article and product) are changeable by anyone except for superusers. All other page names are unchangeable, regardless of the templates they have (again, except for superusers). Pages with changeable page names are automatically renamed by the module to match the title. Any manual name change is only possible by superusers. As far as I can tell, such a setup is currently not possible. Am I correct? If so, would you consider making such a setup possible? The idea is that an editor should not be able to manually change the names of any pages. Instead, only the module should maintain the names of a few selected page types, specifically those based on articles and product templates (in my use case). This is my current settings, BTW: Thanks in advance for your reply!
  7. What stops you from using that? I must be missing the point, I guess...
  8. Not a bug but rather the result of the two evolving separately without being designed to be "equal" from the beginning. One afterthought followed the other. We must live with it.
  9. Just a simple idea: By hooking into the form-building process, you could add the required attribute to the input element. I have no idea if it's actually doable, though.
  10. Welcome to ProcessWire, I recommend using Google for searching the forum, like: https://www.google.hu/search?q=custom+file+path+site%3Aprocesswire.com%2Ftalk There are plenty of resources regarding FAQs like this one you asked, like: https://processwire.com/talk/topic/25942-define-upload-destination-paths-for-fields-templates/ And many others. Hope this helps.
  11. FYI, JetBrains reports: State of Developer Ecosystem Report 2024 https://www.jetbrains.com/lp/devecosystem-2024/ The State of PHP 2024 https://laravel-news.com/the-state-of-php-2024
  12. I guess you meant @matjazp perhaps?
  13. @ryan and @ all of those reading this... https://hugerte.org/ "We've forked the last MIT-licensed commit of the popular TinyMCE WYSIWYG editor as they switched to a GPL-or-pay license model and we want to keep it free for everyone. We're working at improving the codebase, adding new features and fixing bugs"
  14. ProcessWire's Page constructor: https://github.com/processwire/processwire/blob/3cc76cc886a49313b4bfb9a1a904bd88d11b7cb7/wire/core/Page.php#L594 public function __construct(Template $tpl = null) { parent::__construct(); if($tpl !== null) { $tpl->wire($this); $this->template = $tpl; } $this->useFuel(false); // prevent fuel from being in local scope $this->parentPrevious = null; $this->templatePrevious = null; $this->statusPrevious = null; } So in extending custom page calsses I do this: function __construct(Template $tpl = null) { parent::__construct($tpl); // my initializations go here... } I had no issues with it so far.
  15. 2D or 3D in PHP? PHP-GLFW (https://phpgl.net/) GameDev and Real-Time Applications in PHP 3D example: https://phpgl.net/examples/opengl/10-sponza.html Cross-Platform PHP-GFLW works on Window, MacOS and Linux. We also support standalone & portable binaries for MacOS and Windows.
      • 2
      • Like
  16. https://www.oreilly.com/library/view/php-8-objects/9781484267912/ https://www.oreilly.com/library/view/php-8-solutions/9781484271414/
  17. Yeah, that would be nice to have for sure. Since all M4 Mac Minis come with 16-core Neural Engine cores, I guess* they will be equal in this regard. Checking out M3 Mac reviews available out there might help you determine which M4 chip variant can be good enough for running local LLMs. *Edit: I could be mistaken, and other cores are also important to have. Having an Intel CPU based Mac, I have not yet dived into this topic just yet.
  18. Good question. Actually, yesterday I started to consider getting the 20-core GPU version (the most expensive one), but only if I decide to get into 3D seriously once and for all. I'm giving myself some time to think about that, as it would mean a lot less web development work, which I love with ProcessWire. As long as Ryan is around, I don’t think I will ever leave PW, but if I switch my main focus, then obviously I won't have as much time to work on ProcessWire-based projects. As for web development, I am pretty sure that even the cheapest M4 Mac mini would be just fine. My daughter's original base model M1 MacBook Air is at least twice as performant as my current 2019 Intel MacBook Pro in almost all respects, and the latter is still perfectly fine for DTP and web development. So why spend the extra money on features I do not use? However, I still want to replace my current Intel Mac, as I would like to make more homemade videos from our family footage recorded over the years, and any M series Mac is a lot better for that than my aging Intel CPU based laptop.
  19. That was my thought too. Since the machine fits in a pocket (well, you need a large coat for that, but there are such pockets...) if I buy a small keyboard and a small screen, I can easily temporarily relocate my office when I need to. I have no idea which keyboard and small monitor to buy just yet, but I will definitely purchase them in the end. BTW, here is a quick review for those interested: https://www.youtube.com/watch?v=KxgnSiK5qBA
  20. There you go, the M4 Mac mini: https://www.apple.com/mac-mini/ Mine will be configured as: Apple M4 chip with 10-core CPU, 10-core GPU, 16-core Neural Engine 16GB unified memory 512GB SSD storage 10 Gigabit Ethernet Three Thunderbolt 4 ports, HDMI port, two USB‑C ports, headphone jack Should you want to install Linux on it: https://asahilinux.org/2024/10/aaa-gaming-on-asahi-linux/ But probably a better option: https://eclecticlight.co/2024/01/01/virtualise-linux-on-apple-silicon-with-liviable-beta-4/
  21. A combustion engine does not need to be overly complicated either. It is not a ProcessWire, but it used to do its job as well (and if needed, my father could fix it on his own while on the road). https://www.trabant-szene-fuerth.de/Fahrzeuge/Trabant/trabantmotor.htm https://www.bhlingual.com/east-germanys-trabant-peoples-car-a-reprieve-blog
  22. I'm pretty sure Ryan could arrange a trip around Europe without paying a cent for accommodation. Here are some photos of our little town: https://kepguru.hu/hatterkepek/cimke/tata just in case they start to think about such a trip :P
  23. Happy birthday! Now that you remind me, next week I will also turn one year older, (ugh) :P
  24. @kongondo I recently bought my son a used M2 Air, which was not too expensive and is in pretty good condition and a lot faster than my getting-old 2019 Intel MacBook Pro. Have you ever considered the UNIX experience without all the hassle? Just my two pence... Personally, I am waiting for the M4 Mac mini: https://buyersguide.macrumors.com/#Mac_Mini And sorry for being somewhat off-topic, macOS is not Linux, but it feels similar in many ways and is a lot easier to tame.
  25. @Robin S I am sorry for the confusion, the issue is related to the Custom Logs module for sure. I mixed up the modules because both support threads were open in my browser, and I picked the wrong one. I use the modules in tandem, as that is the most obvious way to have the best log viewing experience. As for the issue: "Do you have a custom log named 'my-log' defined in the module config?" Yes, I did set the file's name (without the extension) in the module config. The good news is that it has now "started to work". I'm not sure what I did right this time, but renaming it in the config and in my code fixed the issue. Maybe some invisible character was involved, I don't know (that's just my best guess), as I had definitely tried to make it work before I reported my issue. Thanks for both modules and your support as well!
×
×
  • Create New...