Better HN
topnewbestaskshowjobs
Log inSign up

avdept

111 karma · joined Feb 21, 2023 (3y ago) · 77 submissions

Submissions

comment 4mo ago · link · parent

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

comment 4mo ago · link · parent

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)

3.

I've been fixing AI slop for 6 months and here's my observations(aislopfix.dev ↗)

2 points · by avdept · 4mo ago · 3 comments

4.

Show HN: Linkshor.tr – free, ad-free, anonymous link shornener with API support(linkshor.tr ↗)

1 points · by avdept · 10mo ago · discuss

5.

I switched from Ruby to elixir and built a product to learn new tool(alexsinelnikov.blog ↗)

3 points · by avdept · 1y ago · discuss

6.

I turned feature into full featured product(old.reddit.com ↗)

3 points · by avdept · 1y ago · discuss

7.

Why release notes important for your product?(medium.com ↗)

1 points · by avdept · 1y ago · 1 comment

comment 1y ago · link · parent

Any chance to compile it for macOS ARM?

9.

Show HN: Updatify – release notes and changelog tool(updatify.io ↗)

2 points · by avdept · 1y ago · discuss

10.

Flutter multi window support on desktop(medium.com ↗)

3 points · by avdept · 1y ago · discuss

comment 2y ago · link · parent

Good idea. Any plans to extend to whole Europe?

comment 2y ago · link · parent

Thanks for sharing!

comment 2y ago · link · parent

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.

14.

Jellybox v1.8.4 – native desktop/mobile music player for Jellyfin(github.com ↗)

2 points · by avdept · 2y ago · 1 comment

comment 2y ago · link · parent

I also used this source, great doc!

comment 2y ago · link · parent

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

17.

OpenGraph protocol and why you need it(alexsinelnikov.blog ↗)

5 points · by avdept · 2y ago · 3 comments

comment 2y ago · link · parent

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

19.

Alpine.js for Ruby on Rails Developers: Simplifying Front End Development(alexsinelnikov.blog ↗)

15 points · by avdept · 2y ago · 6 comments

20.

Show HN: Jellybox – open-source cross platform Jellyfin client(github.com ↗)

2 points · by avdept · 2y ago · discuss

comment 2y ago · link · parent

Just a blog post explaining ViewComponents in Ruby on Rails apps

22.

Component based approach for Ruby on Rails apps(alexsinelnikov.blog ↗)

1 points · by avdept · 2y ago · 1 comment

comment 2y ago · link · parent

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

24.

Selfhosting for Software Engineer's Career(alexsinelnikov.blog ↗)

3 points · by avdept · 2y ago · 1 comment

123