Buildout

u/Buildout@lemmy.world
8 posts · 43 comments

Recent posts

Recent comments

People are being kind of rude, sorry about that.

I also think they aren't understanding your problem. You have a function f(w,t) = sin(wt)/w which is well defined everywhere (in the sense of limits at w=0 ), but for which the naive implementation (compute sin(wt), then divide by w) gives the "wrong" output for w=0 (an error instead of t).

Note that the function sin(x)/x has a name, sinc(x). Using this to rewrite your function gives f(w,t) = sin(wt)/w = tsin(wt)/(wt) = tsinc(wt).

Now you just need to find a quality implementation of sinc from a math library.

on Getting the latest Emacs · c/emacs · 2 pts · 1y

Is it possible there are other 3rd party repositories that have a more up to date version than the Pop_OS repos?

I would recommend learning vim in that case. I'm not sure about the availability of vi(m)/emacs on the systems you remote into, but if I was a betting man I'd say vi is more available than vim is more available than emacs. But if you learn vim and are stuck with vi one time it's still better than nano (for me, but I'm sure you're quite good with nano). Another benefit that extends outside of your text editing experience is that vim motions are offered out of the box for a lot of linux utilities (less) with no setup, or can be trivially added (tmux), which gives you familiar keybinding almost everywhere as well as an improved ergonomic (and likely speed) advantage.

Thanks for the insight. Just to be clear, your suggestion is: auto-update as much stuff as possible and don't worry about it?