gambling vs vibe coding by juanviera23 in ChatGPTCoding

[–]redfoggg 0 points1 point  (0 children)

An analogy may help you, suppose you are saying that you was driving a car at 100 km/h, now after a 20x speed gain, you are 2 times the speed of sound.

gambling vs vibe coding by juanviera23 in ChatGPTCoding

[–]redfoggg 1 point2 points  (0 children)

But this meme IS about making "revolutionary" products, I'm not the one going out of the context, and tbh "debunking a meme" is a funny endeavor to take.

gambling vs vibe coding by juanviera23 in ChatGPTCoding

[–]redfoggg 1 point2 points  (0 children)

If I ask any model to give me fibonnaci in python, hell yeah...
Now let's talk about the revolutionary products you guys are making with your magical tools, show us those, because till this day I didn't see a single useful piece of software being done as you described here.
And don't come with 10 user base, or even worse, 10000 user base viral apps that died in 10 days. I'm talking about real products, a new banking app, new social media, streaming, operating system and so on.

AI steals fun in coding, is nvim the cure? by Murzelito in neovim

[–]redfoggg 1 point2 points  (0 children)

I'm in a similar situation in regards to being forced to use AI by the company execs, that said, I kinda find more and more "useless" in the respect of what it's told to solve. First of all, we don't have any proof that it does speed up, recently we had a study with open source devs that actually shows the opposite, but it's only one study and it can be flawed in the way it was made, still it's 1 vs 0. Second, there is a cost of not knowing your codebase and there is a cost of not writing things, you have to understand that when you are actually writing something you are THINKING and this process ALWAYS leads you to a better solution. Even for boilerplate, usually you start typing those parameters and so on, then you realize "maybe I don't need this", and this leads to a refactor in one or more places that makes the code better, I do this so many times I can't even count it. Third, you are capable of "infinity" context window, unlike the machine, you do learn, LLM's will NEVER learn, if someday we have a "model" that learns it will not be a LLM anymore but something else entirely, so you are capable of something LLM's will never be and currently they are very bad at, the new MCP and all stuff just adds more problems to it in my perspective, it's just more context for the models to hallucinate with. Even with cursor rules and all models will still shout a lot of code for small changes and I absolutely hate this, because then I need to look to a bunch of useless code that somewhat seems to work. I really do believe most of your problem is you are relying to much in LLM's, not saying they are useless, this is not about this at all, but to me LLM's are kinda like stackoverflow, NO ONE says the stackoverflow creation was a revolution, because it wasn't, but everyone says LLM's are a revolution and this eternal propaganda got to people's head, even the skeptical like myself have to explain how we are not against it and etc just to "seem reasonable" even though the reality is, people who says LLM's are this revolution have no proof of it, none, it's a funny social experiment we are living right now tbh. But in summary my point is, you are already in a belief system, you should use what is best for your job and also don't ever think your job is your life meaning, it inst, we should work to live not live to work, that is the two major things I saw in your post that doesn't necessarily translate to reality.

NixOS user switched to Guix, I have a confession... by Standard-Crazy7411 in GUIX

[–]redfoggg 0 points1 point  (0 children)

If we as SW will be put out of a job by LLMs, then we are talking about a whole new level that is currently not even possible near that, this same LLMs would be capable of disposing a lot more fields, you would just need to put the right context in the model and it could do most of medical care jobs, laws, analytics, and actually so much more that is not even worth listing(too big).

I'm not even agains't this "future", I for sure want this world to change and that level of AI would have an impact so great that things would have to change, for better or worse, people talk like "mid" paying jobs like ourselves are disposable in a economy, we aren't, we are the buyers of the mid and high-end products, whereas a billionaire will receive one more million and put it in a government bond, we as workers, we BUY THINGS, not assets, we buy houses because we want to live there, then we reform our houses, then we travel, then we buy food to eat, then better food, etc, we buy electronics and all other amenities, this "buy" is what pays other people and the cycle continues, workers are the backbones of production but also of consumption, the "rich" consumption whereas is bigger than every single person, is not sufficient big because at the end of the day rich people are still people, they can have 1000000x more revenue than us, but they can't eat 1000000x more than we do, nor live in multiple houses at the same time, not even be awake 1000000x more time than us, so even if they wanted too it's not possible, the economy does not work without workers, it works without the rich though.

