home.social

#destruct — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #destruct, aggregated by home.social.

fetched live
  1. One of the coolest things in Ruby is the splat operator (*). In short, it lets you destructure arrays into variables, for example:
    ```
    a, * = *[123]
    puts a.inspect # 123
    ```

    You can simplify this code even further by just dropping the asterisks:
    ```
    a, = [123]
    puts a.inspect # 123
    ```

    If you only need the tail of an array, the leading asterisk is mandatory:
    ```
    *, b = [123, 321]
    puts b.inspect # 321
    ```

    #Ruby #Asterisk #Splat #Array #Destruct #Concat

  2. VARNING Saturday Night

    Piranha Bar, Saturday, September 19 at 06:30 PM EDT

    A VARNING FROM MONTREAL XVIII Saturday Night

    Military Shadow 11:15 PM–12:00 AM

    Mob 47 10:30–11:00 PM

    Destruct 9:45–10:15 PM

    Mueco 9:00–9:30 PM

    Psycho Terrorist Despair System 8:10–8:45 PM

    Eulogy 7:30–7:55 PM

    Tickets: https://thepointofsale.com/tickets/py4260917001

    More info: https://varningproductions.com

    montreal.askapunk.net/event/va

  3. #NYT 📆 March 7, 2023 “A #destruct 💥 command youtube.com/live/cJN_2df5jR4 has been transmitted to #H3 🚀 because there was no possibility of achieving the mission” nytimes.com/2023/03/06/science

    #BBC The H3 #rocket is the first medium-lift rocket designed by #Japan 🇯🇵 in three decades.
    It has been presented as a #cheaper alternative to #SpaceX's #Falcon 9 for launching commercial and government #satellites into #Earth's #orbit bbc.com/news/world-asia-648716

    #Jaxa

Share on Mastodon

Enter the server where you have an account.