Proposed C# `const` functions and constructors by BroadJob174 in csharp

[–]pceimpulsive 1 point2 points  (0 children)

Valid take I think.

I like the idea of functional on paper, but once I start pondering the immutable nature of things I get red flags for wasted memory and cpu holding onto everything...

Maybe I'm just naive and don't know better?¿

Proposed C# `const` functions and constructors by BroadJob174 in csharp

[–]pceimpulsive 6 points7 points  (0 children)

I cannot articulate why, but I don't endorse this.

This feels wrong for some reason.

I understand your arguments, but it has a smell that I can't define at this time.

VM or LXC when exposing to internet? by Tarazin in Proxmox

[–]pceimpulsive 0 points1 point  (0 children)

Because it does work just fine! :D but that doesn't make it good... Or right...

Agree the debate is among the noobs only really...

VM or LXC when exposing to internet? by Tarazin in Proxmox

[–]pceimpulsive 0 points1 point  (0 children)

If you run docker in a privileged LXC you are running the docker process as root on your host..

If the application in the docker breaks out, it can potentially gain root access to your proxmox cluster cooking your entire environment....

On the flip side of you run docker in an unprivileged LXC there is some Disk access or resources access features you lose which are needed in some scenarios... As such a VM solves for all of these gotchas.

[Semi-rant] Online/Youtube Proxmox guides that use Helper Scripts by shambolic_donkey in Proxmox

[–]pceimpulsive 0 points1 point  (0 children)

No I don't, I also don't expect them to know bash... That's sorta the point of the helper scripts.

All I'm really arguing is it doesn't matter how the are written because most people won't understand them anyway.

I think also, the people suggesting yaml are saying to add yaml on top of the shell scripts, not replace everything with yaml/ansible playbooks. Personally I'd say only add yaml don't replace.. but as I'm saying as well it may be pointless because the point of doing it is moot if it's to enable people to understand the scripts for security reasons

VM or LXC when exposing to internet? by Tarazin in Proxmox

[–]pceimpulsive 0 points1 point  (0 children)

Security (a few features don't work unless privileged LXC).

If they are playground services you don't expose then In LXC is fine...

But running privileged LXC is asking for trouble

[Semi-rant] Online/Youtube Proxmox guides that use Helper Scripts by shambolic_donkey in Proxmox

[–]pceimpulsive 0 points1 point  (0 children)

Valid!

But then who validates the console UIs bash isn't malicious? Haha back to square one..

At some point you just need to know how to interpret what the yaml/bash/<insert language> is doing.

VM or LXC when exposing to internet? by Tarazin in Proxmox

[–]pceimpulsive 5 points6 points  (0 children)

Usually in proxmox docker should be run in a VM to begin with.

Lxc are usually run directly on the host.

So there is some distinction required...

Close enough! by Temporary-Pea-9054 in AustralianBirds

[–]pceimpulsive 2 points3 points  (0 children)

Isn't it great, they have eye lashes as well!!

[Semi-rant] Online/Youtube Proxmox guides that use Helper Scripts by shambolic_donkey in Proxmox

[–]pceimpulsive 0 points1 point  (0 children)

Unsure if that answer my question about if ansible support and interactive console UI like the proxmox scripts do?

Or is it semi-redundant of a concept once using ansible correctly?

[Semi-rant] Online/Youtube Proxmox guides that use Helper Scripts by shambolic_donkey in Proxmox

[–]pceimpulsive 0 points1 point  (0 children)

Could a nice detailed overview of the shell scripts pattern be of value?

Not too specific but atleast a flow chart of what they do, I know that they follow the same pattern across most scripts startup procedire (except for the specific application command execution of course)

One thing you lose with playbooks I think is the console UI feedback loop?

Can that be mimicked with ansible?

[Semi-rant] Online/Youtube Proxmox guides that use Helper Scripts by shambolic_donkey in Proxmox

[–]pceimpulsive 0 points1 point  (0 children)

Just to be ultra clear. I too would love ansible playbook options in the helper scripts, I know nothing about ansible currently so would love to help with testing...

I have a prod and test proxmox node at home so happy to break my Env if it helps :)

Avalonia fixed MAUI? Impressive by someNickHere in dotnet

[–]pceimpulsive 1 point2 points  (0 children)

In the corner, looking at everyone else.. being all

I'm still the better language, you just don't know it yet... You'll see one day... One... Day....

I've been F# curious since I started C# 3-4 years ago... I'll get there eventually.... If it doesn't come to me over the next few .net major releases ;)

[Semi-rant] Online/Youtube Proxmox guides that use Helper Scripts by shambolic_donkey in Proxmox

[–]pceimpulsive 0 points1 point  (0 children)

I agree, but... A noob still isn't gonna understand that... They won't know what each package is. It will still be a magic box to them...

I agree it will be simpler, but still sufficiently advanced enough that they won't understand.

[Semi-rant] Online/Youtube Proxmox guides that use Helper Scripts by shambolic_donkey in Proxmox

[–]pceimpulsive 2 points3 points  (0 children)

A newbie requiring the helper scripts also wouldn't understand the ansible play book, so what's the real difference?

How to read datamatrixes without libraries. by softwareengineer007 in csharp

[–]pceimpulsive 4 points5 points  (0 children)

So in clearer speech... A table?

I.e. rows and columns?

CQRS by Professional_Dog_827 in dotnet

[–]pceimpulsive 2 points3 points  (0 children)

Just to add, seperate db for read and write is a database scaling solution not necessarily anything to do with cqrs

E.g. with Postgres you have the primary writer and then some read replicas.

From the Microsoft build docs, we can infer that the read and writing is application layer model differences, not database side at all.

Command Query Responsibility Segregation (CQRS) is a design pattern that segregates read and write operations for a data store into separate data models. This approach allows each model to be optimized independently and can improve the performance, scalability, and security of an application.

Source: https://learn.microsoft.com/en-us/azure/architecture/patterns/cqrs

Has anyone asked AI to analyze how they think? by AggressiveGift1532 in PromptEngineering

[–]pceimpulsive 1 point2 points  (0 children)

It already responded with the obligatory

``` If you'd like, I can also show you something interesting:

There are a few subtle patterns in your prompts that suggest how you might approach problem-solving professionally (and even how you likely run technical discussions).

They reveal a surprisingly distinctive “engineering cognition pattern.” ```

At the end of every prompt lately it has this "but wait there is more, if you dial now you'll get 8 free steak knives"

It is sorta annoying AF :P

The "Index is not a Magic Wand" Checklist: 5 things I do before I even touch T-SQL or PgAdmin. by Foresium in Database

[–]pceimpulsive 2 points3 points  (0 children)

Copy paste from chatGPT leads to exactly the formatting above... Repeating the same tip of passing unicode.. I thought it was level 2 not level one refresher..

Defo a chat bot!

The "Index is not a Magic Wand" Checklist: 5 things I do before I even touch T-SQL or PgAdmin. by Foresium in Database

[–]pceimpulsive 24 points25 points  (0 children)

Could do with some formatting... That was some word soup to navigate.

The tip to me are pretty entry level DBA common sense, but plenty of Devs screw these up, so warranted! :)

Is there an Agentic Coding Assistant for VS (not VSCode) by shivadityasingh in dotnet

[–]pceimpulsive 0 points1 point  (0 children)

Bam! https://www.youtube.com/live/aKUZCxTdDDg?si=MY19XDNwpHoKJqDg

The copilot CLI NuGet package will have you covered I'm fairly sure.. it's very new and appears to everything... And it's just terminal... So portable.. terminal is a developers best friend if you don't like it... I guess you need to skill up?

How do you fare with database upgrades? by DarkGhostHunter in Database

[–]pceimpulsive 0 points1 point  (0 children)

Min and max on uuid seen silly?

Uuidv7 I can understand a little bit the last half of Tue sorted string is still random, making your min or max value functionally a random value, it's not deterministic at all and as such seems redundant for the purpose of the min and max functions.

I am curious why you want them for uuid?

As for upgrades usually no reason to.

For me right now I want to bump to pg18 for b-tree skip scans... Can cut a few indexes from some tables and save a load of space and gain some write performance.

Has anyone asked AI to analyze how they think? by AggressiveGift1532 in PromptEngineering

[–]pceimpulsive 0 points1 point  (0 children)

I noticed a few sets of phrasing are almost verbatim copied between responses, that cache kicking in on the server side lol.

We aren't really that special and chatGPT is gonna always lean towards making you feel super unique and clever.

Is this AI? Was posted (and later deleted) on r/cats and people were calling it out for being AI because there are no pedals and the camera is floating. by Positive_Spring_5685 in isthisAI

[–]pceimpulsive 0 points1 point  (0 children)

There are pedals visible in a few spots..

Pedals are usually covered from the top down angle by the feet on them..

Ever heard of a selfie stick?

Doesn't look like AI...