@toflar@phpc.social avatar

toflar

@toflar@phpc.social

Co-founder @terminal42. Core dev @contaocms. He/Him. Enjoying PHP, Symfony, DevOps, hoops, tennis, music, Bärndütsch and life!

This profile is from a federated server and may be incomplete. Browse more on the original instance.

toflar, to Symfony German
@toflar@phpc.social avatar

Today I was looking for the docs of a feature I contributed to and found a blog post where I am mentioned that I haven’t even seen yet :-D Eh, in case you need to execute a command with inherited CLI settings: Here you go https://symfony.com/blog/new-in-symfony-6-4-subprocess-handler ^^

toflar, to php German
@toflar@phpc.social avatar

Pretty important fix for my #php #searchengine loupe, this should improve your results when searching for terms that do not exist in your index at all :) https://github.com/loupe-php/loupe/releases/tag/0.6.3

markusstaab, (edited ) to random German
@markusstaab@phpc.social avatar

Just released a new extension release with experimental support for @symfony trigger_deprecation().

please give it a try and provide feedback

https://github.com/staabm/phpstan-todo-by/releases/tag/0.1.24

See discussion: https://github.com/staabm/phpstan-todo-by/issues/47

toflar,
@toflar@phpc.social avatar

@markusstaab nice! I‘ll check that for sure! Thank you!

toflar, to php German
@toflar@phpc.social avatar

ICYMI: This year, I've built a search engine with only and - try it out and let me know, how it went :) https://github.com/loupe-php/loupe

ramsey, to php
@ramsey@phpc.social avatar

deleted_by_author

  • Loading...
  • toflar,
    @toflar@phpc.social avatar

    @ramsey I do think that officially adopting static binary compilation and „abandoning“ the CGI stack for sth like frankenphp or whatever would help. Performance and portability are cool features of other „cool“ languages. Maybe the foundation will help here in the future :)

    derickr, to Halloween
    @derickr@phpc.social avatar

    Yellow and Red

    Oct 17th

    toflar,
    @toflar@phpc.social avatar

    @derickr love this one!

    Girgias, to php
    @Girgias@phpc.social avatar

    Night rant because I can't sleep.

    But I frankly wonder why I bother trying to improve the semantics of when it seems people don't give a fuck and just want crap not actually implemented in any sensible way, just so they can feel like they are working with a "real" programming.

    It honestly tilts me that people want to make the language more inconsistent and shit just for some minor DX that one could achieve by building tooling in PHP.

    toflar,
    @toflar@phpc.social avatar

    @Girgias I have no clue what‘s been said but know that I and my team are super grateful for all your cleanup work. I feel like ever since the inception of the foundation, PHP is getting more concise and I can‘t state enough how absolutely awesome this is! I‘d pick a clean and maintainable code base over a new fancy feature any day. Please, don‘t let negativity bias win :)

    toflar, to php German
    @toflar@phpc.social avatar

    Working on a new version of Loupe. What if I told you that searching our 32k movies database for 'Amakin Dkywalker' correctly finds and ranks Star Wars movies in under 100ms? It will be become reality soon, stay tuned! https://github.com/loupe-php/loupe

    toflar,
    @toflar@phpc.social avatar

    @lewiscowles1986 Define „heavy liftig“ :) SQLite is fast - very fast. But building a search engine is all about organizing data in smart structures. There are always tradeoffs. Building a search engine in memory like Lucene/ES/MeiliSearch (aka all professional search engines) offers way more possibilities. Not something we can use with SQLite and PHP so I had to find different ways :) I might write a blog post or document the differences in a „Performance“ section.

    toflar,
    @toflar@phpc.social avatar

    @lewiscowles1986 I have just published 0.5 with the mentioned performance section in the docs, enjoy :)

    toflar,
    @toflar@phpc.social avatar

    @lewiscowles1986 the N-Grams are shipped. I honestly don‘t think Loupe has any special requirements at all. Use a relatively new SQLite and PHP version and off you go :) CPU and RAM shouldn‘t be that important but your tests will tell. I think the indexed/searched documents and configuration of Loupe are far more important than the machine.

    toflar, to random German
    @toflar@phpc.social avatar

    There's a reason why in every programming language you can write comments. Explain stuff. Extensively if needed. Yes, machines don't need comments to understand your code. But people do, use them!

    toflar,
    @toflar@phpc.social avatar

    @derickr fully agree!

    toflar, to php German
    @toflar@phpc.social avatar

    Hello world, I have published my search engine written entirely in and only. I hope Loupe serves you well :)

    https://medium.com/@yanick.witschi/loupe-a-search-engine-with-only-php-and-sqlite-1c0d83024a71

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • rosin
  • InstantRegret
  • ethstaker
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • everett
  • slotface
  • osvaldo12
  • khanakhh
  • kavyap
  • anitta
  • Durango
  • vwfavf
  • GTA5RPClips
  • cubers
  • tacticalgear
  • tester
  • cisconetworking
  • ngwrru68w68
  • Leos
  • normalnudes
  • provamag3
  • modclub
  • JUstTest
  • All magazines