Post B6eQzfXrZWUyqqFuWO by fiore@brain.worm.pink
(DIR) More posts by fiore@brain.worm.pink
(DIR) Post #B6eMzmX5C2sqhogm3M by rebane2001@infosec.exchange
0 likes, 2 repeats
i made a new game called js crossword where you have to solve it by literally writing javascript code that eval()'s into the correct values!check it out if you're into ctfs or wanna challenge your javascript skillshttps://lyra.horse/fun/jscrossword/ <3
(DIR) Post #B6eMzmhMZp6hDhUz4q by fiore@brain.worm.pink
0 likes, 0 repeats
i feel like the fact that you can even do this is very telling of how bad javascript is as a languageRE: https://infosec.exchange/@rebane2001/116632169141393181
(DIR) Post #B6eN0vxRdV9qE8ZKV6 by fiore@brain.worm.pink
0 likes, 0 repeats
seems fun tho im definitely gonna play it
(DIR) Post #B6eQEPTHW5sZO9Zsau by coolbean@brain.worm.pink
0 likes, 0 repeats
@fiore honestly this is fine for a scripting language
(DIR) Post #B6eQEPkIUpUSEvXT7I by fiore@brain.worm.pink
0 likes, 0 repeats
@coolbean python is not this loose with its syntax
(DIR) Post #B6eQJrdwCZEkD5AA88 by 0x57e11a@void.lgbt
0 likes, 0 repeats
@rebane2001 afterseveral hoursgoing into v8 source codereading ecmascript specsummary execution for whoever made 23 across possible… spreading a string was the last thing it thought would be valid
(DIR) Post #B6eQJrpzTksUoSnmuu by fiore@brain.worm.pink
0 likes, 0 repeats
@0x57e11a @rebane2001 wtf is vertical 50 why does it do that wtf 😭
(DIR) Post #B6eQPKiFY777ocmtPs by fiore@brain.worm.pink
0 likes, 0 repeats
@coolbean shell would probably work just as well but are we really gonna stand here and defend shell syntax
(DIR) Post #B6eQfTHxQprL2xBWuO by coolbean@brain.worm.pink
1 likes, 0 repeats
@fiore i willits fine. ppl hate on it and i understand why but in most cases its the first and last tool you needi should finally get started on my pass clone. keepassxc is annoying me more and more by the day
(DIR) Post #B6eQiUlAQ1KuThHzto by fiore@brain.worm.pink
0 likes, 0 repeats
@coolbean imean it is fine , but it immediately becomes not fine if you exceed the Small Script Limit
(DIR) Post #B6eQzfMWFhQOHewqq8 by navi@social.vlhl.dev
0 likes, 0 repeats
@fiore @coolbean what's the small script limit? =w=by that i mean how does https://git.pinkro.se/Rose/pillbug.git/tree/git-bug.sh compare
(DIR) Post #B6eQzfXrZWUyqqFuWO by fiore@brain.worm.pink
0 likes, 0 repeats
@navi @coolbean i personally wouldnt have made it like that , i think for me that would already be too much . but like u and rose are way better shell witches than i am ! so your limit is probably different from mine
(DIR) Post #B6eR0jaI2XejfTtmT2 by coolbean@brain.worm.pink
1 likes, 0 repeats
@navi @fiore i like that. its structured well and is fairly intuitively readable. entirely fine use of sh imogood job! @rosey
(DIR) Post #B6eR92ByjxDHhDU8Zc by navi@social.vlhl.dev
0 likes, 0 repeats
@coolbean @fiore @rosey uhm, i wrote that script =w=
(DIR) Post #B6eR92NK3mHsGOnCFs by coolbean@brain.worm.pink
1 likes, 0 repeats
@navi @fiore @rosey oh im sorry i just assumed cause its in /Rose/ my bad you did a good jobrose has also been absolutely incredible this year though
(DIR) Post #B6eR9ZKHY6SmSWcjb6 by navi@social.vlhl.dev
1 likes, 0 repeats
@fiore @coolbean a thing to notice is that it's very flateach individual subcommand is really smallit looks big because it's all in one file
(DIR) Post #B6eRCNEcxbKNpNJfwO by fiore@brain.worm.pink
0 likes, 0 repeats
@navi @coolbean yes i do apprecaite it and its very readable even by me ^^ you really did do a good job on this one
(DIR) Post #B6eRG6oPxgDG3Gq1IW by chjara@akko.tuxcrafting.xyz
0 likes, 0 repeats
@fiore @coolbean JS is not loose with its syntax at all?
(DIR) Post #B6eRG72b6xYUlFTLOq by fiore@brain.worm.pink
0 likes, 0 repeats
@chjara @coolbean what i meant is that it doesnt feel very consistent , thats all
(DIR) Post #B6eRGf6gSH1gPle5UO by coolbean@brain.worm.pink
1 likes, 0 repeats
@navi @fiore yea its just a list of fairly self-contained functions
(DIR) Post #B6eRHECvx1p1HHq4ae by coolbean@brain.worm.pink
1 likes, 0 repeats
@chjara @fiore i smell an approaching hell threadabort abort abort abort
(DIR) Post #B6eRKC5AJEwBYTcT1k by chjara@akko.tuxcrafting.xyz
0 likes, 0 repeats
@fiore @coolbean JS, in its syntax and semantics, is completely consistent. Sometimes unhinged, but consistent.
(DIR) Post #B6eRKCEjjeas2A66wi by fiore@brain.worm.pink
0 likes, 0 repeats
@chjara @coolbean fair enough :P
(DIR) Post #B6eRTYEnJ1GWsIaLYm by coolbean@brain.worm.pink
1 likes, 0 repeats
@chjara @fiore actually have to agree. ecmascript is weirdly cleanbtw can we please call it ecmascript like thats literally what the spec is called javascript is such a nonsensical misnomer that makes it sound even worse than it actually is
(DIR) Post #B6eRYtGgXgS7Y111xg by mitsunee@mk.absturztau.be
0 likes, 0 repeats
@fiore@brain.worm.pink @chjara@akko.tuxcrafting.xyz @coolbean@brain.worm.pink implicit type casting is actually very consistent once you understand the rules around it. people just act like it makes no sense because it's different from whatever language they learned previously. people just shit on JS in particular because it got a bad reputation due to enabling the ad industry. codegolfing exists in all languages, I've seen C code shaped like a donut that renders a 3D-looking ascii art of a donut.
(DIR) Post #B6eRYtQbwmOO2nexQu by fiore@brain.worm.pink
0 likes, 0 repeats
@mitsunee @chjara @coolbean that c thing is just So Beautiful isnt it
(DIR) Post #B6eYkLINNRwBKyDLw8 by ww@xyzzy.link
0 likes, 0 repeats
@fiore why does 99% of javascript criticism boil down to "it can coerce anything to a string"like, okay, how often does that actually matter in practice?
(DIR) Post #B6eYkLWCY2zq1qgOUC by fiore@brain.worm.pink
0 likes, 0 repeats
@ww ok fair enough i supposethe real thing i have a problem with is actually the ecosystem and the dominant culture around it . sorry for spreading bad takes :P
(DIR) Post #B6ejI9943aGr2dcIEK by 0x57e11a@void.lgbt
1 likes, 0 repeats
@fiore @rebane2001 right??? had to poke through v8 source to find CreateDynamicFunction to figure that one out…
(DIR) Post #B6ejKW0zzwAEYByQZE by fiore@brain.worm.pink
0 likes, 0 repeats
@0x57e11a @rebane2001 thats crazy … 😭