Search
1000 results for “array”
-
Array Methods Work On Objects?!
JavaScript array methods work on objects that look like arrays! This is a hidden feature that will blow your mind! Watch this!
#javascript #javascripttricks #codingtips #programmingtutorial #arraymethods #javascriptquiz #codingchallenge #javascriptshorts #javascriptweird #arraylikeobjects #javascriptwtf #prototypemethods
-
Array Methods Work On Objects?!
JavaScript array methods work on objects that look like arrays! This is a hidden feature that will blow your mind! Watch this!
#javascript #javascripttricks #codingtips #programmingtutorial #arraymethods #javascriptquiz #codingchallenge #javascriptshorts #javascriptweird #arraylikeobjects #javascriptwtf #prototypemethods
-
Array Methods Work On Objects?!
JavaScript array methods work on objects that look like arrays! This is a hidden feature that will blow your mind! Watch this!
#javascript #javascripttricks #codingtips #programmingtutorial #arraymethods #javascriptquiz #codingchallenge #javascriptshorts #javascriptweird #arraylikeobjects #javascriptwtf #prototypemethods
-
Array Methods Work On Objects?!
JavaScript array methods work on objects that look like arrays! This is a hidden feature that will blow your mind! Watch this!
#javascript #javascripttricks #codingtips #programmingtutorial #arraymethods #javascriptquiz #codingchallenge #javascriptshorts #javascriptweird #arraylikeobjects #javascriptwtf #prototypemethods
-
delete On Array Doesn't Remove It?!
Using delete on arrays creates holes instead of removing elements! Array length stays the same. This breaks everything! Watch!
#javascript #javascripttricks #codingtips #programmingtutorial #deleteoperator #javascriptquiz #codingchallenge #javascriptshorts #javascriptbugs #arrayholes #javascriptwtf #arraydeletion
-
Array.map() IGNORES Empty Slots?!
🤯 STOP! This will DESTROY your understanding of arrays! Empty slots vs undefined - they're NOT the same! .map() completely skips holes but processes undefined. This bug crashed a production app with 1M users!
#javascript #javascripttricks #codingchallenge #javascriptarray #arrayholes #javascriptquiz #javascriptweird #javascriptwtf #arraymap #javascriptbugs #codinginterview #javascriptshorts
-
Array.map() IGNORES Empty Slots?!
🤯 STOP! This will DESTROY your understanding of arrays! Empty slots vs undefined - they're NOT the same! .map() completely skips holes but processes undefined. This bug crashed a production app with 1M users!
#javascript #javascripttricks #codingchallenge #javascriptarray #arrayholes #javascriptquiz #javascriptweird #javascriptwtf #arraymap #javascriptbugs #codinginterview #javascriptshorts
-
Array.map() IGNORES Empty Slots?!
🤯 STOP! This will DESTROY your understanding of arrays! Empty slots vs undefined - they're NOT the same! .map() completely skips holes but processes undefined. This bug crashed a production app with 1M users!
#javascript #javascripttricks #codingchallenge #javascriptarray #arrayholes #javascriptquiz #javascriptweird #javascriptwtf #arraymap #javascriptbugs #codinginterview #javascriptshorts
-
TypeScript Strictness Is Non-Monotonic: Strict-Null-Checks and No-Implicit-Any Interact, by @huonw.bsky.social:
-
#array : the whole body of persons thus placed in order
- French: variété
- German: die Anordnung, der Bereich
- Italian: varietà
- Portuguese: arranjo
- Spanish: variedad
------------
Word of The Hour's Annual Survey @ https://wordofthehour.org/r/form
-
CW: Advent of Code 2025, day 8 in K
init:1+!n:#:d:`I$","\'0:"08.in"
ds:1_'ds@<ds:{(+/t*t:d[x]-d[y]),x,y}.'p@&</'p:+!n,n
conn:{(x*~f)+x[y[0]]*f:x=x[y[1]]}
steps:1000#
:one:*/t 3#>t:.#'=init conn/steps ds
:two:*/*+d {:[&/g=*g:conn[x;*y];*y;o[g;1_y]]}[init;ds]Part 2 takes a metric eternity to converge. There must be a better solution, but this will have to do for now.
-
CW: Advent of Code 2025, day 6 in K
d:0:"06.in"
op:(+/;*/)@"*"=op@&~" "=op:*|d
:one:+/op@'+.'1_|d
:two:+/op@'n 1_'.=+\~n:0,.'+|1_|dThe fact that the input file was nearly valid K was helpful.
-
Как устроены массивы в PHP и как код влияет на скорость работы с ними
Массивы — это хлеб и масло PHP-разработчика. Мы используем их постоянно, но редко задумываемся, как они устроены внутри. А от этого устройства напрямую зависит скорость и память нашего приложения. Давайте разберемся. Давайте развеем 3 мифа: 1. Доступ к элементам массива всегда занимает одинаковое время. 2. В PHP обычный и ассоциативный массивы – одно и то же. 3. Использовать ссылку в foreach быстрее, чем просто итерироваться по элементам. Представим ситуацию. Вы создали массив и одним и тем же оператором « $array[] = $value;» добавляете в него элементы. Ключи получаются последовательными: 0, 1, 2, 3, ... 9999. Последний ключ в массиве – 10000. Вы добавляете новый элемент с ключом 100000000. Вопрос: будет ли скорость добавления этого последнего элемента такой же, как у всех предыдущих? Согласитесь, большинство даже не задумается об этом. И кажется, что не должно оно отличаться. Но раз такой вопрос написан, может все-таки отличается? Откуда и какие появляются отличия разберем дальше. (Спойлер: у меня время добавления увеличилось в 2872 раза). Массив — один из самых часто используемых типов в PHP. Понимание его внутренностей помогает:
-
Array support in Quiche is progressing nicely. I've added support functions Low High, Sizeof and Length, and now code to adjust for non-zero lower bounds when dereferencing an element.
Currently only for static array variables - pointer based derefencing will be the next step.
Images show the source and assembly code. I've hand added comments to the assembly. Plenty of room for optimisation here.
-
🗣️ Announcing Python-Blosc2 3.8.0 🚀
A step closer to compliance with the array-api standard: data-apis.org/array-api!
This is an effort across all array-based libraries so that your code works (e.g. for both blosc2 and NumPy) by simply changing the import statement below!Highlights:
✅ C-Blosc2 updated to latest 2.21.2
✅ Incorporate isnan, isfinite, isinf
✅ Better indexing coverage
✅ linspace and arange functions more numerically stable
✅ Improved array-api compliance -
Learning Web Development: Arrays in JavaScript, by @rauschma:
-
I Copy These 10 Code Snippets Into Every Project, by (not on Mastodon or Bluesky):
-
Deep Copy vs Reference Copy of Arrays in C# Tip #46 - Understanding array copying: reference types share the same memory (like a shared toy box), while deep copies create separate data. Use Clone(), Array.Copy(), or ToArray() for deep copies.
#ArrayCopy #DeepCopy #ReferenceTypes #CSharp #ProgrammingBasic #LearnCoding -
Default Values of Arrays and Referencing Arrays in C# Tip #45 - This explanation covers default values in arrays. For integers, default is 0; for strings, it's null. It also demonstrates how arrays are reference types—assigning one array to another copies the reference, not the data. Modifying one affects the other. #Arrays #DefaultValues #NullCoalescing #CSharpBasics #ProgrammingConcepts #ReferenceTypes #CodingTips #DotNet #LearnToCode
-
Ersatz für das Gate-Array in der 1541
Es gibt nur wenige Komponenten im Commodore 1541-Laufwerk, die gerne sterben. Das Gate Array, UC1 oder MOS 325572-01 ist eines davon. Und Ersatz ist nicht billig. Aber man kann sich auch einfach selber eines bauen.
#1541 #32557201 #Array #commodore #CSG #EasyGate1541 #FPGA #Gate #MOS #PCB #PLA #Replacement #Schematic #VC1541 #VHDL #XC95144XL #XC9572XL
-
std::array в С++ быстрее массива в С. Иногда
Давайте натрём наши болиды до блеска и посмотрим, как они входят в повороты компиляторных оптимизаций на примере использования std::array . Смогут ли они не только не уступить, но и обогнать встроенный массив? Поехали!
https://habr.com/ru/companies/pvs-studio/articles/888466/
#c++ #c++11 #c++17 #c++14 #c++20 #c++_библиотеки #c++0x #c++23 #массив #array
-
Array 🧮🦑
An indexed collection of data - and this lil vampire squid bot certainly has a lovely collection of arms.
If you'd like to acquire this pin, follow the launch party to help increase our odds of funding them! https://www.backerkit.com/c/projects/czgoldedition-29e78278-e98c-43e1-92ee-4e107e505fb7/short-circuit-an-enamel-pin-collection/launch_party 💙✨
#squid #vampiresquid #animalart #printedcircuitboard #pcb #enamelpins #pins #shortcircuit #backerkit #pintopia #pintopia2025 #artistsonmastodon
-
ArrayListValuedHashMap - a strange dependency in the code - asked ChatGPT why I should use it. 🤔 I love pairing with this “Guy” (GLaDOS personality) 🤖 #codinglife #devhumor #Java #GLaDOS #ProgrammingPain #chatGPT
-
Array функции Clickhouse
Когда вы анализируете данные, базовых функций SQL часто недостаточно, особенно когда дело касается сложных запросов и обработки больших объемов информации. В таких случаях на помощь приходят функции для работы с массивами в ClickHouse. Однако, многие пользователи не знают о их существовании или не используют их в полной мере. Эта статья — небольшой гид по функциям работы с массивами в ClickHouse. Мы рассмотрим самые полезные и мощные инструменты, такие как arrayJoin , arrayMap , arrayFilter , и другие. Разберём, как их использовать для решения повседневных задач аналитики данных, на конкретных примерах. Почему это важно? Потому что умение грамотно работать с массивами позволяет сократить и упростить код, делая его более читаемым и поддерживаемым. Это ключевой навык для тех, кто хочет писать оптимальные запросы. Вам могут пригодиться array функции, когда стандартные SQL-запросы становятся сложными и трудными для понимания. Например, вместо использования множества подзапросов и объединений для отслеживания последовательности действий пользователя, вы можете использовать функции работы с массивами. Кроме того, использование функций позволяет фильтровать элементы внутри массива, избавляя от необходимости написания сложных условий в подзапросах. Функции работы с массивами в ClickHouse помогут сократить количество кода и упростить запросы, заменяя многократные подзапросы на более элегантные и читабельные решения.
-
It was still crazy yummy, if a bit overheated (it had partially thawed on the counter).
Now I need to buy like a dozen of them. Addictive as all get-out.
At least I'm a teensy bit closer of my dream of someday going to eat at an Asian convenience store.
Those places are amazing. Makes our terrifying shriveled pizza slices and geriatric corn dogs at 7-11 here look... inedible, which is basically what they are. ;) -
Neat! Was it hard to get set up with #OAUTH2? The documentation seemed a touch confusing.
I'm pretty happy with #Thunderbird for now, but I'm considering giving #ClawsMail a try for secondary emails I need to check occasionally.
-
@arraybolt3 I would use #Haiku more often *very* gladly, but unfortunately I haven't been able to get it running on my main laptop, a System76 with ...an Nvidia GPU. I got Haiku running on an old #Dell #D630 I have, though, which I use for school and notetaking very happily.
-
@arraybolt3
that's #enshittication in real time.. -
Array Releasing Acquires Dèbora Souza Silva’s New Documentary ‘For Our Children’
#Documentary #ArrayReleasing #AvaDuVernay #DéboraSouzaSilva #ForOurChildren