fool

joined 2 years ago
[–] fool 3 points 3 weeks ago (1 children)

This is like the beach that makes you old. You doubt it, you go there, you ignore the "Beach That Makes You Old" sign, the beach makes you old.

[–] fool 4 points 3 weeks ago* (last edited 3 weeks ago)

A cogirl is a cogirloid in the category of cogirlfunctors

[–] fool 10 points 1 month ago

First, imagine a number in JavaScript. (Bit of a nail biter here, huh?)

let i = 5

Then, we will construct an incrementor. This is really simple: here is the method.

  1. Make a bracket-string-centric version of eval().
[]["filter"]["constructor"]("return i+1")()
  1. Reconstruct stringy eval() by using +[] as 0, +!+[] as 1, and implicit conversions as ways to create strings. For example, 'false' is (![]+[]), so 'f' is (![]+[])[+[]].
[][
  (![] + [])[+[]] + // f
  ([![]] + [][[]])[+!+[] + [+[]]] + // i
  (![] + [])[!+[] + !+[]] + // l
  (!![] + [])[+[]] + // t
  (!![] + [])[!+[] + !+[] + !+[]] + // e
  (!![] + [])[+!+[]] // r
][
  ([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+ // c
  (!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+ // o
  ([][[]]+[])[+!+[]]+ // n
  (![]+[])[!+[]+!+[]+!+[]]+ // s
  (!![]+[])[+[]]+ // t
  (!![]+[])[+!+[]]+ // r
  ([][[]]+[])[+[]]+ // u
  ([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+ // c
  (!![]+[])[+[]]+ // t
  (!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+ // o
  (!![]+[])[+!+[]] // r
]("return i+1")()
  1. Draw the rest of the fucking owl. Final code:
let i = 5; // haha yay

[][
  (![] + [])[+[]] + // f
  ([![]] + [][[]])[+!+[] + [+[]]] + // i
  (![] + [])[!+[] + !+[]] + // l
  (!![] + [])[+[]] + // t
  (!![] + [])[!+[] + !+[] + !+[]] + // e
  (!![] + [])[+!+[]] // r
][
  ([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+ // c
  (!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+ // o
  ([][[]]+[])[+!+[]]+ // n
  (![]+[])[!+[]+!+[]+!+[]]+ // s
  (!![]+[])[+[]]+ // t
  (!![]+[])[+!+[]]+ // r
  ([][[]]+[])[+[]]+ // u
  ([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+ // c
  (!![]+[])[+[]]+ // t
  (!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+ // o
  (!![]+[])[+!+[]] // r
](
  (!![]+[])[+!+[]]+ // r
  (!![]+[])[!+[]+!+[]+!+[]]+ // e
  (!![]+[])[+[]]+ // t
  ([][[]]+[])[+[]]+ // u
  (!![]+[])[+!+[]]+ // r
  ([][[]]+[])[+!+[]]+ // n
  (+[![]]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+!+[]]]+ // ' '
  ([![]]+[][[]])[+!+[]+[+[]]]+ // i
  (+(+!+[]+(!+[]+[])[!+[]+!+[]+!+[]]+[+!+[]]+[+[]]+[+[]])+[])[!+[]+!+[]]+ // +
  +!+[] // 1
)()
// no virus i swear. execute arbitrary code in your browser console.

Anyway, that's just everyday JS work. It's like step 5 after resizing the button, but a bit before centering the div.

based on this. ~some~ ~translation~ ~methods~ ~done~ ~differently.~

[–] fool 2 points 1 month ago

══════════•⊱💀⊰•═══════════

•STYLISTIC BREADTH

══════════•⊱💀⊰•═══════════

[–] fool 6 points 1 month ago (4 children)

Doesn't anyone here know that the Death Note (1) curses all those who use it with misfortune and (2) will trap your soul in limbo after use?

Nah, I'm good. Tweezers and a matchstick.

[–] fool 3 points 1 month ago* (last edited 1 month ago)

Amazing read, thank you for this. Saved

[–] fool 3 points 1 month ago

Multipliers, positive reinforcement, and gamified number-go-up. I like it, I'll check it out.

[–] fool 2 points 1 month ago* (last edited 1 month ago) (1 children)

Even more magical is the lossless Zstandard ~is~ ~this~ ~a~ ~name~ ~drop?~. It does so much stuff, it's awesome!

  • hella fast compared to similar-leveled compressors (zoom)
  • no matter the zstd compression level, decompression takes equal time! (ux!)
  • zstd can use a user-given dictionary, or train its own on a sample set (wowie)
  • zstd can be used for live compression (compress and decompress as you read and write, not before or after)
    • on ram (install more ram??)
    • in filesystems (2.5x your disk??)
    • saves CPU by not compressing if it's not worth it (efficiency!!)
  • use ALL the cores!

So kool. lol

[–] fool 6 points 1 month ago* (last edited 1 month ago)

Obviously only for important cases, like compiling custom insults into sudo. :)

[–] fool 6 points 1 month ago

Did you see Mozart's new concerto?

[–] fool 14 points 1 month ago (1 children)

Everyone's speculating so I'll put in something concrete:

About 3 months ago, r/wholesomememes mods clamped down on karma-farm bots as hard as they could...

causing no new posts to appear for two entire days.

Hey there friends! It’s only been a few days since we started cracking down on the spam bots and excessive reposts that have been plaguing r/WholesomeMemes - and now there is nothing left! --mod

[–] fool 7 points 1 month ago* (last edited 1 month ago)

Did somebody say Inferno?

62
rap god (programming.dev)
submitted 1 month ago by fool to c/[email protected]
 
5
rap god (programming.dev)
submitted 1 month ago* (last edited 1 month ago) by fool to c/[email protected]
 
0
i grow (programming.dev)
submitted 1 month ago by fool to c/[email protected]
 
 

Dear Linux community,

In these shite times, we need to remember to see the human in all of us. So I address the humans of this community:

  1. To the Stallmanites. SCREW CORPORATE YEAHHHHH! Each day humanity grows smarter, no matter how many iPad kids or mass media diatribes there are, so celebrate how far we've fucking come. Look at your oldest machine. You're a million times better. My old Slackware was full of SHIT! FUCK YEAH

  2. To the pragmatists. Linux doesn't get in your way. People get in each others' ways all the time. But most importantly, don't get in your own way. If you're feeling like shit -- the human capacity to hope beats everything to a pulp. You know what we do when shit fucks? We submit a fucking pull request. FUCK YEAH

  3. To the hobbyists. Life is a bundle of fun so feel every moment. When you're old, and you'll be old as fuck, you'll be like "fuck yeah I lived every moment of my life up to now." So fuck another segfault up. Learn C, and call C the best language. Then learn Rust and call Rust the best language. Make a homelab then call homelab the best language. FUCK YAML HOLY SHIIIIIIIT

Flaming hot wishes,

Your fellow fucking human.

 

Subjective situations welcome

113
submitted 2 months ago* (last edited 2 months ago) by fool to c/[email protected]
 

stuff like the 9mm wadadadang thing or

no reason.

 
81
submitted 2 months ago* (last edited 2 months ago) by fool to c/[email protected]
 

The temperature and texture were very easy, balanced. Drinking out of a clear glass added to the fanciness. I am a biased narrator, because I was already mildly thirsty.

35
submitted 2 months ago* (last edited 2 months ago) by fool to c/programming
 

edit: title

This book is efficient and answered questions the moment as I imagined asking, but to see its unique coolness -- we could do with some context on its literary genus.

Have you ever seen Kate Gregory's talk: Teach C++ not C?

The idea is, C++ has different habits than C, even if C++ is a "99% superset of C". But beginners can understand C++ just fine without learning C first. It's more ergonomic to learn about std::vector before using raw arrays and pointers, as Gregory puts it.

So, why do we teach vim before neovim, or before a well-regarded distribution like LazyVim? Because vim is "purer", installed everywhere? Because we learned it that way? What if we taught LazyVim/Neovim before raw vim, a la C++ before C? Modern features and ergonomics will keep a beginner listening -- surely you don't disagree.

Anyway, this book is that efficient and direct path to LazyVim. It covers the things that StackOverflow won't be the most useful pedagogues for (e.g. "what are those tab things on top of my window? How do I use the explorer thingamajig on the left -- should I even care about it, anyway?"). Plus, it keeps LazyVim as a first-class learning target, providing its mnemonics and habits alongside the typical vim stuff you'd normally learn with vimtutor.

I like this kind of learning :) good for the on-the-fencers like me

38
submitted 2 months ago* (last edited 2 months ago) by fool to c/[email protected]
 

edit: shortened thoughts

If I get 50 up/downvotes then 500 people of all different walks of life read this, since only the distribution's tails vote. If that's 5-10% at each tail, then the 80-90% who thought the post or comment was mild have seen it and have not spoken.

If I leave it in the showerthoughts queue for ten days, then future people will see it too. Maybe they're from a year away!

Idk. Just sonder

123
submitted 2 months ago* (last edited 2 months ago) by fool to c/[email protected]
 

The world of Linuxia beckons you! Your annoying guide flexes their gear the moment you spawn

Gentoo USB (Rare):
=> USE flags: Can rebuild itself
   with or without the other
   three attributes
=> March native: Increases attack
   speed by 1% or -1%
=> Slot: Can use two versions of any
   attribute at the same time
=> PGO: The USB memorizes when you
   attack to increase speed, trading
   off for lower speed elsewhen.
   Requires two rebuilds.

Charm of systemd (common):
=> nspawn: Can build with deeper focus
=> Wisdom tax: The wise are less
   likely to feel neutral toward you
   (+2 or -2 charisma)
=> Chant of systemd: By chanting
'systemd-analyze calendar "Fri *-*-13"',
   the caster instantly knows when
   the next Friday the 13th is.

Let's have some fun! Spells, items, and dungeons oh my!

 

For me, it's a 30fps video about someone doing a Super Mario flash game walkthrough of their own level. It was pretty meticulous, pushed the physics of the game. Lots of F.L.U.D.D. (a funky water spray bottle for plumber self-propelling) and dive tricks.

view more: next ›