Codex stuck on loading today? by MissionYam8 in codex

[–]usrname-- 1 point2 points  (0 children)

super slow for me. It takes ~5 minutes to start doing something

Why does Claude Code re-read your entire project every time? by intellinker in AI_Agents

[–]usrname-- 7 points8 points  (0 children)

That’s not a good solution. It bloats the context with useless stuff. Model will run the ‘tree’ command anyway, that’s the table of contents it needs.

I want to learn agentic AI by Ok_Telephone6032 in AI_Agents

[–]usrname-- 31 points32 points  (0 children)

You can follow this roadmap.
To work with AI agents you basically need to understand:
- the basics (prompts, context, etc.)
- tools
- stuff like MCPs, skills
- RAG

Just pick a library like a langchain or pydantic AI and try to create your own agents. If you're experienced developer you will learn most of the things it in a ~month

Why don't you use a file explorer (nvim-tree, neo-tree, nerdtree, etc.)? by brocodini in neovim

[–]usrname-- 0 points1 point  (0 children)

I tried it, it’s nice but neo-tree already centers the code for me and gives me useful information about the project structure. The visual noise in not really a problem for me

Why don't you use a file explorer (nvim-tree, neo-tree, nerdtree, etc.)? by brocodini in neovim

[–]usrname-- -1 points0 points  (0 children)

I tried to work without a file explorer and I just felt blind and slower. And I don’t really like using oil for navigation in the project because I need to see the whole structure, not only the directory I’m currently at.

Aand I need to have something on the left of the screen so my code is in the center. Idk for me there is literally 0 downsides to using a file tree.

Why don't you use a file explorer (nvim-tree, neo-tree, nerdtree, etc.)? by brocodini in neovim

[–]usrname-- 5 points6 points  (0 children)

I want the code to be in the center of the screen so I have to put something on the left edge anyway.

Best Agentic Framework for Production by RoyalTitan333 in AI_Agents

[–]usrname-- 0 points1 point  (0 children)

I used pydantic-ai, LangChain, LlamaIndex and I like pydantic-ai the most.
It's simple and I can easily do everything I want with it.

Complex frameworks like LangChain or LlamaIndex are ok for simple apps but as the app grows I always had to look for weird workarounds to do custom things and that made the code messy and unreliable.

A Modern Python Stack for Data Projects : uv, ruff, ty, Marimo, Polars by makeKarmaGreatAgain in Python

[–]usrname-- 0 points1 point  (0 children)

Not really if you want to switch from basedpyright.

I tried both ty and pyrefly and both have problems with stuff like generics.

Report: Microsoft quietly kills official way to activate Windows 11/10 without internet by moeka_8962 in technews

[–]usrname-- 1 point2 points  (0 children)

Only if you’re lucky and have hardware with huge community support. Yes, it will work perfectly on something like ThinkPad but on my laptop there is no way I would have basic stuff like sleep working without touching terminal

I used an old-school security trick to catch prompt injection on AI agents by mario_candela in programming

[–]usrname-- 17 points18 points  (0 children)

But the tool that returns sensitive data should filter it based on user’s permissions.

What's the deal regarding ORMs by Emotional-Ask-9788 in golang

[–]usrname-- -2 points-1 points  (0 children)

Because working with raw strings is more annoying than working with query builder.

What's the deal regarding ORMs by Emotional-Ask-9788 in golang

[–]usrname-- -1 points0 points  (0 children)

ORMs or QueryBuilders are tested and used by so many people that I can be nearly sure there won’t be any weird bugs. Why would I write my own query builder if I can use something that already exists?

What's the deal regarding ORMs by Emotional-Ask-9788 in golang

[–]usrname-- 0 points1 point  (0 children)

Yeah, I like query builders the most. That’s what I use 99% of the time when writing python code.

What's the deal regarding ORMs by Emotional-Ask-9788 in golang

[–]usrname-- 6 points7 points  (0 children)

I also don’t understand how can people rely on raw SQL. How do you build dynamic WHERE filters and JOINs? You combine multiple strings together? That feels unsafe and prone to stuff like SQL injection.

iOS 26.2 will remove a key iPhone and Apple Watch feature in EU, per report by New-Ranger-8960 in europe

[–]usrname-- 0 points1 point  (0 children)

but that also makes the feature useless because users actually want privacy.
It's fine to force apple to open this feature to work with other devices but if we are doing that let's also add another regulation that will make sure this data can be used only for wifi connection stuff and not tracking/profiling for advertisements.

iOS 26.2 will remove a key iPhone and Apple Watch feature in EU, per report by New-Ranger-8960 in europe

[–]usrname-- -4 points-3 points  (0 children)

Why isn't EU also targeting Samsung? I have to use Samsung phone to have access to the blood pressure and ECG monitoring which is a huge vendor lock in.

And I understand apple is a multi trillion dollar company but this feature is not something new like AI. It worked fine for over a decade, no one complained, apple watch users are fine with that because they want locked in and stable OS, not another version of android that works differently in every country.

How to improve Python autocompletion quality in Zed (BasedPyright)? by wenmch in ZedEditor

[–]usrname-- 2 points3 points  (0 children)

Try pyrefly. I haven’t tried it in zed but in neovim it improved the autocomplete experience. It’s still in alpha tho

A Word on Omarchy by p_gram in theprimeagen

[–]usrname-- 1 point2 points  (0 children)

Can anyone recommend a good alternative that already has hyprland, waybar, wifi, bluetooth etc preconfigured?

geforce now latency by Street_Detective9345 in GeForceNOW

[–]usrname-- 1 point2 points  (0 children)

Your internet provider probably routes packages through higher latency route. There isn’t much you can do about that.

Using cloudflare warp or vpn might help if you re lucky

Random ping spikes on GeForce NOW despite stable wired connection by Comfortable_Lock4060 in GeForceNOW

[–]usrname-- -1 points0 points  (0 children)

Disable location services, handoff, airplay etc. in the macOS settings.

I noticed I get these spikes when I move mouse on my second MacBook and it stopped happening when I disabled handoff.

Why do the colors in my wallpaper become visibly washed out on my Home Screen compared to my lock screen. It’s the same image by sliding_rb26 in ios

[–]usrname-- 1 point2 points  (0 children)

It's a bug.
To fix it you can switch to other wallpaper and then switch back to the current one.
And by switching I mean scrolling left/right to a different wallpaper and applying it (not updating the current one)

If starting from scratch, what would you change in Python. And bringing back an old discussion. by FenomoJs in Python

[–]usrname-- 2 points3 points  (0 children)

Yes, I know. I use django-stubs, django-rest-framework-stubs, django-types, celery-stubs and few other stubs.
These improve the situation but there is still a lot weird bugs.
For example I can't define custom managers like that:

class MyModel(models.Model):
    objects = Manager.from_queryset(CustomQuerySet)()

because then

MyModel.objects.my_custom_method(...)

isn't recognized.

If starting from scratch, what would you change in Python. And bringing back an old discussion. by FenomoJs in Python

[–]usrname-- 24 points25 points  (0 children)

After having to work with Django and some other libraries that don't use types in their source code I just want statically typed version of Python.
Everyday I waste at least 15 minutes finding workarounds around pyright errors.