Profile avatar
abubuhh.bsky.social
I code stuff.
69 posts 163 followers 44 following
Regular Contributor
Active Commenter

www.youtube.com/watch?v=Y6ZH...

Est-ce qu’il y a une communauté JS en Français ?

Every day I'm learning... www.npmjs.com/package/happ...

Big ui5-test-runner release today : 5.5.0 ! Introducing the batch mode : it is now possible to test more that one project with a single command ! github.com/ArnaudBuchho... #ui5 #testing-ui5

Just released [email protected] : a lightweight web server configurable with regular expressions. I added the possibility to build responses directly through the custom handler result. github.com/ArnaudBuchho... (REserve is a core part of ui5-test-runner)

I wanted to share with you this little tool I built a while ago : arnaudbuchholz.github.io/punyexpr/sam... The idea is to have an expression parser that is safer than eval and extensible. I integrated it in ui5-test-runner to condition some executions !

I am delighted to announce that I have been recognized as an #SAPLabsCanadaAllStar in the #Grit category. It is a privilege to be among such esteemed colleagues who exemplify the spirit of SAP Labs Canada. #SAPLabsCanadaAllStars #SAPMapleMagic #SAPCanadaLifts

regex101.com Probably the best (only?) tool you need to work with regular expressions.

Is it me or the ESLint 9 flat configuration thingy is a big mess ?!? #JavaScript #TypeScript

How to implement the factorial function in postscript... and run it inside psbots. arnaudbuchholz.github.io/psbots/ #TypeScript #learningisfun

Just published a POC for my PONG with paddles controlled by a script... It demonstrates how two instances of the psbot engine run two different objets within 60 fps rendering range (even when running at x1000 speed). arnaudbuchholz.github.io/psbots/ #TypeScript

Using node profiler on my code made me realize that RegExp are convenient for parsing strings but might be slower than actual implementation of a parser... I need to do more testing.

Gaming alert ! Humankind (a 4x game) is free on Epic games for this week. store.epicgames.com/en-US/p/huma...

Been comparing the performances of my latest engine with different hosts : * node : ~2000 cycles/ms * bun : ~1700 cycles/ms * deno : ~1000 cycles/ms The tested code is 100% JavaScript with *no* dependencies... #JavaScript

Thinking about migrating my got, axios and other HTTP clients with fetch. This mock implementation will make it easy ! #JavaScript humanwhocodes.com/blog/2025/01...

Funny to observe the boom on my testing UI5 article that I wrote 4 years ago... now that ui5-test-runner is becoming more and more popular. medium.com/p/85187d5eb7f1

[email protected] is out. Some teams reported a regression in 5.4.x after I fixed the configuration file parsing issue. it appears that the tests (and particularly chrome) works better if an extra command line parameter is added to the chrome browser args.

It's funny to see how removing exceptions in a code base forces you to care about "details" : * call a method that may throw : mostly you won't do anything, easy to get 100% coverage. * replace exceptions with a function result and, boom! you realize that there are situations you didn't expect !

Discovering a new TS feature : www.totaltypescript.com/erasable-syn... Sounds interesting... will have to investigate what it means for my projects. #typescript

Impressed by the reactivity of the webdriverio team ! This morning I posted an incident because version 9.6.0 broke screenshots. This afternoon they released 9.7.0 and fixed it. Challenge accepted, here is 5.4.2 re-enabling screenshots github.com/ArnaudBuchho...

[email protected] * fix regression in configuration files * found out that webdriverio has a problem with screenshots (disabled for now) www.npmjs.com/package/ui5-...

Possible regression in ui5-test-runner 5.4.0, see the pinned issue for explanation and workaround github.com/ArnaudBuchho... I am working on a fix.

I am wondering... Is it better to define an enum which values are strings or a type ? enum TestEnum { a = 'a', b = 'b' } type TestType = 'a' | 'b' I mean, when using TestEnum.a in the code, you somewhat use references to the same string. When using 'a' you create new strings. #TypeScript

[email protected] is out github.com/ArnaudBuchho...

OK starting a process with node.js' child_process is peanut. Terminating it, on the other hand, might be challenging... in particular when you trigger npm run which triggers additional commands... #nodejs

Working on ui5-test-runner to remove the need of external start-server-and-test : this should ease adoption and reduce required dependencies. New parameter --start "command" for remote mode that will wait on the first URL to trigger the tests.