laxk

Joined 17 years ago

Karma
398
Submissions
162
Member since
May 22
Github: https://github.com/plar Resume: https://www.linkedin.com/in/plarkin/
View on Hacker News

Recent submissions

Comment · 8 months ago
Google knows how to wait. Let's give them a chance.
Comment · 1 year ago
We can say whatever we want, but aesthetically the site just delivers. :)
Comment · 1 year ago
if paying isn't owning, then piracy isn't stealing.
Comment · 1 year ago
DB Level:

- Create SQL credentials for LLM queries that will have limited access (exclude sensitive fields, tables, views etc) and read-only access.

- Use SQL views to avoid/exclude access to specific fields.

App Level:

- Use SQL linters and treat input as a regular user input.

- Convert the SQL query string into a query tree, escape ALL fields and then assemble the query back.

Comment · 1 year ago
TL;DR:

- use principles as guidelines not gospel

- optimize for readability/maintainability

- and for the love of all that's holy, don't build stuff you don't need yet.

BTW, any other old-timers remember when we just wrote code without worrying if it was SOLID enough? Those were the days...

Comment · 1 year ago
Comment · 1 year ago
Comment · 2 years ago
The funniest thing about all this is that everyone around knows about the employees’ salaries, except the employees themselves, and at the policy level it is often written that you do not have the right to disclose this information.
Comment · 2 years ago
What programming language are you interested in?

Usually you can go to GitHub, find a project with a lot of stars for the language you want and start browsing the code. It is worth paying attention to the general attributes of good codebase: tests, documentation, build automation. If all this is there, then most likely you will definitely find something interesting or new for yourself.

Comment · 2 years ago
If you want to remove information: please remove everything about me.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton