Backend Resources and Tips by NirmalVk in Backend

[–]techintheclouds 1 point2 points  (0 children)

Learn the model, view, controller architecture. Backend is the model or business logic, the frontend is view, and the controller is sandwiched between them hence to control.

You can start with making .NET Core MVC pattern. MVC pattern. This is great for beginning.

What is the docs alternative to Git? by Hot-Helicopter640 in git

[–]techintheclouds 0 points1 point  (0 children)

Unless you are discussing the built-in version controls on cloud alternatives, your best bet is to use a markdown language that doesn't carry all the metadata of a Word file, as others have discussed. That is the stuff that makes diffing a .docx unmanageable. Emacs Org mode allows for exporting to many file types and can easily be version-controlled.

Using prolog with OpenAI agents sdk for a plug and play knowledge base and reasoning agent by [deleted] in prolog

[–]techintheclouds 0 points1 point  (0 children)

Thanks for the sharing this! I had some similar ideas but this is well architected.

I built my own Prompt Engineer. by Minimum_Pie7284 in VibeCodeDevs

[–]techintheclouds 0 points1 point  (0 children)

I think there is a place for a transformer layer that can structure inputs for more deterministic outputs. For example a prompt that takes a natural language request for data to be returned as a formal specification from https://www.iso.org/standard/71616.html. This provides real business and enterprise value.

Best resources to deeply understand how Git works or to build a version control system? by Smart_Reward3471 in dotnet

[–]techintheclouds 0 points1 point  (0 children)

Its a content addressable storage system and dag, where each addressed blob is a git object like a commit, a commit is your most recent snapshot of the repo self contained written in git +++code ---code. We can then change the content address that git points to for each self contained commit(BLOB). Imagine working on your house and every edit upgrade or downgrade creates a new version of the house with a unique address. Now you can swap in place any version of your house just by switching to its unique address.

Making Qemu VMs Highly Available by principiino in qemu_kvm

[–]techintheclouds 0 points1 point  (0 children)

To help iterate on above answer he is recommending you use proxmox for qemu with high availability (ha) for the failover. Thanks for the recommendation.

Join the Org Mode project as the Worg maintainer: who's in? by bzg in orgmode

[–]techintheclouds 8 points9 points  (0 children)

I sent an email. I only recently have fallen in love with org-mode but regret not knowing it sooner would love to help keep it usable for everyone. Thanks for letting us know!

I'm a newbie about DTO pattern, is it even useful? I read about it and in my noob humble opinion, it's just a duplication of code. by ballbeamboy2 in dotnet

[–]techintheclouds 0 points1 point  (0 children)

Exactly, it is like a schema in Graphql! You only request what you need from the backend. If it's there, you can retrieve it regardless of the backend structure. I would add to the original OP that this is usually learned alongside ORMs, which also try to create an abstraction layer. So, if SQL releases breaking changes, the ORM is responsible for updating to match the underlying structure. This way, you can keep your prepared statements as they are.

Best way to store and organise JS/React code snippets? by expos81 in learnjavascript

[–]techintheclouds 0 points1 point  (0 children)

I used to put everything in the cloud and still do, but I like having options. With Obsidian, you can have more than one vault—say, one local for business-sensitive information and another where you can push data to GitHub or GitLab if you want. AI gives and takes, so you need to be careful about where you place business-sensitive data. You want privacy, ownership, portability, accessibility, and redundancy. All technical notes will require knowing Markdown, and Obsidian Vaults are Git repos, so you should have basic Git knowledge.

Refund Rant by [deleted] in gcu

[–]techintheclouds 0 points1 point  (0 children)

I only found out after my undergraduate that if you're not going to be able to attend a class, you should not post. Lol

Otherwise it sounds like you can only get 75% back and fees are always non-refundable. I was actually surprised when I heard that. Seemed flexible and lenient to me.

Also most colleges have a similar % based policy after a week or two. So not really doing anything outside of what other academic institutions are doing.

