Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: candycanearter07 Newsgroups: comp.os.linux.advocacy Subject: Re: Need Assistance -- Network Programming Date: Thu, 27 Jun 2024 06:10:03 -0000 (UTC) Organization: the-candyden-of-code Lines: 39 Message-ID: References: <17da6bead1f52684$159717$3694546$802601b3@news.usenetexpress.com> <17da7b2e072f80b8$336$3510362$802601b3@news.usenetexpress.com> <17da83b880511303$1242$4081608$802601b3@news.usenetexpress.com> <667c48fd$0$2385533$882e4bbb@reader.netnews.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 27 Jun 2024 08:10:03 +0200 (CEST) Injection-Info: dont-email.me; posting-host="e4a8255fc3f682775845a775dca336bd"; logging-data="2753208"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+GbyK2dTYlsglvojejSldsw/joBVEBwBLzuwK4b/VXXA==" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:rzsOBAc5gED+86VAutftOc2kuqU= X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]% b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx `~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e ZrQsWJ >|l^I_[pbsIqwoz.WGA] wrote at 23:58 this Wednesday (GMT): > On Wed, 26 Jun 2024 12:59:41 -0400, DFS wrote: > >> On 6/25/2024 10:57 PM, Lawrence D'Oliveiro wrote: >>> On 19 Jun 2024 22:46:32 GMT, vallor wrote: >>> >>>> Instead of handing you a fish, I'm teaching you to fish. >>> >>> When I used a similar phrase in a reply on another group, this person >>> said “something about the way you went about that rubbed me the wrong >>> way”. >> >> >> That's because it's an extremely smug, obnoxious, arrogant thing to say, >> and in most cases whoever says it is full of shit. > > Being able to fish is useful. Paul McCraken has several video series. > > https://toptechboy.com/ I used to fish. > He often goes into the math at length, probably frustrating many. For > example, while Python has a map() function the Arduino C/C++ library's > map() is completely different. > > https://www.arduino.cc/reference/en/language/functions/math/map/ > > In the MicroPython series he goes into the math behind linear > interpolation. Similarly while Python has math.degrees() and > math.radians() he goes into the math rather than taking the easy way. > Which is more valuable in the long run? Isn't lerp pretty simple to implement I think? I don't remember the exact code, but it can be done in one line with clamp and basic math ops.. been a while since I've had to use it like that tho. -- user is generated from /dev/urandom