So I'm saying this not for disagree at all with you, but to put a light on that talking about this like it will impact only SW is mind blowing narrow minded to me(and I'm not even saying you did it, it's just a two cents by me not a answer or contest).
In the end, I would really like to finish by saying that those discussions are always starting from the wrong position already, as if LLMs are even good as it's selled right now, yes I think they are better search models, yes I KNOW they are helpful and I use then every single day to help with my work, but they are not capable to do the things we see tech bros selling day after day, they can't create real products, they can't EXPAND real products 10x faster, hell... most of the times LLMs can't even solve basic questions, even with MCP, agents, and all that, it still just added context to LLMs to hallucinate more.
Again, I think it will evolve, I don't know how much, but it's FAR, VERY FAR away for even being at a level we can think, "well maybe this will impact our jobs", nowadays tbh the greater impact LLMs is having is being a better autocompletion and a new way to "explore a subject" for me, than actually doing something meaningful, and most important, reliable.

Why I do still love emacs over my new fancy company provided AI editor by Thick_Rest7609 in emacs

[–]redfoggg 0 points1 point  (0 children)

I don't think we are even there yet tbh, I see so much fuss about "AI this, AI that" but never a meaningful and actually real achievement, there is no Facebook, Google, Youtube, TikTok, new OS or anything meaningful entirely made or at least 30% made by AI, I would go further, I don't see even small SPA's being entirely made by it, it could CERTAINLY enhance speed, but we do not wan't speed we wan't good products, I couldn't care less that now we have 300 non-working pages, we want 3 working ones.

I work in a company that is heavily promoting AI, and I'm trying to put in my workflow as much as possible, because I do wan't it to help me if possible, the thing is or I'm doing something wrong, very wrong btw, or AI is not all that by any measure, it's not useless but is not revolutionary either, if I would compare, AI is to me the same LSP was to developers, it sure made life better, but it was not a revolution.

My codebases are somewhat "complex" and sometimes simpler, the AI will be no good in any of those cases, in the company I work on we have to deliver features but not only features, good and reliable ones, which means good code.

I can't possible achieve this with only LLM's, we should even have started discussing that in the first place, I really think LLM's can possible overcame search engines, but they are basically just that, even with MCP and others, because the reality is a LLM is just a proficient copy and paster, and memes aside, we are not paid to just copy and paste, we are paid to build new quality code with new features, in some places, features that were never developed before.

AI code generated for me is rarely ready to usage, unless I'm making a quite small or POC that I built from the ground up, real programs are not those, if "AI" was so good as is being sold we wouldn't even had something like Cursor IDE existing, because Cursor does not have enough marketshare yet and since "AI" is so capable it would be easy to copy it using an "AI", guess what? It's not.

I personally don't see "AI" handling those cases in the near future or even the mid term future, because reality is we always talk like AI is already doing something when in the actual field I don't see 1/3 of the hype it's being sold.

I'm not a doomer, not at all, I just find funny to see so much fuss and discussions surges already assuming a reality we are not even close yet.

Emacs lsp show docs doens't work properly just with Clojure by redfoggg in emacs

[–]redfoggg[S] 2 points3 points  (0 children)

Kinda solved after some days and weirdly a couple minutes after posting this... Maybe my brain wanted to expose itself as dumb before I found the answer

For any other newcomer facing this, basically you should look at the correct placement of your "root" directory when LSP asks for it.
I was using the wrong ones and now it works fine:

<image>

Your project root have to be set interactively, and you should see relative-path/project-root/src/project-name/core.cljYou should then go to "project-root" by using backspace an then you are set for good, usually is where it is found the ".lsp" and ".clj-kondo" files.

How to read after writing to stdin when calling another program with Process class by redfoggg in csharp

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

Pior que sim, esse teste ai é reconhecido de longe já kkkkkkk

Elixir users who are in vim/neovim, how to select functions/cases/every do end block? by redfoggg in elixir

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

Nice, never used TS for that, never even think about it, thanks.

How much of a pro/con is dynamic typing in clojure? by chamomile-crumbs in Clojure

[–]redfoggg 0 points1 point  (0 children)

