mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.6K
active users

#array

0 posts0 participants0 posts today
Troels<p>Preprint of the longest paper I ever contributed to: <a href="https://arxiv.org/abs/2505.08906" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">arxiv.org/abs/2505.08906</span><span class="invisible"></span></a> - it is a qualitative and quantitative comparison of various <a href="https://freeradical.zone/tags/functional" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>functional</span></a> <a href="https://freeradical.zone/tags/array" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>array</span></a> languages, with a significant <a href="https://freeradical.zone/tags/gpgpu" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gpgpu</span></a> element.</p>
Alo Japan<p><a href="https://www.alojapan.com/1270294/japans-best-ecotourism-destinations-we-cant-wait-to-visit/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">alojapan.com/1270294/japans-be</span><span class="invisible">st-ecotourism-destinations-we-cant-wait-to-visit/</span></a> Japan’s Best Ecotourism Destinations We Can’t Wait To Visit <a href="https://channels.im/tags/array" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>array</span></a> <a href="https://channels.im/tags/asia" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>asia</span></a> <a href="https://channels.im/tags/capital" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>capital</span></a> <a href="https://channels.im/tags/destinations" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>destinations</span></a> <a href="https://channels.im/tags/EcoFriendly" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>EcoFriendly</span></a> <a href="https://channels.im/tags/Ecotourism" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ecotourism</span></a> <a href="https://channels.im/tags/Japan" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Japan</span></a> <a href="https://channels.im/tags/JapanTrips" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JapanTrips</span></a> <a href="https://channels.im/tags/Japans" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Japans</span></a> <a href="https://channels.im/tags/natural" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>natural</span></a> <a href="https://channels.im/tags/offers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>offers</span></a> <a href="https://channels.im/tags/trips" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>trips</span></a> <a href="https://channels.im/tags/visit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>visit</span></a> <a href="https://channels.im/tags/Wait" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Wait</span></a> <a href="https://channels.im/tags/wonders" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>wonders</span></a> Another 500km (311mi) south, this sun-kissed chain of coral-fringed islands is a subtropical paradise in the Pacific. And what makes this untamed, far-flung part of Japan one of the country’s must-visit ecotourism destinations is precisely how un-Japan…</p>
C. Scott Ananian (he/him)<p><span class="h-card" translate="no"><a href="https://wikis.world/@bvibber" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>bvibber</span></a></span> oh boy now you're talking my language. ;)</p><p>We should chat, I've got some ideas on how to better transfer structured data as "wikitext" args. And the Wikifunctions folks have some useful interactions there as well. </p><p>Short story is that arguments and return values for parser functions are PFragments, which can be rendered as wikitext/HTML but also passed directly as a structured value. </p><p>Eg {{<a href="https://kolektiva.social/tags/function" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>function</span></a>:foo|{{<a href="https://kolektiva.social/tags/function" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>function</span></a>:bar}}}} - the value returned by bar could be rendered as a wikitext string, but could also be addressed directly as a zobject by <a href="https://kolektiva.social/tags/function" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>function</span></a>:foo avoiding all the games we usually have to play to armor structured data against wikitext transforms. </p><p>Generalizing a bit: {{foo:{{<a href="https://kolektiva.social/tags/array" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>array</span></a>:foo|bar|baz}}...}} is a way to pass a structured array as an argument, with {{<a href="https://kolektiva.social/tags/array" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>array</span></a>}} being a constructor function for that value. </p><p>Etc.</p>
Dining & Cooking<p>Best Things at Trader Joe’s for Healthy Meal Prep + Shopping List <a href="https://www.diningandcooking.com/1840766/best-things-at-trader-joes-for-healthy-meal-prep-shopping-list/" rel="nofollow noopener" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">diningandcooking.com/1840766/b</span><span class="invisible">est-things-at-trader-joes-for-healthy-meal-prep-shopping-list/</span></a> #<a href="https://vive.im/tags/product" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>product</span></a> <a href="https://vive.im/tags/array" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>array</span></a> <a href="https://vive.im/tags/BusinessInsider" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BusinessInsider</span></a> <a href="https://vive.im/tags/Cooking" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Cooking</span></a> <a href="https://vive.im/tags/CookingTopics" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CookingTopics</span></a> <a href="https://vive.im/tags/HealthyDinner" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HealthyDinner</span></a> <a href="https://vive.im/tags/HealthyMealPrep" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HealthyMealPrep</span></a> <a href="https://vive.im/tags/kitchen" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>kitchen</span></a> <a href="https://vive.im/tags/MealPrepExpert" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MealPrepExpert</span></a> <a href="https://vive.im/tags/night" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>night</span></a> <a href="https://vive.im/tags/PlantBasedOption" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PlantBasedOption</span></a> <a href="https://vive.im/tags/RecipeDeveloper" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RecipeDeveloper</span></a> <a href="https://vive.im/tags/ShoppingList" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ShoppingList</span></a> <a href="https://vive.im/tags/SpecialtyItem" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SpecialtyItem</span></a> <a href="https://vive.im/tags/TraderJoe" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TraderJoe</span></a> <a href="https://vive.im/tags/variety" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>variety</span></a> <a href="https://vive.im/tags/week" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>week</span></a></p>

