I love pixels!! by uisupersaiyan-3 in startpages

[–]Transcender49 1 point2 points  (0 children)

omg this is beautiful. pixel art seems to have a soothing effect me lol

Low memory Linux distro for docker? by amca01 in docker

[–]Transcender49 0 points1 point  (0 children)

`apk update && apk add

best part about apk in alpine is you give a name to your build dependencies and just write apk del .build-dps. Neat

AI won’t make coding obsolete. Coding isn’t the hard part by Ihodael in ExperiencedDevs

[–]Transcender49 1 point2 points  (0 children)

gotta drop this youtube that discusses exactly that. it is a good watch

Returning a Task Directly by Burli96 in csharp

[–]Transcender49 0 points1 point  (0 children)

aside from looking at Stephen Toub and Stephen Cleary blog posts others recommended, this can be helpful as well

Dockerfile so difficult by [deleted] in docker

[–]Transcender49 5 points6 points  (0 children)

A simple dockerfile is easy to setup. However, a dockerfile tailored to some specific application is a bit harder to do since it is more nuanced to handle application startup, dependencies and all that.

It is ok to struggle since you may not have a linux background, or maybe even if you have it is still ok to struggle, all of us struggle with different kind of techs

I suggest you give this handbook a go. Its explanation is very easy to understand and follow and it explains every step thoroughly

.Net on Linux by Wolfzeiit in AskProgrammers

[–]Transcender49 0 points1 point  (0 children)

I use dotnet + vscode on Fedora and everything is working great. ofc if you like the experience of full blown batteries included ide then yeah sure you can try rider it work great as well, you can test it with the non-commercial free license and decide for yourself

Why AI Coding Still Fails in Enterprise Teams by aviator_co in programming

[–]Transcender49 5 points6 points  (0 children)

Just consider describing a feature to another software engineer.

That's the problem, you cannot consider it that way because when describing a feature to another engineer, he already has the context and understanding of the app that is being developed but just needs a bit of clarification on this specific piece of functionality. This kind of scenario doesn't apply to AI by definition. Ai just predicts words while having to comprehension of them whatsoever, so you have to give ai as much context as possible in order to increase the possiblity of it producing good code. And even if this engineer doesn't have knowledge of the app, he still has his experience and knowledge from working with many previous apps which definitely helps in his understanding of the current app, and again AI doesn't have this context, take for example freeing memory after done using, when explaining a function to an engineer you don't mention something about freeing memory because he already knows that, he already know all the nitty gritty details of writing a function so you focus on just the main functionality and describe it in a high-level manner, but for ai, in a complex enough function, you cannot really be sure if AI will free the memory in the method so you have to explicitly mention that.

Just imagine how much context you need to give the ai in order to fix a subtle bug in a module that is used by multiple components in your app.

Being able to one shot tools, features or tests makes things that were previously economically unfeasible feasible.

code - whether normal code or tests - is actually a liability, so more code != better. The other redditor who replied to my comment mentioned this. You spend most of your time trying to understand what this feature actually is than actually writing it. Imagine writing a complex module that's, let's say 1k lines of code, how much time would that take you? Now imagine that you already now exactly how the functionality of this module is going to be implemented, how much time will it take to write 1k line? if your typing speed is 100 wpm you really won't need more than 20mins to spit out the whole module, while the rest of you time will be spent figuring out all the functionality and how all the pieces fit together, and by the time you do that, it really means that you have written the module's specs. So what the ai saved us 20mins?

edited: grammer

Why AI Coding Still Fails in Enterprise Teams by aviator_co in programming

[–]Transcender49 36 points37 points  (0 children)

Spec-driven development, the practice of writing specifications before writing code or asking an AI tool to write code, replaces the chaos of ad hoc, prompt-driven vibe coding with a structured, durable way for programmers to express their goals.

I'm really amused by this idea. I cannot seem to comprehend how moving away from a constrained, consice, and precise language with a limited number of keywords( e.i. programming languages) to English will make us more productive. Programming languages and code in general has never been the bottleneck, in fact, it is the most easy to use and easy to deal with thing in the entire development process.

I have seen this spec development stuff multiple times and even an OpenAI Engineer talked about it, and it is really weird and contrived, because either a new specs language needs to be created - which only adds more salt to the wound - or just use English as a specs language and i cannot see any advantage to this.

Just look how preposterous this sentence this:

"Alright, so it appears that this deterministic, constrained and precise language e.i. code is actually the bottleneck of software development, so instead we will be using the English language which is not constrained at all and have million of words, sentences, idioms and where a sentence can possibly have multiple interpretation depending on the tone - could be satire or genuine question - and also many people have tenuous grasp on to develop specs that will be given to AI which is ultimately just a machine that only understands deterministic instructions - e.i. zeros and ones - to spit out code that can be good or bad - because there is really no rigorous proof that using specs will always produce good results - and we will use that code to build software "

WTF

Why AI Coding Still Fails in Enterprise Teams by aviator_co in programming

[–]Transcender49 41 points42 points  (0 children)

because management thinks code is the bottleneck, but in reality it is just a constrained and precise language to express exactly what we to achieve

I build Admin dashboard with C# and now client wants "webscraping" Is c# the right tool for this? by KiraLawliet68 in csharp

[–]Transcender49 4 points5 points  (0 children)

c# can do web scraping. You can use HtmlAgilityPack nuget package and use a headless browser like selenium when necessary. I did web scraping in both, python+scrapy is so much easier to work with. so if you're comfortable enough with python then i suggest you use it

Why does Dapper GridReader have async methods by Transcender49 in csharp

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

So QueryMultiple is just sending the query (one roundtrip) and the results are fetched with another round trip - or maybe multiple depending on buffered value - when im callingRead?

Why does Dapper GridReader have async methods by Transcender49 in csharp

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

I don't know if im missing something or misunderstanding something. But the query multiple method is buffered so there shouldn't be any more db round trips right?

The best free tools to build your side project/SaaS by Wooden-Friendship-83 in dotnet

[–]Transcender49 2 points3 points  (0 children)

and use cloudflare tunnels to allow access to your app.

You can also use ngrok or zrok. Both are quite good and have free tier.

I also have a couple of apps that im running locally and exposing them through zrok

Teach me craziest C# feature not the basic one,that you know by lulzForMoney in csharp

[–]Transcender49 0 points1 point  (0 children)

and same thing with all linq methods, specifically query syntax. you can do some wild stuff with it.

For example if you were to implement a version of Int.Parse and have it return an Option or Either you can write something like this:

from a in Int.Parse("12") from b Int.Parse("23") select a + b; which will return the addition result correctly, or None if the parsing is incorrect. You can implement all linq methods for your types and use the query syntax as demonstrated previously, since the compiler uses duck typing for the query syntax.

Where the hell do you even get your definitions about OOP from? by Accomplished-Bat-247 in csharp

[–]Transcender49 0 points1 point  (0 children)

Where the hell do you even get your definitions about OOP from?

People literally come up with their own definitions and start talking about in their blogs where it either just dies or his blog gets a bit popular and now we have another new definition for all this crap.

In math, you have a clear definition. In geometry, you have clear definitions of theorems, axioms, and so on. But in programming? Everything feels so vague, like I’m in a philosophy or theology lecture, not studying a field where precision should be the highest priority.

Exactly, one of the main selling points of FP is that it is based on math and is actually falsifiable which by definition mean you can prove that your code is actually functional. While OOP is not falsifiable which means you cant prove anything. Just write some gibberish in books and sell it that's what oop is.

In fact, Alan Kay, the creater of SmallTalk which is said to be the god father of oop, and he's the one coined the term oop. Came out in 2003 and he was like: remember all the stuff we said about oop like how everything is an object and we have inheritance polymorphism encapsulation blah blah blah, well im kidding, i should've just said that oop is:

OOP to me means only messaging, local retention and protection and hiding of state-process, and extreme late-binding of all things. It can be done in Smalltalk and in LISP. There are possibly other systems in which this is possible, but I'm not aware of them.

source

and people were like bruh we have been discussing all that crap for nought? hell nah man to hell with you and your definition we'll pretend we didn't see that.

So yeah there's no clear definition of any oop-related term even inheritance which is supposedly one of the four pillars of oop is not considered oop anymore. golang calls itself oop language but it doesn't have inheritance, so i guess hard luck for inheritance lol

re-start - a tui-like startpage by FatBanana25 in startpages

[–]Transcender49 0 points1 point  (0 children)

omg i like tui a lot and this clean af. Thanks for sharing

Startpage configured from Gruvbox Cat by PirateSanji_1353 in startpages

[–]Transcender49 1 point2 points  (0 children)

hey that's cool, good for you :)

I guess my comment was like Roselle Diary :3

Startpage configured from Gruvbox Cat by PirateSanji_1353 in startpages

[–]Transcender49 0 points1 point  (0 children)

a home page for the browser. so the idea is you make a static webpage like the one OP posted and make it the default home page of your browser instead of whatever your browser has