techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.6K
active users
anparker<p>When you&#39;re too busy at work... :)</p><p><a href="https://techhub.social/tags/esp32" class="mention hashtag" rel="tag">#<span>esp32</span></a></p>
anparker<p><a href="https://www.youtube.com/watch?v=lel_J1-zxmU" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://www.</span><span class="">youtube.com/watch?v=lel_J1-zxmU</span><span class="invisible"></span></a></p><p>Except Lady Gaga and Adele. It&#39;s first time I watched Beato video and recognized all of the songs. o_O</p>
David Revoy<p>The Gift of Life</p><p><a href="https://framapiaf.org/tags/webcomic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webcomic</span></a> <a href="https://framapiaf.org/tags/krita" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>krita</span></a> <a href="https://framapiaf.org/tags/miniFantasyTheater" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>miniFantasyTheater</span></a></p>
monitor<p>Під час виконання бойового завдання загинув захисник Костянтин Оборін (позивний "Камікадзе") — ветеран війни в Афганістані, директор авіаклубу "Одеса", волонтер і наставник.</p><p>Честь.</p>
anparker<p>Looking at some code in esp-idf components.</p><p><a href="https://github.com/espressif/esp-idf/blob/9ddef27ed4a1587e3e8d4270881be9c3c4bc9241/components/esp_lcd/src/esp_lcd_panel_ssd1306.c#L78" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/espressif/esp-idf/b</span><span class="invisible">lob/9ddef27ed4a1587e3e8d4270881be9c3c4bc9241/components/esp_lcd/src/esp_lcd_panel_ssd1306.c#L78</span></a></p><p>```<br /> // leak detection of ssd1306 because saving ssd1306-&gt;base address<br /> ESP_COMPILER_DIAGNOSTIC_PUSH_IGNORE(&quot;-Wanalyzer-malloc-leak&quot;)<br /> ssd1306 = calloc(1, sizeof(ssd1306_panel_t));<br />```</p><p>I do understand that they making some sort of interface like thingy by returning just one member of a struct common to all drivers and hiding specifics behind container_of magic. But if you need to disable compiler warnings for that, it looks more like a hack rather than a proper solution.</p>
ФІЛде?<br><br><a class="hashtag" href="https://social.net.ua/tag/філ" rel="nofollow noopener" target="_blank">#ФІЛ</a> <a class="hashtag" href="https://social.net.ua/tag/україна" rel="nofollow noopener" target="_blank">#Україна</a> <a class="hashtag" href="https://social.net.ua/tag/уанет" rel="nofollow noopener" target="_blank">#уанет</a>
Smudge The Insult Cat 🐀
Зернятко мови<p>Слова «ви», «ваш» пишемо з маленької букви, за винятком випадків, коли звертаємося до однієї конкретної особи з особливою ввічливістю в листах, офіційних документах тощо.</p><p>Ця норма закріплена в сучасному правописі.</p><p>***<br>На практиці варіанти різні.</p><p>Наприклад, у компанії може бути редполітика, яка вимагає звертання «з особливою ввічливістю», навіть у чатах. </p><p>Або голова ОСББ «старої школи» може ображатися на «ви» з маленької.</p><p>Однак саме по собі «ви» не є неввічливим звертанням.</p><p><a href="https://mastodon.social/tags/%D0%9D%D0%BE%D0%B2%D0%B8%D0%B9%D0%9F%D1%80%D0%B0%D0%B2%D0%BE%D0%BF%D0%B8%D1%81" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>НовийПравопис</span></a></p>
anparker<p>My collection of handhelds. First one is older then I am.</p>
anparker<p>But, hey... I used to do calculations on lab assignments for half of my class. Because I was lazy and made Excel do the work. Just change 10 numbers and you&#39;re done. Imagine doing it in late 80&#39;s in soviet union.</p>
anparker<p>Solving quadratic equation takes about 9 sec. Not the fastest kid...</p>
anparker<p>sqrt(x) is probably hardware based, it&#39;s almost instant.<br />pow(x, 0.5) takes about 5 sec to calculate...</p>
anparker<p>Oh, that&#39;s probably why it&#39;s like this.</p><p>```Loops L[0-3] are implemented by accessing value of RG[0-3], which&#39;ll decrement it by 1, and check if it&#39;s 0.```</p><p>With all that `jump on false` logic.</p>
anparker<p>```For relative jumps, address will be pre-modified based on what register it&#39;s stored. It&#39;ll decrement by 1 for RG[0-3], increment by 1 for RG[4-6] and kept &#39;as is&#39; for RG[7-9,a-e].```</p><p> O_o</p>
anparker<p>```Those commands&#39;ll check RX to match a condition. If false, execution will continue on address followed by command. On true, it will ignore address and execute instruction following it.```</p><p>So, soviet programmable calculators do conditional jumps on... false. o_O</p>
Ian Douglas Scott<p>AAAA is the sound a DNS server makes when you ask it how IPv6 adoption is going.</p>
David Ho<p>Evergreen cartoon</p>
anparker<p>Hitting my head against a wall for last couple of days. Why even simplest tutorial level code isn&#39;t working?</p><p>&gt; Task stack sizes in Vanilla FreeRTOS are specified in a number of words, whereas in IDF FreeRTOS, the task stack sizes are specified in bytes.</p><p>Apparently, cutting stack size by four doesn&#39;t do anyone any good. Oops.</p>
anparker<p>&gt; Modified 4 years ago<br />Never mind...</p>
anparker<p>Why?</p>