sus

joined 2 years ago
[–] sus@programming.dev 2 points 5 days ago* (last edited 5 days ago)

though this pic is in winter, and there could well be a bunch of trees just to the right off-camera

(also the cars and the satellite dish give away that this is what a commieblock looks 50 years after being built)

[–] sus@programming.dev 70 points 5 days ago

funny how well this fits for both meanings

[–] sus@programming.dev 34 points 1 week ago* (last edited 1 week ago) (1 children)

this would actually be achieved by a team of 20 thousand oompa loompas with small shovels and 500 million tons of cocaine

[–] sus@programming.dev 14 points 1 week ago* (last edited 1 week ago)

these are probably trolls. At one point quora had a "partner program" where people would get paid to post questions, but only if the questions got enough engagement. The question generators realized that coming up with interesting questions was kind of hard, so they just started pouring out ragebait.

If it's too obvious people may realize it's a troll, so the ideal way to do it is phrase it in a vague way that leaves a lot to the imagination (here for example people can easily make the assumption that you're an idiotic and boneheaded parent)

[–] sus@programming.dev 8 points 1 week ago (1 children)

openAI tried to remove the mexico filter but they just can't. The AI is hopelessly addicted to that sepia tone

[–] sus@programming.dev 14 points 1 week ago* (last edited 1 week ago)

No. If that thing ever ends up running in the ocean, we will all die

[–] sus@programming.dev 3 points 1 week ago

Yeah, same for simcity 4

[–] sus@programming.dev 4 points 1 week ago* (last edited 1 week ago) (2 children)

white background with black text is pretty much the default everywhere and I think always has been, so specifying those colors is redundant (and breaks night mode, though I don't think that was a thing back when it was designed)

[–] sus@programming.dev 16 points 1 week ago

I Can't Believe It's Not Flagged

[–] sus@programming.dev 12 points 2 weeks ago* (last edited 2 weeks ago)

giving a medically unnecessary ear piercing to a 1 year does sound like something that is potentially child abuse, yes

[–] sus@programming.dev 4 points 2 weeks ago

yep, it's almost all banana pi, and at least 4 different 'models' of it it seems. But the word is also used in some string processing tests and as an example comment of how suffix arrays work..

[–] sus@programming.dev 6 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

And most of those cases are of course using the word sarcastically

collapsed list of themThe next function to implement is called, amazingly, next(); its job is to move the iterator forward to the next position in the sequence.

if (lc->sync == NOSYNC)
	for (i = lc->header.nr_regions; i < lc->region_count; i++)
		/* FIXME: amazingly inefficient */
		log_set_bit(lc, lc->clean_bits, i);
else
	for (i = lc->header.nr_regions; i < lc->region_count; i++)
		/* FIXME: amazingly inefficient */
		log_clear_bit(lc, lc->clean_bits, i);

/*
 * Amazingly, if ehv_bc_tty_open() returns an error code, the tty layer will
 * still call this function to close the tty device.  So we can't assume that
 * the tty port has been initialized.
 */

 *   this header was blatantly ripped from netfilter_ipv4.h
 *   it's amazing what adding a bunch of 6s can do =8^)

/*
 * I studied different documents and many live PROMs both from 2.30
 * family and 3.xx versions. I came to the amazing conclusion: there is
 * absolutely no way to route interrupts in IIep systems relying on
 * information which PROM presents. We must hardcode interrupt routing
 * schematics. And this actually sucks.   -- zaitcev 1999/05/12

 * corresponding ABS_X and ABS_Y events. This turns the Twiddler into a game
 * controller with amazing 18 buttons :-)

 * In an amazing feat of design, the Enhanced Features Register (EFR)
 * shares the address of the Interrupt Identification Register (IIR).
 * Access to EFR is switched on by writing a magic value (0xbf) to the
 * Line Control Register (LCR). Any interrupt firing during this time will
 * see the EFR where it expects the IIR to be, leading to
 * "Unexpected interrupt" messages.

 * Thanks BUGabundo and Malmostoso for your amazing help!

 
38
math (programming.dev)
 
 
class Node:
    def __init__(self, edges = set()):
        self.edges = edges


def main():
    foo = Node()
    bar = Node()
    quz = Node()

    foo.edges.add(bar)
    bar.edges.add(foo)

    assert(foo is not bar) # assertion succeeds
    assert(foo is not quz) # assertion succeeds
    assert(bar is not quz) # assertion succeeds
    assert(len(quz.edges) == 0) # assertion fails??


main()

spoilerMutable default values are shared across objects. The set in this case.

 
401
idiot (programming.dev)
 
 
 
 
 
view more: next ›