marko-lev
Re:White House warns of ‘unprecedented’ Serbian troop buildup on Kosov...
on Saturday September 30, 2023 @02:41PM (#37718437)
Good job proving me right.
Re:White House warns of ‘unprecedented’ Serbian troop buildup on Kosov...
on Saturday September 30, 2023 @10:03AM (#37715538)
None of you know what you're talking about.
Re:What Learning APL Taught Me About Python
on Thursday August 17, 2023 @04:23AM (#37158714)
I like to leverage some FP to bring readability to python
from toolz import curried, pipe
pipe(ages,
curried.filter(lambda age: age > 17),
list,
len)
This way you can follow - vertically - what happens, where, and why.You can make your own pipe function to avoid 3rd party dependencies
import functools
pipe = lambda *args: functools.reduce(lambda acc, el: el(acc), args)HTMX is just HTML.
HTMX substitutes a DOM element with the HTML response you get from an on-click HTTP request instead of redirecting to a new page.
Claims of HTMX being yet another complexity or yet another JavaScript framework fail to acknowledge this.