Details
-
AboutC++ hater and all the standard stuff
-
Skills[js, react, linux, C, bash, Rust, ...etc]
Joined devRant on 7/4/2018
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
@ScriptCoded I'd ask the same if I see 5 functions with the same name ;-)
-
Laravel is really nice! The generators are fantastic and you can actually make sense oh what is happening, as opposed to the dumpster fire that is Ruby on Rails. If you are not part of the cult and know the incantations… too bad!
The Laravel documentation is straight up gold and if you start learning it, just follow the laracast free videos, that Jeff guy can make the densest guy into a rocket scientist with the sound of his voice! -
I did not see that twist coming!
-
Nice project!
Just a quick comment for the lazy like me, apparently you can also place your mouse over an analog watch and the motion of the watch keep the computer awake :-) -
Wish you luck!
My first place with hard to reproduce bugs is suspecting a race condition.
I second adding more logging, but that logging can be made so you can see in what order things happen in your program.
I’ve also seen bugs that are hard to reproduce due to memory leaks in Electron! 🤦♂️
Monitor the health of the system where the bug is showing up (cpu/memory/network usage) in case there’s a correlation (in my case the OS was killing my app because it was using 90% of the system memory and increasing) -
@lorentz sounds like Chat-GPT “how can you make this message pass a stupid tone analyzer”
For real tho, that sounds infuriating! -
Well, good! We had some clients asking for it for the last couple of days… we’ve been telling them that we just want to be completely sure that it will improve their experience with our product… but it seems like some have been talking to r/ProgrammerHumor… and we don’t want that!
-
@AleCx04 I’ve heard that, like features from c++23 are nicer than from c++11 or something? I don’t think that I actually care about learning all c++ and becoming and c++ programmer, I think my goal is more like, being able to understand it enough to use some libraries and then everything else I’ll likely keep doing in c
-
@azuredivay pretty much, that’s been my approach. I make a button/input/card look they way I like it to look, and then throw that in a component/fragment/include and never touch tailwind again.
But then again, I agree with the sentiment of the OP… there are tools that make it easier to make dumb stuff with them, like React or C++/OOP or Tailwind… it takes effort to keep them working on (extra decision, setting conventions, styling guide, etc…)
On the other hand other tools make it hard for you to make dumb things, (try leaving an unused import in Go, or not handle all cases of a switch in Rust…)
Those tools make decisions for you and thus one can just focus on the results instead of having to also babysit the tools so they don’t turn into ugly tantrum-throwing-toddlers -
@mansur85 had the same experience with Nuklear 😅 but I think that after getting the concepts of immediate mode gui (get event, define window, render stuff) Dear ImGUI seems more approachable :)
-
I see tailwind as a very quick way to iterate and create good looking designs. But leaving all the classes there makes it very very ugly. At that point components can be made or abstract a bunch of tailwind classes into a single class and go from there.
It seems to embrace that early in the development process of software everything is chaos and even those that say that know don’t really know (designers…) so it optimizes for ease of change… after things have settled tailwind emphasis on iteration becomes a hindrance! -
It gets stuff done and has a huge amount or “ready to use” packages. Those of us suffering the issues with Python are not the ones choosing to use it. It was some technical founder with short time that picked up Django, now he is the cto, and just throws bodies at the problem…
Also, I think that a lot of “scripts” end up in programs, so the ease of start is a huge plus for Python. By the time Python becomes an absolute pain is already somebody else’s problem for the one that picked Python to begin with… -
@nanobot 🙏
-
@Oktokolo you are absolutely right!
I think there are two extremes which I've been... high-level languages in which types doesn't matter, and low level 8bit and 32 bit embedded in which registers and cycles matter quite a bit... This C dev for me was totally new, and quite enjoyable, even if on the way I def made more than a few blunders! -
@dder but you are right, is not just npm, malware has been found in pip packages too and the debacle with log4j shows that it’s everywhere. But there are places when one needs to be slightly more aware of what’s going on than others because there are less protections
-
@dder that’s fair. The difference with NPM IMHO is one of obscurity and probably why it’s become a target for malware and it has gotten away with it. With the nodejs ecosystem you have software tuning software running software running software (from react code being processed by jsx to sass processed by some lib in rust to all that output packaged and then minified to finally running in the browser to the browser running in an OS). And it’s quite cumbersome to audit all the layers. Also adding/modifying packages in NPM is trivial.
For a C lib, yes, anybody can pull some random header from GitHub with all kinds of malware, but that’s not usually how they are distributed. Either libraries are compiled statically or they are distributed by things like brew or apt-get or yum, in Linux and other OS package managers, and the barrier of entry there is a lot higher. Heck, I’m aware of devs that don’t use anything that hasn’t been out here for at least 20+ years! -
@Wisecrack I still think it is!
-
For me is not only the size, is the black hole of unknown that is there. The size of gcc or the size of a 4k movie are not really code that runs without you knowing what is doing. Gcc compiles you program and it one is paranoid it is possible to disassemble it and see what is doing, a 4k movie doesn’t (hopefully) run any arbitrary code. But 100+ npm packages is something that is being used not only to build the app but also delivered with it and thus one takes responsibility of it. With the sheer amount of dependencies and dependencies to dependencies not a lot of people keep an eye of those 200mb of code for a simple react app, and it has bitten us before in the back!
https://theregister.com/2022/02/... -
@Root now I need to look up man rm for -I…
-
@MammaNeedHummus I also recently discovered that my iPhone is able to convert the 2.4-ish ghz frequency of the microwave into power thus charging very quickly while I cook my hot pocket!
-
@kiki 😅😅
-
I’m sorry you are in that situation :(
To explore backend, do some projects on your own. Pick up a framework (Django, Laravel, Rails, Phoenix, ASP) and just build a blog or a twitter/Reddit clone. That will give you some knowledge/idea about the general concepts of backend (models, controllers, migrations, etc…) and good luck! -
I’ve been meaning to try a trash tool but rm -rf is such a hard muscle memory… I might need to alias it instead of trying to unlearn decades of unix
-
@kiki and PHP on the backend!
-
@tosensei yeah :(
-
@iiii how does one even makes a living out of it? But on the other hand, the next thing I’m going to learn is OpenGL just for the fun of it :)
-
I know! Why would anybody use a tag when you can make you app 100x slower! It’s inconceivable! 🤣
-
There’s this archaic language that uses some weird symbols like <form>
Legend has it that that was all was needed! Such fantasies! -
I once read a research of ad blocker usage. It varies wildly between age. Also, technical people, almost all have ad blockers and thus it can be easy to assume that the rest of people are like us 🤷♂️
-
Hehehe! Tbh, I’m kinda in love with C89/99 :-)
It’s not perfect but when doing embedded, it was awesome to have direct access to memory, and just flip and read registers and I wanted!
On the other hand, micro/circuit Python works on a bunch of iot boards and it’s super nice to use! And it definitely come with the kitchen sink too!