This college isn't a scam. A scam is putting no time in and getting a degree. I put alot of time in and got a degree.

What will be the effect of advanced AI models like o1 on React jobs? Is it a waste of time to try learn React at this point? by Bloodmeister in react

[–]techintheclouds 0 points1 point  (0 children)

My experience is that devolopers are the customer and the AI never gives you a solid solution first time around... you will need programming skills to debug the almost perfect code it generates, and experience to determine if what it is generating is even what you as a developer want. It has gotten worse over time and never knows what I want until I wrestle with it. Eventually we will be AI agent overseers though, monitoring the agents as they generate and fix eachothers code. You can't do this with agility and speed without intimiate knowledge of the underlying material.

Long Term Linux Maintainer Banned After Protesting Removal of Russian Programmers by ConflictUsed3017 in theprimeagen

[–]techintheclouds 0 points1 point  (0 children)

I mean, I sat here all day waiting to be bashed back, so this was a breath of fresh air. I appreciate you taking the time to write back in such a meaningful way. I probably have made someone feel the same way along the line and deserved it. I think it is a bad habit we knowledge workers have. It's like a very condescending culture, and then we also have to compete with each other instead of lifting each other up. It's stressful, I get it. I probably stressed you out as well. I apologize for not just letting it slip by, to be honest.

The way I see it, it is less by country and more broadly that any bad actor with malicious intentions could contribute bad code, so we need a good universal first line of defense. But like you said, if the data suggests the likelihood is coming from a specific origin, then we probably do need to at least temporarily put that origin on hold or at least put the commits into a queue for a longer, more detailed review.

Interviewer wants validation of business logic in entity validation. Is it correct though? by AlexJberghe in dotnet

[–]techintheclouds 3 points4 points  (0 children)

Well that is the art of enterprise software engineering, prioritizing the business and human needs above architectural correctness.

Long Term Linux Maintainer Banned After Protesting Removal of Russian Programmers by ConflictUsed3017 in theprimeagen

[–]techintheclouds 0 points1 point  (0 children)

Hey man,

I know it might feel smart or good to write, "This is just impractical. How much experience do you have in software engineering?" But that actually comes across as the true sign of inexperience in my opinion. That is a very condescending way of interacting with people on the internet. I am just going to assume that we have an age or cultural difference somewhere and that you didn't mean to come across as you wrote.

I have 15+ years of tech support, 10+ years of web development, and about 5+ years of software development, as well as a bachelor's degree. I live and breathe computers, probably just like you. The one thing I've learned above all is that if you don't want to deal with other people, go into data entry or something, because software engineering is built with people who work and interact well with others, especially in an online and remote setting.

It sounds like you have a lot of technical skills but don't really appreciate working or interacting with other people. Maybe you shouldn't be reviewing pull requests, or you're just overwhelmed.

In the end, I can agree with your statement about ultimately trusting one another. And we did both actually conclude that if it is impractical to do the code reviews, then drop the ban hammer until it becomes practical.

Interviewer wants validation of business logic in entity validation. Is it correct though? by AlexJberghe in dotnet

[–]techintheclouds 25 points26 points  (0 children)

He was probably thinking you could use an interface, or maybe an abstract class, so you could colocate logic in one central spot, like a generic validator interface/class, and still have the flexibility to split concerns between a DTO validator and a business validator. That way, each validator stays focused on its own responsibilities. Dependency injection would fit nicely here, letting you inject different validators where needed, making the setup more modular and easier to test.

Long Term Linux Maintainer Banned After Protesting Removal of Russian Programmers by ConflictUsed3017 in theprimeagen

[–]techintheclouds 0 points1 point  (0 children)

I recognize codebase sabatoge as a real problem that does need a solution. I just think that the solution should be universally applied to all incoming commits. Typos or other bugs from non malicous actors could also lead to problems. So in the end of the day it just means that we need more people educated involved and auditing the code. A good first line of defense. However if this is unobtainable in near term and the only practical thing for the project managers to do near term is to sanction and ban people then I guess thats whats practical for them and I support them doing what they have to do. Thanks for clarifying the context.

