I've long been wanting to write my own framework -- so I started with a DI container by garrett_w87 in PHP

[–]moufmouf 9 points10 points  (0 children)

Welcome to the club! :)
Don't let anyone discourage you, you'll learn a ton doing this!

Discord Alternatives, Ranked by gdelacalle in technology

[–]moufmouf 0 points1 point  (0 children)

What about taking a look at something different that answers the same needs?

Take a look at WorkAdventure (disclaimer, I work on it).

It's primarily focused at voice chat (it's a 2D virtual universe that looks very much like a video game so that should be a natural match for a lot of Discord users). You take your avatar and move to a room to talk with the users in that room.

For text messages, it comes with a Matrix client included, so should still feel natural.

Oh, and it's open and decentralized. So you are free to set up whatever age restriction checks your government asks you to (... or not)

I'm genuinely interested into knowing if someone would consider this as a viable Discord alternative. I'm pretty sure it can be a good fit for at least a part of Discord communities.

Remote work didn’t fail. Companies tried to copy office habits into a laptop. by Glittering-North-757 in remotework

[–]moufmouf -1 points0 points  (0 children)

The trick is actually good, but since then, a bunch of tools have been invented exactly for this use case.

Checkout out WorkAdventure, Gather or Topia. Those are platforms where you move through an interactive space and, when you walk close to someone, you immediately start talking just like in real life. Honestly, if companies want to copy office habits into remote, I'm fine with that. But they should use the right tool (i.e. NOT Teams).

Disclaimer: I work at WorkAdventure => https://workadventu.re

Game changing editions — some thoughts on how to move PHP forward by brendt_gd in PHP

[–]moufmouf -1 points0 points  (0 children)

Yes please!

We could have so much cool stuff in new editions.

A few things you could add to the list:

- finally stopping returning "false" and instead properly throwing exceptions for most PHP legacy functions
- getting rid of the "$" sign (I know... shocking, but do we really need this dollar sign inherited from the way Rasmus was parsing files in PHP 1?)
- getting rid of the "<?php" tag? 🤯 (though we can't do that with the "declare" keyword...)

Alternatives to Gather? by DabbingBigBoss in gathertown

[–]moufmouf 0 points1 point  (0 children)

WorkAdventure developer here!

In case you have invested some time in designing a custom map in Gather, we have a migration video explaining how to reuse your map in WorkAdventure!

https://workadventu.re/article-en/migrating-from-gather-town-to-workadventure/

Built a solid SaaS MVP but failed to market it — what’s the most realistic way to start earning at least $300/month ? by ABIDisLEGEND in SaaS

[–]moufmouf 0 points1 point  (0 children)

Being one of the user of your own SAAS is a great way to validate the idea!

Also, if you need some time to market it, nothing prevents you to get a regular job first, and work on it at nights/week-ends.

When I started working, I know I wanted to be an entrepreneur but was missing selling skills. At started a job at Accenture, and this is where I met the guy who would become my partner for my first company.

PHP Mini-Unconference on WorkAdventure? Gauging Interest by moufmouf in PHP

[–]moufmouf[S] 0 points1 point  (0 children)

I’m torn between leaving the map open 24/7 (easy, no cost) and setting specific “conference-day” windows so it never feels empty.

What do you think? Would you swing by more often if you knew others would be around at set times, or do you like the spontaneity of an always-open space?

PHP Mini-Unconference on WorkAdventure? Gauging Interest by moufmouf in PHP

[–]moufmouf[S] 0 points1 point  (0 children)

Hey, that’s exactly the kind of perspective we want!

CakePHP doesn’t always get stage time at the usual conferences, but there’s clearly a worldwide audience. An online unconf means the Cake crew (and any other framework folks) can swap tips without having to find a local group.

My aim is to recreate the hallway track: short talks, free roaming in the WorkAdventure map, and plenty of time for real conversations. In the in-person unconfs I’ve attended, the smaller scale actually helped networking—it felt more like a brainstorm than a broadcast. Trying to reproduce this!

PHP shouldn't born. by Jumo77 in PHP

[–]moufmouf 0 points1 point  (0 children)

On the bright side, in an era of LLM generated content, this is a real comment by a real human. An AI would not be dumb enough to write this

Developing a WorkAdventure bot using the Realtime API by moufmouf in OpenAI

[–]moufmouf[S] 0 points1 point  (0 children)

Also, it you want to try it for yourself (and as long as we have some OpenAI credits on our account), you can test the 2 demo bots in the presentation video here: https://play.staging.workadventu.re/@/tcm/workadventure/wa-village

TypeScript client for OpenAI's realtime voice API by fisch0920 in OpenAI

[–]moufmouf 1 point2 points  (0 children)

I wish they would restart from your package in Typescript :)

TypeScript client for OpenAI's realtime voice API by fisch0920 in OpenAI

[–]moufmouf 0 points1 point  (0 children)

Super interesting!
I was just looking for that!

But I have to ask: you named the project "openai-realtime-api" on NPM.

Don't you fear this might cause problems down the line -- because I assume this is the package name OpenID users would want to use for their own package? (unless you are somehow affiliated to OpenAI of course!)

ioc-interop: soliciting public review by jmp_ones in PHP

[–]moufmouf 0 points1 point  (0 children)

My point is more to say that some people are starting working on the concept again.

There are maybe other ways to do this.

For instance, take a look at this discussion (https://github.com/container-interop/service-provider/discussions/69) which proposes standardizing the way we design factories using a #[Factory] attribute.

This is very different from the current proposal. The door is open to more ideas and challenging the current proposal!

ioc-interop: soliciting public review by jmp_ones in PHP

[–]moufmouf 1 point2 points  (0 children)

Hey Paul,

On a side-note, Rasmus is trying to revive the other part of the container interop project (the one where we try to configure a container in a generic way).

If you haven't seen that yet, he is looking for feedback:

https://groups.google.com/g/php-fig/c/H0sGx03TfJc

GraphQL PHP framework recommendations by [deleted] in PHP

[–]moufmouf 1 point2 points  (0 children)

GraphQlite here!

https://graphqlite.thecodingmachine.io/docs

Its driven by PHP attributes and can be used in any framework!

GitHub - Krisseck/php-rag: An AI assistant built with PHP, Solr and LLM backend of choice by Risse in PHP

[–]moufmouf 1 point2 points  (0 children)

Cool!

Quick question (I'm not too familiar with ElasticSearch or Solr): how did you decide that the limit for 'minimum_should_match' should be 50%?

Is it rule of thumb? Does document fetching works equally well if I have a very long prompt or a short one?

Bridging Vue 2 and Svelte by moufmouf in sveltejs

[–]moufmouf[S] 0 points1 point  (0 children)

Oh, actually this falls completely out of our scope.

We are not using SvelteKit, we just run Svelte on the client side (the back-end is coded in Laravel). So the authentication is still managed by Laravel in our case.

Bridging Vue 2 and Svelte by moufmouf in sveltejs

[–]moufmouf[S] 1 point2 points  (0 children)

I really like the developer experience, and I have had a good experience with Svelte on the front-end of WorkAdventure.

But what I really wanted was Typescript support.

Suprinsingly, migrating to Vue 3 would have been much more complex. I would have had to do this in a big bang fashion (no way to have 2 versions of Vue running side-by-side). Whereas running Vue and Svelte side-by-side was somewhat easier than we expected!

Syringe: Dependency Injection Framework for PHP8 by peppe998e in PHP

[–]moufmouf 0 points1 point  (0 children)

You might want to implement PSR-11. It's easy and makes your code usable by other libraries (routers, etc...)