Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Feed
All
Post Types
- Rants
- Jokes/Memes
- Questions
- Collabs
- devRant
- Random
- Undefined
Cancel
All
-
New on DevPlace (https://devplace.net)
Code Farm - grow software, not vegetables
Plant projects that build in real time, harvest coins and XP, upgrade your CI pipeline, and unlock the prestige grind. Then water your friends' builds - or raid the ones who left a harvest sitting too long.
🐚🐍📜🐹🦀λ⚙️ 7 project tiers, from 30-second scripts to 2-hour kernels
CI upgrades, a four-branch perk tree, and stacking prestige boosts
Co-op watering, PvP raids, daily streaks, quests, and a global leaderboard -
#unsolvable problem alert
It's always news to me when I encounter a dev challenge I'm unable to surmount. It used to be unusual but the last two times have shown a pattern: it rears its head whenever I'm with undocumented tech
In this episode, I set out to build an auto documentation generator in php. Naturally, I leant towards psalm since suphle already uses it during server build to guarantee absence of type errors. Since this isn't documented anywhere, I combined several llms to tweak and fine tune the component until we successfully fabricated the tests, templates, classes and docs supposed to make this work. Took maybe a week
I didn't think more of it until time came to run the tests. After fixing the usual minute errors hindering system core from running, php memory allocation started exploding. It got so bad that it froze my system twice. Turns out that each time I hand a method over to psalm to analyse and give back its shape for documentation, it starts indexing the entire codebase anyway. No amount of config restricts it from crawling up my tremendous vendor folder. I opened an issue with them https://github.com/vimeo/psalm/..., that has remained unattended to till date
Decided to go hardcore and reverse engineer it. I managed to bypass the memory explosion but after some more days, I realised it wasn't sustainable. All their classes reside in an internal namespace. Each object expects some other mysterious dependency to already exist in some predefined state. Classes are marked final and methods span 100/120+ lines at times. I already updated my composer dependencies cuz of a tight version constraint of theirs. If I eventually figured out the very specific steps to scan just the one method return value, it'll be akin to walking on eggshells. One update and I'm right back to square one
So this is officially my unsolvable problem. I had to give up and pivot to a different strategy. I overhauled the psalm abstractions by introducing ast/phpParser. Even though I don't know what specific methods and types in their library to leverage, I now know enough about the flow to authoritatively guide llms on how it should work. I hate to say it but I think Claude was most impressive in its grasp of the situation. My problem with it is that I always max out the tokens after literally 3/4 exchanges max. Luckily, I had a summary from past llms already handy
Several hours later, it's as airtight as I want it. I'm yet to run the tests. But this isn't a victory lap. I've mused that it might very well be as much of a dead end as the psalm method was
Unrelated but you get the feeling that I'm a decent dev. Even though I didn't work on this daily for the weeks I've been stuck on it, it's humbling that folks like linus and brendan eich were able to churn out git and javascript in 10 days without stackoverflow or llms. Tbf I built suphle v1 before llms as well. Took 3 years but yea, me self no small4 -
The development of https://devplace.net goes very rapid. We have a small user base now and testers and other contributions.
It delivers a lot of features:
- blocking / muting users
- embeds like youtube/video/music/pictures
- markdown supported
- syntax highlighting
SEO is done very well, the site scores 92/100 based on 50 pages. Also sitemap.xml is available.
System is fully backend rendered. It renders quite big pages but we keep it under 100ms mostly.
Smart caching that still allowes immediate update of all static content after deploy.
Super news page. I once made a system that crawls all the best news of many sources. With this as source, we use AI to grade rule based what content should be published / featured. See the nice lookig news page here: https://devplace.net/news.
Perfect notification system, never miss what happens. Web push, notifications and toasts.
Direct message functionallity.
Full discord emoji support.
Automatic backup service.
Media library, if you share content with media, you can find the media bcck on your profile page.
Optional correction of your input. You can configure yourself what must be corrected using a prompt. I choose to markdownify my posts automatically and it`s fun. My posts look very nice.
Soon, someone on Fiverr will be doing the marketing of the platform.
If you want, you can contribute in many ways, just with content or testing is very appreciated. There are not much issues left anymore.
The project is now 30 days into development and we went hardcore. The quality is greet and it is just very clean. Look at the html source for example.
To comply with some EU standards, it is even optimized for blind people with aria tags.
The amount of bots is halved now since we got more users.
Total files with LOC: 1,204
Python files: 730~60.6% of annotated files
Python LOC: ~114,378
JavaScript LOC ~53,362
Records in database: ~350,000
That`s not a small project.
It also has huge documentation.
I hope some more of you want to join the community. We can`t keep hanging around on a place that gives 3/4 500 errors right? Have some self respect :P
Devplace offers the same culture as devRant and has only benefits on top of it. Much is learnt from devRant, like no need for moderation. Just won`t do it.
On top, this project feels like a Mercedes, No bloat. Nothing jank. Very nice using PWA.
This is what Grok said about devPlace: https://devplace.net/posts/...5 -
Every player has that one moment they wish they could replay. Maybe you were just one step away from a great result, or perhaps you changed your strategy at the last second. What was your most frustrating loss, and what did you learn from it?5
-
Kamagra Oral Jelly : Guide Complet pour une Utilisation Efficace
De nombreux hommes recherchent des informations fiables pour améliorer leur vie intime et mieux comprendre les solutions disponibles. Avec kamagra oral jelly, il est possible d’explorer les effets, le fonctionnement et les précautions d’utilisation de cette formule populaire. Découvrez où acheter, commander ou obtenir davantage d’informations sur ce produit, ainsi que des conseils utiles concernant la durée d’action et l’usage responsable.2 -
