mastouille.fr est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Mastouille est une instance Mastodon durable, ouverte, et hébergée en France.

Administré par :

Statistiques du serveur :

589
comptes actifs

#closures

0 message0 participant0 message aujourd’hui

alojapan.com/1312825/tim-blum- Tim Blum will phase out traditional gallery model, close Los Angeles and Tokyo locations – The Art Newspaper #ArtMarket #closures #CommercialGalleries #news #Tokyo #TokyoNews #東京 #東京都 Tim Blum, the co-founder of the influential Los Angeles gallery lately known simply as Blum, says he will “sunset” the gallery he has run for more than three decades—at least in its traditional model—citing burnout over the gruelling art market demands of…

alojapan.com/1284946/japan-vid Japan Video closes in San Francisco to tearful goodbyes #closures #Japan #JapanNews #Japantown #news #retail #video At one end of the store, a large pile of Sailor Moon figurines and plushies began to accumulate — the final haul of Gabe Gacayan, 34, who first visited Japan Video & Media in 2010, when he moved to San Francisco from Yuba City for college. He would return to the shop every weekend. “I …

Oh my goodness, how did I miss that in ES7 you can use a closure as a method. Goodbye `bind()`, you will not be missed :)

e.g.,

```js
class A {
b = () => console.log(this)
}

const a = new A()
a.b() // A { b: [Function: b] }

const c = a.b
c() // A { b: [Function:b] }
```

Nice! :)

**Edit**: Be careful with this. See this note by @marsup: mastodon.social/@marsup/113799

MastodonMarsup (@marsup@mastodon.social)@aral@mastodon.ar.al Respectfully, this looks like an anti-pattern. `b` won't be part of the prototype, potentially preventing some meta programming, and you're going to get a new `b` for each instance of that class, consuming that much more memory for each instance you hold.

Was stuck the past week(s) in my #lisp implementation in #zig on #closures, as they provide an real challange with their capturing properties. Espc bc I didn't wanted to resort to using things like arbitary "rules" to restrict the language only for closure to work, or already implementing a tracing #garbagecollector for this.

I rather choose to use #ARC (Atomically Reference counting) for this, which comes with a few problems. And as I found nobody that has solved this problem, I've come up with a solution to it myself: 'Switchable references with strongchain elemination'. A bit bulky name, and the technique is still in it's beginning, but when implemented in rust the compiler dosnt complain and valgrind dosn't detects any leaks.

I've written a fairly big blogpost about it too, including not only the whole explanation how it works but also alternatives I've considered. Check it out if you're interested!

Now I only need to translate it over to zig, but hopefully that dosnt take so long x3

blog.lapyst.devRollinglisp 001 - Of closures, mutability and switchable references - Mai Lapyst's Blog

AZ511: Winter weather closes northern Arizona highways

The following highways are closed due to severe conditions related to winter weather, according to the Arizona Department of Transportation.

Interstate 40 eastbound at US 93 (milepost 72)
Interstate 40 eastbound at Ash Fork (milepost 146)
Interstate 40 westbound at Williams (milepost 160)
Interstate 40 westbound at Winslow (milepost 252)
Interstate 40 westbound at Holbrook (milepost 289)
(continued) az511.com/
#AZwx #closures #winterweather #Arizona #travel

🎉 I just finished Day 9 of the #100DaysOfSwiftUI at https://hackingwithswift.com/100/swiftui/9 via @twostraws #Swift #SwiftUI #Swiftlang #learningswift #closures

I loved today's lessons and checkpoint 5! I can't wait for SwiftUI! I heard it's declarative and that closures are used a lot. So far I managed not to watch any videos, but I do know it takes inspiration from React (perhaps even #elmlang ?) and I look forward to that!

Here's the first and only app I've done while learning Elm with @rtfeldman amazing book. The API I relied upon is now (justifiably) requiring payment, but I cannot justify that in this instance. Anyhoo: https://github.com/gacallea/elm_speakandspell

Hello #elmlang people :)
stereophonic.spaceStereophonic

I have the perfect face for radio interviews: about to chat with Rick Zamperin of CHML in #Hamont about property values and #school #closures.

My recent study with John Merrall and @higgicd about housing prices and proximity to schools is out in #GeogAnalysis this week (open access).

doi.org/10.1111/gean.12377

Key finding: spatial analysis reveals value of proximity to schools, with 7.29% decrease on average for each km to the elementary school in the catchment.

Losing over 1000 booking offices on the railways by Christmas. Living in London, one of the pleasures of TFL taking charge of the overground service was TFL providing far more staff at the stations resulting in cleaner, safer environment and helping passengers with poor mobility on and off trains. This is bad news for users of the national railways.

#Railways #Closures #RMT

independent.co.uk/travel/news-

The IndependentRail ticket office closures loom as ministers and train firms sideline unionPar Simon Calder