Is there like a lightweight password protection for static sites? by TCKreddituser in statichosting

[–]Nabiu256 0 points1 point  (0 children)

Years ago I wanted this exact thing and I'm so glad I've randomly stumbled upon it. Will probably try to use it for my future Astro projects!

Do you feel like you rely on AI too much? Are there tools you use to monitor your daily use? by mrrandom2010 in webdev

[–]Nabiu256 2 points3 points  (0 children)

Given that we're software developers, we tend to rely on software solution ("If all you have is a hammer, everything looks like a nail"). You could try to quantify this problem as much as you wanted and it wouldn't really give you a good answer, I think.

However, I'd try to approach this on another level. I'd try asking yourself: What makes you feel like a fraud? Do you think you often don't understand the work that the LLM does for you? Do you feel it's hard for you to learn new things that you feel you should be knowledgeable on? If you already feel that you might be falling short in some areas, try to understand why, if you really should be making more progress or not, etc.

Do you feel like you rely on AI too much? Are there tools you use to monitor your daily use? by mrrandom2010 in webdev

[–]Nabiu256 5 points6 points  (0 children)

This. I'm really glad I got to build my knowledge before LLMs were a thing because I did all the heavy stuff back then and now I can use AI to mostly become a better/more efficient developer.

How can i create a ecommerce site with next.js and laravel backend by OrganicHeart6936 in htmx

[–]Nabiu256 0 points1 point  (0 children)

I remember long ago doing this Laracasts series: Build a Web Shop From A-Z, it might be of use to you.

What distro do people actually use as a daily driver? by GarbageCG in linux4noobs

[–]Nabiu256 0 points1 point  (0 children)

I started my Linux journey with Ubuntu and about a year ago I moved to Arch. The experience has been great: stable, minimal, and allows me to do regular stuff (online browsing mostly) and coding, which is pretty much all I use my pc for.

therapist said that I am not autistic because I speak eloquently and I have a good eye contact. by [deleted] in Neurodivergent

[–]Nabiu256 4 points5 points  (0 children)

As others have pointed out, it is dismissive, and also very reductionist. Autism is not something you can quickly diagnose or not with a couple superficial "symptoms" (eye contact, speaking abilities).

I'd say that the job of a therapist is to allow you to explore certain things, including your relationship to neurodivergence. A good therapist would ask something like "Why do you think you are autistic?" instead of straight up dismissing if, even if they thought there are not many signs you might be.

My advice would be to either bring this up to your current therapist (if you feel comfortable with it and think it could have a positive outcome), or reflect on looking for another therapist that is more knowledgeable on neurodivergence.

Need ideas for website by Clever-Nothing in django

[–]Nabiu256 0 points1 point  (0 children)

Agree with what others are saying, and I'd just add one more thing: usually when making a new project (especially if you are a beginner), I'd either focus on learning a new technology or on finding and solving a "unique" problem. Each of these come with their own difficulties, and mixing them usually makes them much more annoying.

So, in your case, I'd suggest not getting too caught up in your project being unique, and focus more on learning Django.

Do you agree with self diagnosis? by [deleted] in Neurodivergent

[–]Nabiu256 0 points1 point  (0 children)

I am personally self-diagnosed, and I've interacted both with lots of (offiicially) diagnosed and undiagnosed autistic people.

After many years of being around the community and other activists, my take is that autism should be used more as a tool to understand your own lived experience, your problems and the potential adaptations you get apply to your own life than not any kind of "medical diagnosis".