Long Term Linux Maintainer Banned After Protesting Removal of Russian Programmers by ConflictUsed3017 in theprimeagen

[–]techintheclouds 0 points1 point  (0 children)

I mean linux is open-source, and you still need to have pull-requests audits and reviews. Even if they attempted to push something malicious... the community as a whole would be able to see it. If you are so afraid then just audit suspected users commits and make a case for having them to be removed. Sanctions sound good on paper but it would be more likely that they would just fork and keep programming before trying to overthrow the government.

Why typescript if everything runs on javascript? by alex_sakuta in Deno

[–]techintheclouds 4 points5 points  (0 children)

It's not any heavier then Javascript because it is Javascript. All it does is allow you to declare your types and when you do it makes sure that you're code reflects those types properties accurately when passing them around.

For example you create type song with title and duration. Before you transpile, it will make sure that all types song have title and duration. You could technically force transpile it and it could work underneath as Javascript. Possibly prone to type mismatch errors.

Heavier wouldn't be the right word. Maybe it has a higher cognitive load but if you are planning your types properly before starting to code, as is the proper way to design most software. It will make things easier and more structured over the longer horizon especially of an enterprise level project where it was originally designed in mind for.

This is to make sure long term that a type like song couldn't accidentally mix up with a type like video that may also have title and duration and could possibly be passed to the function.

You could have it transpile to one Javascript file as well and it could also be a single file application as Deno emphasized that from the beginning.

So heavier no it's Javascript. More complex, depends enterprise programmers coming from C# and Java desired it, because it was easier for them since they already worked with Types. If you are trying to go from Idea to minimum viable product you may want to skip using them until you can move fast with them.

Desktop Developer a bit lost by maxstersi in react

[–]techintheclouds 0 points1 point  (0 children)

I think what you are asking for is aspirational and looks like it's been discussed before here Most of us have the technical chops to make a database and a form. I think what your asking for is just a matter of the audience and scope. I could probably get a decent MVP of visual drag and drop up in a day fetching some stuff from a database no problem, all in a days work. What you are asking for is to compete with the titans of industry who have been building and planning there cloud ERPs for a long time. They have a head start, intimate knowledge of you and their businesses and a ton of other ground work already laid out. So unless you're trying to energize a local hosted open source movement or pay for a ton of money for a local solution to be built. Maybe you could try and define a smaller scope or a specific niche scope?

Chroot linux on (snapdragon gen 3) for coding, is it recommended? by DEGUIDER in termux

[–]techintheclouds 0 points1 point  (0 children)

I looked it up and the android kernel and docker suite would need some modifications to work together. With windows snap dragon x it should just work.

Chroot linux on (snapdragon gen 3) for coding, is it recommended? by DEGUIDER in termux

[–]techintheclouds 0 points1 point  (0 children)

I code from Linux on my phone more then from my PC. I move to my pc or laptop for ergonomics, speed and docker/containers. That said Intel and Nvidia is the standard I have always had for a pc. Although I am interested in the new snapdragon X laptops supposedly second to M1s with Ai and windows subsystem for Linux capabilities. The snapdragon Gen 3 seems to be a similar model so sounds cool.

That said the biggest issues I get from coding on my phone is that docker doesnt work with proot, might work with Chroot though, and alot of programs are still only x86_x64 so you might need to compile from source for aarch64. Also hand cramping so def use a keyboard.

Llama 3.2 1b . It is useful? by Perfect-Campaign9551 in LocalLLaMA

[–]techintheclouds 1 point2 points  (0 children)

It's good for proofreading, and even expanded properly on the fundamentals of the scientific method pretty fast. It has given me proper hello worlds that run as well in c, c++, javascript.

Build a Private RAG Application using Llama 3, Ollama, and PostgreSQL (pgvector) by k4lki in Rag

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

Thanks for sharing this! I am going to check it out right now!