A conversation that stalls
How do I get the last three characters of a filename?
Asking only about your proposed solution can hide the real problem. This is often called the XY problem.
How do I get the last three characters of a filename?
I need to find a file’s extension. I thought of taking its last three characters, but some files end in .jpeg. What approach would work better?
You want to do X and assume Y is the way to get there. You get stuck on Y and ask only about Y. Someone helps with that step without knowing what you actually need.
Explain your goal and constraints first. Then describe what you tried and why. If a particular approach is required, explain that constraint too.
Other projects for people who like to learn and build.
Color palettes, gradient generators, and web design tools.
ronio.irOptimize and compress PNG, JPEG, SVG, and WebP images.
smusher.irDirect, peer-to-peer file sharing.
filito.irExamples of poor web design, structure, and content practices.
htmhell.irA cheat sheet of plain JavaScript equivalents for jQuery methods.
nojquery.irA reminder to value simplicity, speed, small page sizes, and accessibility.
theperfectsite.irChoose a language for your goals and needs, rather than loyalty or arguments.
thebestlanguage.irA wallpaper collection with a Telegram channel and bot.
pixoro.irOrganize questions by category and notify connected Telegram groups.
urixo.irQibla direction, prayer times, a Hijri calendar, and prayer tools.
qiblafind.netA browser-based compass and navigation tools.
onlinecompass.lolFind MP4 download links for Twitter and X videos.
twitterdownloader.lolThe Developix collection of projects and tools.
developix.ir