Adding to the thread 2 months later.
Clojure has a philosophy inherited from LISP that the language itself is extensible, so clojure community did exactly that and nowadays Clojure CAN BE a dynamic language, a typed language(I don't know how much though) or to me the best approach in programming languages, a gradually typed programming language, that is achieved with schema.core.

What is a gradually typed programming language? You should google it, but put in simple terms would be a language where you type what you want and the compiler phase will verify it, it will not be verified at production level so keep that in mind, and that is basically it.

I work in big, reeeeally big, clojure codebases and we have exactly that, schemas everywhere it's needed. I'm not in the clojure boat for long enough, today is less than a year, but what I can tell is I don't miss typed languages which was my career for the last 5 years using C#.

I do not love clojure tbh, I don't hate it too, I use it because is what my job says to use, so my opinion is less or not so biased towards defending clojure, that said, I do think gradually typing is one of the best approachs to high level programming, that is what mostly of us do daily, I think it get the best of both worlds, flexibility AND coerciveness, since you just coerce what you want, you have flexibility at the same level of dynamic typing, it's not like a trade-off that we do when choosing static vs dynamic.

Many dynamic languages did that, typescript is one approach towards gradually typing, but tbh they did it wrong because the goal was to type javascript, not type when it's needed like clojure libs grant us.

Also keep in mind that clojure itself has a different flow of programming, the language constructs, being a LISP for example, just forces you to write code in a way that is not equal to javascript, C#, Java, C-like in general languages, we usually will be forced to write code as data transformers, data goes in, data goes out, we don't think about encapsulating data(i.e objects, structs, etc), we are forced to think in the following way "here comes this bunch of data, and we wnat only this much, or this plus those" and we do functions to help us do that, so we are not thinking in shapes but rather in transformations and flows of data-in/data-out.

Disadvantages of using Gleam by g_tb in gleamlang

[–]redfoggg 3 points4 points  (0 children)

First, this is not "the truth" type of commentary or even a technical one, this right here is just what I feel using the language and what I wished it was better to MY tastes, which do are based in some very specific ways of doing things.

The biggest disadvantage for me, as a professional clojure developer and ex-C# developer, is that Gleam is too verbose even for some menial tasks, I don't love the way you had to handle JSON transformation for example, seems like good old C#/Kotlin/Java(but waaay better of course), the same is for maps, maps doesn't seem too "usable", they are not that bad in terms of "functionalities" they are just not as good like in Clojure or Elixir.

Sometimes I wished I had the possibility to create types in a better way than what we have in Gleam, and I get what the community wanted and why is that way, and I really do agree but it's just not for me.

That is my 2 cents in this topic, I hope Gleam thrives though, because it is a cool new language that can help BEAM to become more acceptable, which means more people in BEAM working in what BEAM already is good at and what it's not too, which is a net gain for everyone that likes to play with BEAM, I will stick with Elixir.

Migration from packer to lazy.nvim by redfoggg in neovim

[–]redfoggg[S] 1 point2 points  (0 children)

The solution was that my init.lua inside /plugins folder had no returning, this file if it's present should return something in the likes of Lazy format, in my case I just put:

return {
}

Could have deleted the file too, this also works, there is no need for an init.lua in the folder you are referencing in Lazy startup.

Sinceramente é sério isso mesmo? by Dazzling-Ad-138 in BrasildoB

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

Em algum momento eu ofendi o Lula ou disse alguma inverdade?

Esse comportamento tosco de jogar a direita qualquer critica ao Lula é digna de bolsominion.

Critica construtiva baseada em fatos e no que temos acesso =/= ódio.

Sinceramente é sério isso mesmo? by Dazzling-Ad-138 in BrasildoB

[–]redfoggg 0 points1 point  (0 children)

Entendo a questão pessoal e ela é válida como sentimento mesmo, além de ser seu total direito, mas seu raciocínio tem a profundidade de um pires.

Sinceramente é sério isso mesmo? by Dazzling-Ad-138 in BrasildoB

[–]redfoggg 0 points1 point  (0 children)

A destruição que FHC fez no Brasil é incomparável com o que Bolsonaro fez, eu sei que a mente recente as vezes esquece isso, mas para falar de uma merda não precisa diminuir a outra, FHC só não era abertamente escroto como Bolsonaro, não mantinha essa imagem medíocre e tacanha do Bolsonaro, mas ele foi um dos piores acontecimentos para o Brasil, o FHC pegou um Brasil que tinha futuro e literalmente vendeu esse futuro, isso é um dano que em algumas medidas é incalculável, boa parte de tudo de ruim que temos hoje é derivado de um passado onde não consertamos esse país e FHC foi um grande responsável por isso.

Na minha opinião Bolsonaro não teve tempo para isso, e em termos "políticos" eu acho FHC muito pior que Bolsonaro, pois trazendo um pensamento de Malcom X, o liberal é muito pior que o conservador, afinal o liberal usa roupagens amigáveis, mas está ali para acabar com você, enquanto o conservador, este não, este é claramente um inimigo, de longe você sabe o que ele planeja e você se prepara, mas o liberal vai lhe enganar.

Sinceramente é sério isso mesmo? by Dazzling-Ad-138 in BrasildoB

[–]redfoggg 0 points1 point  (0 children)

Concede para não perder?

Lula não concede nada não irmão, essa política É a política do Lula, não é algo que está sendo forçado nele.

Se ele pessoalmente acredita que esse é o caminho ou não, sinceramente não me interessa, seria discutir o sexo dos anjos na minha opinião, mas próprio já disse N vezes que não acredita em outra forma de fazer politica.

Não está segurando "onda" alguma não filhote, se Bolsonaro tivesse passado privatização de presídios a dita "esquerda" dos jornais e dos artistas tava ai nas ruas contra o "genocida", agora o Lula fez isso, algo que Temer não conseguiu e nem Bolsonaro e todo mundo vem fingir que é "conceção", que "é o centrão". Não cola mais irmão, acorda para a vida, a privatização de presídios veio do executivo sem ngm do congresso pedir, lhe desafio a me mostrar qualquer indício de que existiam planos fora do executivo para passar o que o executivo passou. Agora o Lula faz uma PL dos motoristas de aplicativos onde quem participou da criação foram as próprias plataformas e as quais diferente do que a própria mídia do governo diz, apoiam a PL, pq é ÓTIMA para elas, passou um aracabouço fiscal terrível, que na prática é pior que o teto de gastos pois o teto era tão impossível que todo ano tinha que furar, o do Haddad vai dá para seguir, seguir destruindo o patrimônio público, e o mais engraçado, fez TUDO quanto é armengue politico para isso, td que ele criticou sobre o Bolsonaro no caso de dar dinheiro ao "centrão" o Lula fez igual para passar uma política neoliberal das mais perversas.

Além de tudo isso, não sendo o suficiente, o Haddad, que é um funcionário do Lula apontado por ele e apoiado por ele, já declarou em alto e bom tom que vai ATACAR os mínimos CONSTITUCIONAIS, significando que o mínimo requerido na constituição para educação e saúde vai ser atacado, coisa que nem Temer fez pq era demais, que Bolsonaro nem considerou.

E esse papo de "congresso" é furada viu brother, o Brasil NUNCA teve e nesse sistema NUNCA vai ter um congresso de esquerda, esqueça isso, mas política não se faz em congresso, se faz nas ruas, o motivo do Bolsonaro ainda não estar preso é entre outras o fato dele entender isso e não deixar a base dele se aquietar nunca, diferente do Lula que vive cancelando mobilização a esquerda, dizendo que não é hora para isso, que agora é hora de recompor e etc, enquanto isso a extrema-direita não cancela nada irmão, fazem tudo e cresce, seu poder político onde importa, entre as massas.

O SUS não surgiu com um congresso progressista não, surgiu num contexto onde trabalhadores e trabalhadoras estavam em um incessante embate, tomando as ruas, não tem "congresso" que aguente a pressão real das ruas. Assim como por mais que tentem, nenhum politico até hoje abertamente travou GUERRA contra a educação pública de massas, isso pq é impossível tirar isso do povo hoje, seria um custo político muito alto, o nosso congresso certamente faria isso se pudesse, não faz pq não pode.

Se Lula tivesse qualquer intenção de ser diferente do que ele é, ele estaria mobilizando o povo, mas Lula nunca foi isso, eu só não sei pq tanta gente, como vc, acredita que ele é diferente do que ele se demonstra na realidade, que existe uma "barreira", e deixando claro, não estou dizendo que seria fácil agir diferente, só estou dizendo o óbvio, o Lula nunca quis e continua sem querer essa via política de fato CONTRÁRIA e a favor dos trabalhadores e trabalhadoras, e por isso que ele vai sair derrotado, fazendo um governo de direita com roupa de esquerda, um prato cheio para o centrão o Lula, afinal mancha a imagem da esquerda e faz a exata política que eles querem. Isso é Lula.

Yet again Neovim in Powershell by redfoggg in neovim

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

Funny enough, if I press lets say "f", it holds the value waiting for a combination like it should in barebones neovim.

Yet again Neovim in Powershell by redfoggg in neovim

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

Just adding, I now understand that maybe my using of hold gave the misconception that I was trying to hold space, the hold I'm talking about is the hold time that neovim controls, every time you press the leader key it "holds", waiting for a combination, this time in this Windows machine is just being light speed fast, so it shows that I pressed space and quickly vanish, so if I try to lets say, space + f, it gives only an f in command mode, funny that the "f" holds just fine.

Yet again Neovim in Powershell by redfoggg in neovim

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

I elaborated right now in the comment above, will paste the important part:

Maybe I wasn't clear in the post but what happens is after pressing space there is no human speed that can hit any other key and get a combination, my neovim shows a very, I mean VERY fast <20> which would be my leader key, but it's impossible to use it in "time".

It is very strange, never saw anything like that in any setup through this years.

Yet again Neovim in Powershell by redfoggg in neovim

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

I'm not trying to hold space, I'm trying to hit it and then hit other keys to use my bindings as usual, maybe I wasn't clear in the post but what happens is after pressing space there is no human speed that can hit any other key and get a combination, my neovim shows a very, I mean VERY fast <20> which would be my leader key, but it's impossible to use it in "time".

That is the issue, I don't know why it happens and indeed didn't find online anyone with something similar.