truechange

u/truechange



If you inherited a project and you have no clue or guides on what kind of architecture was used. Which one looks more intuitive or less confusuing to you? A or B

Structure A

src/
+-- Domain/
¦   +-- Supplier/
¦   ¦   +-- SupplierEntity
¦   ¦   +-- SupplierRepoInterface
¦   +-- Customer/
¦   ¦   +-- CustomerEntity
¦   ¦   +-- CustomerRepoInterface
¦
+-- App/
¦   +-- Supplier/
¦   ¦   +-- UseCase/
¦   ¦       +-- UpdateInventory
¦   ¦       +-- MarkOrderAsShipped
¦   +-- Customer/
¦   ¦   +-- UseCase/
¦   ¦       +-- PlaceOrder
¦   ¦       +-- UpdateProfile
¦
+-- Infra/
¦   +-- Persistence/
¦   +--
416

If you were to inherit a project, which one looks more intuitive, A or B?

Structure A

src/
+-- Domain/
¦   +-- Admin/
¦   ¦   +-- AdminEntity
¦   ¦   +-- AdminRepoInterface
¦   +-- Supplier/
¦   ¦   +-- SupplierEntity
¦   ¦   +-- SupplierRepoInterface
¦   +-- Customer/
¦   ¦   +-- CustomerEntity
¦   ¦   +-- CustomerRepoInterface
¦   +-- Order/
¦       +-- OrderEntity
¦       +-- OrderRepoInterface
¦
+-- App/
¦   +-- Admin/
¦   ¦   +-- UseCase/
¦   ¦       +-- ActivateSupplier
¦   ¦       +-- BanCustomer
¦   +-- Supplier/
¦   ¦   +-- UseCase/
¦   ¦       +-- UpdateInventory
¦   ¦       +-- M
1319


r/webdev•

I use AI assistance for specific code pieces ​or class-level boundery at most for difficult stuff, if any, ​but never the whole project. Basically, I am still the architect and still code things together manually​.

Although admittedly, AI has become too advance these days, I could let it do 100% of the project ​and it will work fine, not perfect all the time of course.

How is it in your workplace? I guess I want to vibe check if my process is still worth it. I know it is if you love the craft but at the same it's becoming commoditized as AI advances.

013



r/windows•

So I just tried W11 because of EOLs and noticed immediately that the taskbar is too tall and unresizable, not to mention the confusing taskbar icons since W10? -- who knows if they are shortcuts or active windows?

Also, the real right click/context menu is hidden under a fancy menu that is 90% useless. At least you can regedit the fancy menu away but the taskbar? Apparently, years after release, there is still no way to resize natively.

Anyway, W11 feels like an update for the sake of an update, e.g., center Start menu, why? The whole world knows Windows == left Start menu. And who actually uses those Widgets, who asked for them that they got priority over resizable taskbar?

Until when wi

812

r/thinkpad•

So apparently x230 doesn't allow use of aftermarket batteries unless you use a custom patch that disables it.

My question is, using an aftermarket battery, can you at least flash the patch that disables the restriction? And what if that battery is empty?

18

r/thinkpad•

x230 with issue:

Screen suddenly shuts down after a few minutes of usage. When you turn it back on, it boots with extremely dim screen (you can see boot logo if you point a flash light) with the keyboard not working. When Windows is done loading, the dim screen appears to become even more invisible, even flash light can't see a thing.

Now if you let it rest for a while, screen is fine again (bright) and keyboard works fine, and the shutdown/dim cycle repeats.

External monitor and keyboard works fine regardless of screen state.

I tried reseating the RAM/HDD/LVDS cable, no effect.

Is this a whole panel issue or just LVDS cable?

10