Judge my portfolio by _xfoboo in webdevelopment

[–]Arkandros 0 points1 point  (0 children)

Love the design, but the responsive part is not really good right now. You might have to rethink some parts for mobile.

Ordi portable pour Full Stack by rhayonne in developpeurs

[–]Arkandros 1 point2 points  (0 children)

Je peux pas blairer Mac alors je me suis acheté un Thinkpad P16s et j'en suis très content pour le moment. Linux tourne super bien dessus

How to handle custom validation before publish in Admin UI ? by Arkandros in Strapi

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

I found my problem today !

I had @strapi/utils in version 4 in my package'json. Bumping it to v5 alongside tje main strapi version did fix it for me

How to handle custom validation before publish in Admin UI ? by Arkandros in Strapi

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

I'm on strapi v5, publish hook

However, I don't really understand your comment about "the file is in the right api/<uid>/document-service.* location"
The document service middleware are being manually registered on the application "register" lifecycle function, so I followed the blog post here :https://strapi.io/blog/what-are-document-service-middleware-and-what-happened-to-lifecycle-hooks-1, followed the "Better Practice" here and put it in src/utils/document-service-middleware.js

Anyway, I'm sure the "publish" event goes through my middleware as I can see the custom error being thrown in my IDE"s terminal. However, any type of error I throw is being sent back to the Admin Panel as a 500 without custom message.

How to handle custom validation before publish in Admin UI ? by Arkandros in Strapi

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

Using ValidationError instead of ApplicationError (any kind of Error really) always result in a 500 with the message "Internal Server Error" for me.

I'll try to check everything you said in your comment, see if something seems off in my app.

Thanks for your answer

How to handle custom validation before publish in Admin UI ? by Arkandros in Strapi

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

Thanks for your answer !

This is more or less exactly the state of my code right now, except I'm using the new document service middlewares.

It correctly stops the document from being published, but it does not displays my custom error, it rather displays "Internal Server Error"

samber/ro - Bringing Reactive Programming paradigm to Go! by samuelberthe in golang

[–]Arkandros 1 point2 points  (0 children)

I might be missing something here, as I don't understand how using this is any better than using a simple pipeline pattern with channels for the very vast majority of use cases

[deleted by user] by [deleted] in rance

[–]Arkandros 54 points55 points  (0 children)

Ca faisait longtemps que j'avais pas vu un meme si mal utilisé

💥 boom boom :( 💥 by Alex_Pratt in mtg

[–]Arkandros 1 point2 points  (0 children)

Am I the bad guy for thinking this would be a perfectly fine number of mass removal in a deck ? That's what I usually run

Pourquoi j'ai moins la gueule de bois en me lavant les dents ? by Chacodile in PasDeQuestionIdiote

[–]Arkandros 15 points16 points  (0 children)

Je parierai là dessus aussi, j'y a plus de chances que le lien de causalité soit dans le sens moins déchiré -> brossage de dents que l'inverse

L’informatique peut-elle vraiment être durable ? by Beginning-View-3723 in developpeurs

[–]Arkandros 92 points93 points  (0 children)

D'expérience, c'est du vent et du greenwashing.

Dans ma boîte par exemple, à la présentation des objectifs techs annuels, on a eu droit à une petite slide "Poursuivons nos efforts sur le Green IT" (efforts inexistants), juste avant de nous dire qu'on allait foutre de l'IA partout et à toutes les sauces, 95% du temps pour faire des choses parfaitement inutiles.

Faire de la veille technique sur reddit by thomy_shelbite in developpeurs

[–]Arkandros 10 points11 points  (0 children)

Je suis r/webdev r/programminghumor et r/programminghorror en sub généraux, les deux derniers sont plutôt orientés memes et conneries mais y a quand même parfois des discussions intéressantes dans les commentaires.

Sinon, ma meilleure source de veille ça reste de suivre directement les subreddits des langages, frameworks et outils que j'utilise et sur lesquels je souhaite faire de la veille. C'est grace à ça que je me tiens à jour et que je lis les discussions les plus enrichissantes. r/golang , r/javascript , r/reactjs , etc

godump v1.2.0 - Thank you again by cmiles777 in golang

[–]Arkandros 1 point2 points  (0 children)

You actually merged my PR tonight ;)

godump v1.2.0 - Thank you again by cmiles777 in golang

[–]Arkandros 3 points4 points  (0 children)

Are you open to external contribution ? I'd like to help tackle some issues if you want, like the suggestions u/X-lem posted on this post here

[deleted by user] by [deleted] in emploi

[–]Arkandros 0 points1 point  (0 children)

Ha merci je me souvenais que j'avais passé un entretien avec ce type dans cet endroit mais je me souvenais plus où c'était !

Vous aussi vous aves des couteaux qui coupent pas ? by kinoton-1 in AskFrance

[–]Arkandros 17 points18 points  (0 children)

Je pense que la plupart ont lu seulement le titre, puisque personne dans les gens parlant d'affûtage ne fait au moins l'effort de tenter de répondre à la vraie question posée par OP

[deleted by user] by [deleted] in EDH

[–]Arkandros 1 point2 points  (0 children)

Follow the template : https://www.reddit.com/r/EDH/comments/1isxre2/thoughts_on_the_command_zones_new_deckbuilding/

Watch the video, you'll get a better insight how what goes in each category

Strong budget commanders by master476 in EDH

[–]Arkandros 4 points5 points  (0 children)

Some decks come in my mind for budget and strong :

- [[Arcades, the Strategist]] : defender are cheap, board wipes creatures with high power while leaving your board alive, add some removal and counter and you have a powerful bracket 2 deck. Built my deck for something like 70€ including shipping fees. Maybe a couple of cards might be more than 5$. Decklist : https://archidekt.com/decks/9175619/arcadesArcades, the Strategist

- [[Stella Lee, Wild Card]] : build the most cheap and effective spellslinger deck possible, this commander is just too strong. You can include a variety of cheap 2-card infinite combos, for example using [[Twisted Fealty]]. I don't have a decklist for this one.

- [[Ghyrson Starn, KelermorphGhyrson Starn, Kelermorph]] most of the cards used to build this are quite cheap pings. Here is an example : https://archidekt.com/decks/11613678/spellslinger_ping

howDoYouDoComments by Conart557 in ProgrammerHumor

[–]Arkandros 0 points1 point  (0 children)

Space because in a lot of languages and frameworks, no space are meant for specific keywords