Skip to content

u/g105b

In this archive from Apr 2017 to Oct 2026

3
posts
317
comments
2
media
1.3k
score
7 saved before deletion

typephp-php runs at runtime, which is what makes it a unique tool. I don't think I've ever seen a PHP type checker execute at runtime. I always use phpstan and run it as I'm writing the code, and then once more before deployment.

There are two questions I have. 1) How's the performance hit? 2) If I'm already using phpstan, what benefit does this give me?

2 points

I've been coding https://api.horse (stupid name, I know) as an API testing tool in the browser, as a stripped down alternative to Postman.

It's really really basic at the moment, just dealing with single request-responses to other hosted endpoints, but I highly enjoy the craft of coding and will keep on building features when I have time to spend on the craft.

It's open source at https://github.com/g105b/api.horse - I would love to hear your review of the tool or the code.

-1 points

You may find success in different places if you position yourself as a human thinker, because there are fewer and fewer humans thinking for themselves these days, and I've noticed the right kind of employers are waking up to this. People don't want anti-ai but they do want anti-slop. Maybe advertising yourself like this will make you desirable now and VERY desirable when Elon turns everything off and nobody can write a for loop on their own anymore.

14 points

I agree fully with you on a technical level but I really want to scream STFU at anyone suggesting "just" docker to someone who hasn't learnt that specific tool. Docker is not a turnkey solution by any stretch. It has bags of nuance. We can't see the nuance because we've done the hard work, but we shouldn't recommend to "just" use docker as a solution to anything.

5 points

The tone is readable and approachable, but to me this reads more like a build log than a teaching article. It introduces concepts, but with no context as to what problem they're solving, teaching implementation steps rather than framework design. I think it needs more explanation of the purpose of each abstraction.

18 points

A human connection goes a long way. Chances are, the HR department writing the job specs don't really know what they're looking for, and hearing from someone like you humbly reaching out could be all they were waiting for. If you have the right attitude, experience isn't always necessary.

3 points

That sounds cool. There are other things like this on the market, but that's no reason to stop building cool things.

I have a question, having used similar tools. If I want to use patch mode to replace a form on the page, but there are currently some JavaScript events attached to the inputs of the form for fancy client side validation, how are these events handled once the form is patched?

1 points

I haven't dived in deep yet, but from first read this looks really interesting and a fresh take on such a stuffy area of software development. Well done on bringing something unique to the table. I'll play around later to see what I think on a technical level.

-1 points

This smells really bad. The logic it produces doesn't make sense (unlike trailing commas). It's inviting bugs, purely for aesthetics of code. There are ways of typing boolean operators that already work if you want this kind of thing.

4 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.