A Legendary Sci-Fi Icon Returns in January 2025
Array Comics is proud to announce the upcoming release of Buck Rogers 2425, a new comic series that reimagines one of sci-fi's most influential space-faring heroes. With the first issue slated for release in January 2025, the series merges the spirit of...
comiccrusaders.com/comic-books
#buck rogers 2425 #sci-fi #80s #comics #comic books #retro #modern #array comics

Continued thread

I am still pissed off about this from last night.
The array[x][y] syntax for indexing an array inside another array, which is standard in Lua, does not appear to besupported by Pico-8 :neobot_scream_angry:

I had to make a dummy variable for some

foo=array[x]
bar=foo[y]

nonsense.

Also, if I used for all i in array, I could not use i to actually index the array. But for i=1,#array do worked fine even though it should be the exact same thing. And it's only as I write this that I realize that it was probably putting each value of the array into i and not the index. But that's fine, there's no method to sort values and I needed to step through them in a specific order, so it's really easiest to just use the numerical index and manually ensure they stay sorted.

And none of this is for any gameplay logic, this is all just the nominally simple code for scrolling that fucking cloud. :neobot_laugh_tears:

I'm obsessed. 50% memory savings with PHP arrays have driven me crazy 🤪

For the past few weeks, my after-work research on PHP arrays has dominated my free time. The 'Never* use arrays' talk by @Crell at PHPKonf 2021 and a misinterpreted statement that you can save ~50% memory with PHP arrays have triggered intensive research on the topic.

[1/2]

#php #php_src #web_development #development #C #array #php_array

lukasrotermund.de/posts/php-ar

lukasrotermund.de · PHP arrays have driven me madLarry Garfield's 'Never* use arrays' talk really confused me. How can it be that objects in PHP save 50% memory? How can every PHP developer not be excited about this? And why don't you hear about it anywhere?

Fiber-Optic Seismic Sensing Of Vadose Zone Soil Moisture Dynamics
--
doi.org/10.1038/s41467-024-506 <-- shared paper
--
[broadly, a 'seismic' listening technique could help researchers map water movement, moisture levels in soil, with these researchers at Caltech have figured out a way to use vibrations from passing cars to see how much water sits directly beneath the ground’s surface…]
#GIS #spatial #mapping #remotesensing #array #survey #soil #regolith #seismic #water #hydrology #waterresources #watersecurity #subsurface #vadose #vadosezone #soilmoisture #moisture #weather #precipitation #rainfall #surfacewater #groundwater #ecology #agriculture #ecosystems #spatiotemporal #model #modeling #spatialanalysis #fiberoptics #fibreoptics #evapotranspiration #insitu #climatechange #drought #extremeweather #watermanagement #semiarid #geophysics

Recently Completed Geophysical Survey Will Help Protect Critical Infrastructure From Geomagnetic Storms And Space Weather
--
usgs.gov/news/national-news-re <-- shared technical article
--
[my other ½ is a space weather scientist, until I knew her I was not fully aware of all the risks and associated hazards associated with space weather]
#GIS #spatial #mapping #spaceweather #power #telecom #critical #infrastructure #risk #hazard #geomagnetic #geomagneticstorm #geomagnetism #minerals #geothermal #mining #earth #electricpower #powergrid #impacts #conductivity #USMTArray #magnetotellurics #geology #rocks #geophysics #spatialanalysis #spatiotemporal #array #USA #hazardanalysis #powersystems #transformers #powerfailures #lossofpower #blackouts #overloads
@USGS @NSF @nasa @EarthScope @NOAA

Introducción práctica a Numpy (Python)

NumPy es una biblioteca de Python para el cálculo numérico eficiente.
Proporciona soporte para arrays multidimensionales/matrices, junto con una colección de funciones matemáticas de alto nivel para operar con estos arrays.
Realiza las operaciones de una manera muy eficiente y optimizada.
Además nos proporciona herramientas para integrar C/C++ y Fortran.

youtu.be/OyCxgbhafQU

#numpy#python#array
Replied in thread

@drmorr @leobm @mhd The difference in #Perl between $#array as the last index of an array and @array in scalar context is exactly one. In other words:

```
scalar(@whatever) == $#whatever + 1;
```

So using $#whatever for the length of array @whatever *is* wrong unless you take that extra step of adding 1.

Fun fact: You can pre-extend an array @foo by assigning a value to $#foo.

Crazy fact: Earlier versions of Perl let you set $[ to a non-zero index value for the start of arrays.

Replied in thread

@drmorr Objective-C: `[array count]` (bet where Swift got it from)
Smalltalk: `array size` (bet where Objective-C got the space from)
Dart: `array.length`
R: `length(array)` but sometimes `nrow(array)`
Bash: `${#array[@]}`
Pascal: `Length(array)`
Racket: `(length array)`
PowerShell: `array.Length` AND ALSO `array.Count`
Ruby: `array.length` AND ALSO `array.size`
Clojure: `(count array)`
Lua: `#array` (maybe)
Visual Basic: `UBound(array) - LBound(array) + 1` (haha)

C: haha screw you.

Replied in thread

@drmorr
In Perl, the explicit scalar() is usually not needed. Using an array in scalar context gives you the number of elements; scalar() is just one way of forcing scalar context.

PHP doesn't have arrays.

The C++ code is wrong; C++ arrays don't have methods.

Haskell: numElements array
C, C++: sizeof array / sizeof array[0]
Common Lisp: (length array)
bash: ${#array[@]}
Pascal: Length(array)
PostgreSQL: array_length(array, 1)