Programming Leftovers


-
Why you should(n’t) care about Monads if you’re an R programmer
To conclude, why did I title this post why you should(n’t) care about Monads if you’re an R programmer? The reason is that you can live without monads. However, certain things will be more complex if you don’t know about monads or if you don’t want to use them, just like functions. If for some reason you don’t use functions in your code, your life will be more complicated. So should you go ahead and start using monads in your code? Well, maybe (hehe) you should, especially if you’re doing the same thing over and over again, like timing your code. Maybe using a monad to time your code could be a nice solution, especially if you’ve been burned in the past by using the other, sub-optimal solutions?
-
Examples of the Permeating Principles of the Web
I think it’s interesting to see how the design principles of the web seep into technologies and tools we use everyday, but only as much as those tools are willing to align themselves with the grain of the web. Once you deviate from the grain of the web, the principles of the web — which fiercely fight for the end user — can begin to dilute.
-
Language Server Protocols
Language Server Protocol (LSP) has quietly become a standard integration point, and thus a technical wedge. LSP was designed by Microsoft and Red Hat in 2016 for Visual Studio Code. It is a client-server model that decouples language services from the editor. This allows for more and higher quality language servers to be developed and maintained, along with more portability.
-
two and a half bad bits
Never change anything. You can only make it worse.
Most of the trouble came from my decision to switch doas to LOGIN_SETALL instead of simply adding the one bit I really wanted. I was seduced by the allure of the “elegance” of code that would be forwards and backwards compatible, but really, what practical gain was there to be had? It’s dumb in hindsight, but even at the time, I couldn’t have named a tangible benefit. Should have just stuck to simple, working code without trying to be clever.
-

- Login or register to post comments
Printer-friendly version- 1352 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
digiKam 7.7.0 is released
After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release.
|
Dilution and Misuse of the "Linux" Brand
|
Samsung, Red Hat to Work on Linux Drivers for Future Tech
The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world.
Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility.
|
today's howtos
|








.svg_.png)
Content (where original) is available under CC-BY-SA, copyrighted by original author/s.

Recent comments
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago