News for hackers. Stuff that matters.

avdept

developers do(but honestly devs are much more rarely do these mistakes)

non-devs have no idea about security at all, except that they need login page lol

I've been fixing Ai slop code for last 6 months and here's my observations(yeah I saw that thread where folks charge $10k to fix/refactor code by reducing its size and I think its wrong approach, but this inspired me to write this post)

Few words about me so I could gain more trust before you read all text below: I'm softtare engineer, 17 years in industry, worked with pretty much any technology and language, including embedded development(had a project related to bmw kafas system) and had positions at few relatively big enterprise corpos

The first customers - I found few folks on reddit complaining about their project code quality and suggested to fix them for some fixed price. I charged $500 per project(they all were pretty small).

Alot of projects suffer from one issue - no data scoping, you could request somebody's data by just passing different id in url - be it order id, profile id, etc. Somehow all those projects were built in same manner/way. This still an issue even on modern LLMs in cases when original author isnt a technical.

Another issue was(much rarer now) - exposed private keys directly on frontend.

One more thing - a lot of apps suffer from absence of backend and passing all requests to database directly from frontend, basically opening database to everyone(you could see creds in frontend js bundle)

The most dangerous one I saw - billing related, when on error the app would swallow the error in try-catch block and basically even failed payments were treated as succesful, so one of customers(yeah it was LLM wrapper) lost some good money on failed payments by granting subscription to those folks. In fact, billing-related issues are taking a big part of fixes and refactors. For these things I usually add extensive test coverage with proper VCR cassettes, so that tests are run against real requests/responses and having VCRs I can actually have response with needed data(failure, etc)

Recently I hired a guy to help me with this work, so if you want someone to help with your app, I'm happy to assist.

Sorry for all typos, no AI used to create this text, all manually typed and edited(im not native speaker)

Any chance to compile it for macOS ARM?

Show HN: Updatify – release notes and changelog tool

https://updatify.io/

Hello HN, I'm Alex.Today I'm launching updatify.io, a tool that delivers product updates and changelogs to your customers through embedded widgets, auto-generated blogs, or emails. It also collects feedback through an up/down vote mechanism (with comments coming eventually).Similar tools exist, but I built my own for several reasons: some lack integrations, others lack features, and I needed...

( Read More... | no comments | on HN )
Re:Show HN: My website to find remote work in Spain on Thursday November 14, 2024 @08:32AM (#42135995)
Good idea. Any plans to extend to whole Europe?
Thanks for sharing!
Hey guys, it's been a while since I posted last time. Over past few months I did a lot of updates and changes.

Jellyfin is a selfhosted media library.

Re:OpenGraph protocol and why you need it on Monday August 19, 2024 @11:34AM (#41291919)
I also used this source, great doc!
Re:OpenGraph protocol and why you need it on Monday August 19, 2024 @11:25AM (#41291833)
I saw many folks miss this part but it's important when post links to your web apps on social networks. So wrote article to explain what it is and how to use it
Yeah as folks said below - Rails provides data to alpine, and alpine manages state based on initial value. But you can do regular XHR requests from alpine too, since it has regular functions which you can call
Re:Component based approach for Ruby on Rails apps on Thursday August 08, 2024 @08:08AM (#41190649)
Just a blog post explaining ViewComponents in Ruby on Rails apps
Re:Selfhosting for Software Engineer's Career on Monday July 15, 2024 @08:07AM (#40967094)
I've been self hosting for a while, managed to fill full 24U rack with various hardware. This hobby not just helped me to make life easier(well sometimes it needs some maintenance), but also helped in software engineer career. So wanted to share my thoughts about it
Re:Jellybox: Open-Source Jellyfin Client on Thursday April 11, 2024 @09:43AM (#40002062)
Hey folks, some time ago I shared JellyBox player. I didn't open sources back them since I wanted to cleanup code etc. Now it's done, so welcome to check it out!

https://github.com/avdept/JellyBoxPlayer

Re:Show HN: JellyBox – Jellyfin Desktop Client(beta) on Thursday October 26, 2023 @12:07PM (#38027585)
It will be, eventually. Not ready to share it yet
Re:Show HN: JellyBox – Jellyfin Desktop Client(beta) on Thursday October 26, 2023 @03:36AM (#38022827)
I just did tests and my app uses x/2 memory from official jellyfin desktop client
Re:Show HN: JellyBox – Jellyfin Desktop Client(beta) on Thursday October 26, 2023 @03:34AM (#38022811)
I'm working on this in my spare time, and making up readme file is the last thing on my list. If you're willing to help with readme I can surely provide you all needed information, screenshots and anything else you'd need
Re:Show HN: JellyBox – Jellyfin Desktop Client(beta) on Thursday October 26, 2023 @03:33AM (#38022802)
Not yet, since its early stages. I want to make it stable and then put open source

Older »