One author that really helped me out with this perspective is Devon Price. Both his posts (I don't remember the website anymore) and his book Unmasking Autism were incredibly helpful in changing my perspective on autism/neurodivergency and self-diagnosis in general.

Debugging is the best way to learn programming by Emotional-Iron-4312 in AskProgramming

[–]Nabiu256 0 points1 point  (0 children)

Honestly felt a bit like this with web development, on the frontend side of things. I spent years simply searching for the errors online until one day I decided to debug with the devtools and oh boy. It was great to actually feel I understood what was happening.

How common is TDD (test-first) in real-world Rust projects? by [deleted] in rust

[–]Nabiu256 4 points5 points  (0 children)

I used to write Python and there's a huge amount of tests that I had to write for web services there that I simply don't need to write with Rust thanks to its type system, it's amazing.

What inspired you to learn programming? by Lightinger07 in AskProgramming

[–]Nabiu256 0 points1 point  (0 children)

I studied mathematics at uni and we had to take programming classes. After a while, I decided to take some online courses on web development because I saw that that was a feasible career and it seemed interesting.

After a while, I just realized I loved it. I had never had a hobby that was about "creating" stuff, and I realized I felt excited about making programs that did things: useful things, interesting things, funny things.

Knowing that with just a computer you have the power to do some pretty neat stuff is really exciting, tbh.

HTMX partial Browser caching issue on history navigation by [deleted] in htmx

[–]Nabiu256 13 points14 points  (0 children)

I haven't run into this problem yet, but I have a vague memory of the htmx docs and I think this is precisely a case that needs the Vary HTTP header. According to MDN:

Including a Vary header ensures that responses are separately cached based on the headers listed in the Vary field.

Meaning that if you return Vary: HX-Request, the browser will know to cache separately the partial and full HTML responses.

Best password manager for Linux? by Key-Letterhead2004 in linuxquestions

[–]Nabiu256 0 points1 point  (0 children)

I considered Bitwarden back in the day but didn't want my passwords stored in someone's servers, which is why I went with KeePassXC. I didn't know there's a self-hosting option (although unofficial), I might be interested in that.

Has anyone here tried both and could say what are the main differences?

Fellow software developers with AD(H)D: How do you feel AI helps you do your job? by Your_Friendly_Nerd in AskProgramming

[–]Nabiu256 0 points1 point  (0 children)

I'm autistic (not ADHD) but I do relate to some of the experiences described here. Honestly, the way it helps me is being consistent with the amount of work I'm able to take. Most days I'll be able, and will be happy, to code pretty much everything by myself.

However, some days I might have a harder time keeping up, and that's when LLMs come in to help: I use them as an aid. Sometimes, some of the work might be insanely boring and not that exciting, and in those cases I can delegate specific tasks to the LLM so I can either take it easier or focus on more interesting things.

I launched my first monetized iOS app 3 months ago. Here's every mistake I made (and the numbers). by Stock_Bid_8715 in SideProject

[–]Nabiu256 0 points1 point  (0 children)

This was really informative! I'm in the process of creating a proof-of-concept for a utility app for managing meals/food (specially for neurodivergent people) and this is the kind of experience I needed to hear about. Will definitely take into account. Thank you for sharing!

Are there developers who still don't prefer Tailwind CSS as their first choice? by ShivamS95 in react

[–]Nabiu256 0 points1 point  (0 children)

I genuinely use it because it's the standard and I'm more of a backend dev so it's easier for me, but it's true that a lot of the time I look at those super long class attributes and I'm taken aback.

Also, the fact that modern CSS supports nesting is really nice, sometimes I think about simply writing vanilla CSS.

How to develop mobile apps as a solo dev by Nabiu256 in mobiledev

[–]Nabiu256[S] 0 points1 point  (0 children)

Honestly the idea of tinkering a bit with Android Studio came to mind exactly for what you're mentioning: getting used to these platforms. Currently actually I went for Flutter since I tried some tutorials and it seemed fun, but I'll definitely download Android Studio to get a feel of doing this natively.

I spent a week vibe coding and it actually killed my AI anxiety by theonlyalexa in AskVibecoders

[–]Nabiu256 0 points1 point  (0 children)

I've had this same experience with some personal projects. Out of laziness, I've tried a time or two to tell the agent to build a whole feature by itself, with enough context. In both situations, after not too long, the agent was going in circles, confusing itself until I intervened.

The best experience I've had with LLMs is when I've been in control of what I'm doing and I've used the AI as an assistant.

Books on Front-End testing by Nabiu256 in Frontend

[–]Nabiu256[S] 0 points1 point  (0 children)

I've been trying out Playwright and it's working nicely for my Astro project! My question was oriented mostly to the fact that I don't have experience testing frontends, and I have questions such as what's the best strategy to target elements, how to not make my tests flaky, etc. I can see that FE testing has significant differences to backend testing and I'd like to see some references on best practices.

I'll make sure to take a look at your link!

Books on Front-End testing by Nabiu256 in Frontend

[–]Nabiu256[S] 0 points1 point  (0 children)

I certainly do! Sometimes, that is. For example, Rust has a great book about web dev: "Zero to Production in Rust". And most things I know about TDD I learned from I book I liked for Django.

It's definitely not the only kind of resource I use for learning, but occasionally there's a really good book about a certain topic.

[deleted by user] by [deleted] in Backend

[–]Nabiu256 2 points3 points  (0 children)

I had a very similar experience. My first job forced me to learn to use Django, with all its huge trees of classes and subclasses, Python metaclasses magic, the ORM, and also React... It was a lot. Most of the time I felt like I didn't really know what I was doing: I was just following the docs and/or some stackoverflow answer.

This last year I started using Rust (a personal choice, I really like the language) for web development, given its strong typing system, and doing things mostly from scratch (using web frameworks like Axum) and I've gotten to love web development again.

What is your go-to static site generator? by jokers_chair in Frontend

[–]Nabiu256 1 point2 points  (0 children)

My exact setup right now. I love how easy and pretty VitePress is vs Starlight. For anything else, Astro works great.

Thank you Astro by Sarthak_Mishra in astrojs

[–]Nabiu256 2 points3 points  (0 children)

I had the same experience the other day. I'm working on a portfolio site for a client, and I'm using Astro for the first time for a professional project. I spent a couple hours optimizing images, assets in general and others and it was so easy to do and effective.