home.social

Search

1000 results for “array”

  1. CW: Advent of Code Day 6 in uiua

    This was pretty easy - array programming languages are made for this kind of thing - mostly complicated by my deciding to forget about boxes when doing part 2 (and spend time on an overcomplex attempt with dynamic fills instead for a while).

    Similar thing with Day 5, where I got most of the way into a solution before realising that I was just reimplementing fold less well...

    #uiua #adventOfCode

  2. #PHP callable arrays are checked for 2 elements and only using index 0 and 1.

    No one said that 0 and 1 have to be in that order, and it works perfectly!

    Well done #PHP, well done!

    #phptip #phptrick

    php-tips.readthedocs.io/en/lat

  3. Built an array of solar panels and attempted to figure out a mounting arrangement. First "flight" hanging it from a laundry line and already broke some panels, and heat peeled the tape holding the panel array to the boards. It's clear the weak link in this whole thing will be the structural integrity of the solar power array... soldering the arrays is not easy even with extra flux, and any kind of physical stress and the solder and wires will either detach, or the solar panels break. #picoballoon #hamradio #electronics #fail

  4. Invention idea: array of microphones on the outside of the house connected to speakers on the inside of my office, which work like noise cancelling headphones but with spatial sound... enhanced neighborhood awareness, bringing the sound of everything outside inside when the windows are shut ;-)

    #random #electronics #projectidea

  5. Invention idea: array of microphones on the outside of the house connected to speakers on the inside of my office, which work like noise cancelling headphones but with spatial sound... enhanced neighborhood awareness, bringing the sound of everything outside inside when the windows are shut ;-)

    #random #electronics #projectidea

  6. Invention idea: array of microphones on the outside of the house connected to speakers on the inside of my office, which work like noise cancelling headphones but with spatial sound... enhanced neighborhood awareness, bringing the sound of everything outside inside when the windows are shut ;-)

    #random #electronics #projectidea

  7. Invention idea: array of microphones on the outside of the house connected to speakers on the inside of my office, which work like noise cancelling headphones but with spatial sound... enhanced neighborhood awareness, bringing the sound of everything outside inside when the windows are shut ;-)

    #random #electronics #projectidea

  8. Invention idea: array of microphones on the outside of the house connected to speakers on the inside of my office, which work like noise cancelling headphones but with spatial sound... enhanced neighborhood awareness, bringing the sound of everything outside inside when the windows are shut ;-)

    #random #electronics #projectidea

  9. CW: Mental health/diagnoses/autism/night time thoughts/oversharing/feel free to ignore

    While I have an array of diagnosed #mentalhealthissues including (but not limited to) #GAD & #agoraphobia I also believe I'm on the spectrum. But I'm not confident enough to tell others or claim this identity myself. The issue with diagnosis is no one in my area tests adults, & the cost even if there was is prohibitive.

    I've been told self diagnosis is valid, but why do I still feel like a fraud? May delete.

  10. Also #Dayenu was arrayed like a necklace on my chest the entire time, which did not help my jaw tension.

  11. Easily Build This IMU Array Sandbox - These days we’re used to our devices containing an inertial measurement unit (IMU)... - hackaday.com/2024/10/02/easily #peripheralshacks #imuarray #ice40 #imu

  12. Black-White Array: новая структура данных с O(log N) аллокаций

    Black-White Array (BWA) — это упорядоченная структура данных с амортизированным временем операций вставки/поиска/удаления и используемых участков памяти . Преимущества: • Амортизированное время вставки/удаления/поиска сравнимое с реализацией BTree от Google ; • Низкое количество аллокаций памяти при операциях вставки - меньше давления на сборщик мусора, ниже фрагментация памяти; • Массивы под капотом: данные лежат рядом, что улучшает кэшируемость процессором и скорость обхода/доступа к данным; • Позволяет хранить элементы с одинаковыми ключами - не нужно использовать дополнительные структуры для группировки таких элементов; • Низкий оверхед на хранение служебной информации - экономия памяти по сравнению с другими структурами данных; • Удобен для вставки батчами; • Простая сериализация и десериализация; Подробности

    habr.com/ru/articles/984184/

    #алгоритмы #структуры_данных #computer_science #множество #orderedset #производительность #optimization #allocation #индексы #оптимизация

  13. Black-White Array: новая структура данных с O(log N) аллокаций

    Black-White Array (BWA) — это упорядоченная структура данных с амортизированным временем операций вставки/поиска/удаления и используемых участков памяти . Преимущества: • Амортизированное время вставки/удаления/поиска сравнимое с реализацией BTree от Google ; • Низкое количество аллокаций памяти при операциях вставки - меньше давления на сборщик мусора, ниже фрагментация памяти; • Массивы под капотом: данные лежат рядом, что улучшает кэшируемость процессором и скорость обхода/доступа к данным; • Позволяет хранить элементы с одинаковыми ключами - не нужно использовать дополнительные структуры для группировки таких элементов; • Низкий оверхед на хранение служебной информации - экономия памяти по сравнению с другими структурами данных; • Удобен для вставки батчами; • Простая сериализация и десериализация; Подробности

    habr.com/ru/articles/984184/

    #алгоритмы #структуры_данных #computer_science #множество #orderedset #производительность #optimization #allocation #индексы #оптимизация