

Does API actually doing anything or it’s pass-through to data source? You could request data feed and build adequate API on your side


Does API actually doing anything or it’s pass-through to data source? You could request data feed and build adequate API on your side


Infrastructure is there to be used by apps/services. It doesn’t matter how it’s created if infrastructure across providers does not provide same API. You can’t use GCP storage SDK to call AWS s3. Even if API would be same, nothing guarantees consistent behavior. Just like JPA provides API but implementations and DBs behavior are inconsistent
I have experience with paid code review AI. It’s mostly bad. It did catch few bugs throughout the course of the project but I wasted much more time on useless or sometimes straight up wrong suggestions. I also think static code analysis gives more value


I recently started setting up home server on Raspberry Pi 5. Having issues with raid1. I have 2 nvme PCIe gen 4 SSDs. There was power outages while writing. Now second disk keeps randomly falling. Though, I’m not sure if that’s the reason because I don’t know what was raid status before outage, also disk passes checks. First time it degraded, it tried to recover and it failed. I removed that disk from raid, recreated partition run some test using nvme-cli. Disk looked healthy. I re-added disk, rebuild started and completed successfully. Then I’ve written around 500Gbs of data and it degraded again. At that point I took a break.
There are two things I’m yet to try:
I’m frustrated and will appreciate any hints.


Idk which market you are in. In mine no one cares about your project. Most of companies don’t do innovation. Most of real life projects I saw just moves data around. When I interview people all I care about is knowledge of tech stack and what I call “analytical thinking”.
Omg this is so true, I had 3 engineers which supposed to work on component. It took me almost a day to explain context, requirements and how work is split. Two of them were busy with other work. One did their part. After reviewing I realized they still lack understanding and need to rework what was done.I made an experiment and implemented whole thing myself. Since coordination part was eliminated it took me 3 times less than initially estimated.
Don’t get me wrong, I’d always choose html over js if I could. My problem with css, and web in general, that it’s too fragmented. It’s like those people who are designing css, html, js and browsers didn’t speak to each other whatsoever. So now there is entire industry of js frameworks to glue all shit together. Like, look at the WebComponents. Which supposed to be native, out of the box replacement. So much effort and they still cannot compete, in some cases they simply do not provide basic features needed to build complex UIs. Next time I can choose stack I’ll probably just go with htmx
Don’t know about tailwind but I used styled-components and not going back to vanilla css. CSS seems to be designed to be used with HTML, which did make sense back when it was created. Modern web is 99% JS and components composition which does not work well with Vanilla CSS in terms of class name uniqueness, specificity. Also it easy to dumb shit with CSS, like, I worked in the project where we had a lot of legacy global CSS. We had like dozen CSS styles which were adding margin to <label/>, <p> and so on. I mean no classes, just globally. I’ve been forced to add ‘all: unset’ to basically all my new components just to avoid changing global styles and breaking something else. Do not recommend.
It’s not like I’m deciding on customer’s IT policy
I’m doing cloud migration now and one of assumptions is that two regions in Americas is enough for resilience. I’m in danger
Nope, JS is “You think you are nerd”.
Also, why React is there? It’s a lib not a language
I’m still not totally understanding what you’re looking for. But if you need alternative to JS for writing web UIs check out htmx. It’s still JS lib but its main goal to facilitate hyper text as engine. Meaning you do SSR but with CSR UX. And it’s backend agnostic.
If one needs AI to add try-with-resources then one shouldn’t code professionally
PRs should be exactly as big (or small) as task requires. It’s task that needs to be split into smaller task, if it makes sense to split of course.
Minecraft block shaped earth
Depends on what I’m trying to achieve. Coding something that requires less thinking but staying more focused and keeping up energy - techno, EBM/industrial, phonk. If it requires more cognitive effort, I choose more background-ish music like lo-fi hip hop. When not coding - same plus synthwave/vaporwave, jazz, funk
That’s if their API implementation itself is just bad and underlying DBs aren’t . If they or someone else with bad practices manages the DB you may be in worse situation than before. In general, to me, shared DB is bad because it is hard to not cut corners in such design and ensure that DB owner does not break contract for all consumers. This is basically why APIs created - to guarantee contracts and encapsulate change. But I digress. My point is that it will be your responsibility to ensure schema changes adopted to expected contract. If data is not normalized/structured, like say, it’s JSON then I would stay away.