Show newer

@alex I thought it did. you might have to ask @freemo about that. I believe he has a discourse instance here on qoto.org at discourse.qoto.org/

re: terf ideology/what I've learned from Spinster 

@alexa@fedi.absturztau.be @BradleySmall i met a AMAB "girl". Still had a penis, took no hormones, didn't dress as female, had a female gf and chaimed to have a lesbian relationship with her. as a matter of fact, other than choosing to use female gpg's I personally saw nothing that would indicate not male. It didn't affect my life but I would have been offended if I were a lesbian. or activist female or "pig-trans".. Maybe some biological males are bought into the philosophy that men (or at least cis-het-male-white-men in general) are the current root of all evil, and simply want to disassociate themselves from male-ness. Maybe they think girls will be attracted to them in the same way that guys fetishize lesbians looking for "unicorns"

Oh, yeah, on that line right above the free(ptr); second from the bottom... That is where you might want to do something with ptr :) Sorry, I meant to put that in there.

Show thread

/* If you are going to use realloc, don't make this common mistake! */

<stdlib.h>

int main (void) {

size_t size = 16;

char * ptr = malloc(size);

size = 32;

/* This is wrong!

ptr = realloc(ptr, size);

ptr is allocated. If this call fails ptr will be set to NULL, and
the allocated memory will not be freed.
*/

char * tmp_ptr = realloc(ptr, size);
if (NULL != tmp_ptr) {
ptr = tmp_ptr;
} else {
/* This is the error case */
free(ptr);
ptr = NULL;
}

free(ptr);
}

@hund@linuxrocks.online Consider, that 12 years ago that machine was considered pretty hot!

@moo@spinster.xyz @mk Well that gives us a wonderful place from which to begin! :)

@kiilas use a good coding discipline. Perhaps give TDD a try. If you change your process to where you are "thinking" in design instead of code, then you are merely transcribing design elements into coding patterns and paradigms, your code will be cleaner and clearer. Or try pair programming. You will have to do it more clearly from the beginning because you are showing it as it. Is happening rather than just puking it out there.

@moo@spinster.xyz @mk I am all for the free and open exchange of ideas. However, that also leaves things open for persons to avoid certain topics (that is what used to be called "polite conversation"). Feel free to bow out of any conversations you don't care to be included in if I accidentally include you in such.

As for not believing in vegans, they simply don't exist much like other mythological creatures. From what I can tell, beliefs are much more important than factual information on the internet. So I simply choose not to believe in certain things, vegans, holocaust deniers, anthropogenic climate science deniers, anti-vaxers.. and as necessary I reserve the right to add more groups and classes to those on the list.

@mk since accurate data is not actually collected I would question any of the results. Personally, I would assume I to be similar to the rest of the internet, mostly male, and most of those who claim to be female are also. Mostly male as well.

@moo@spinster.xyz @mk well that sure is something. I have plenty of opinions on many of those subjects. It might be enjoyable to actually discuss one of more of them with you. We might have to agree to disagree on some of them and agree on others and meet somewhere in the middle on others. Your opinions are valid, and you are a worthwhile human being. (I don't believe in vegans though because I am a beekeeper.) :)

Cute little trick for gcc or clang users: (run valgrind on it afterwards)

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#ifdef __cplusplus
extern "C" {
#endif

void raii_char_free(char **);

#define raii_char_pointer char * __attribute__ ((__cleanup__(raii_char_free)))

#ifdef __cplusplus
}
#endif

void raii_char_free(char **p) {
free(*p);
}

int main (void) {
raii_char_pointer ptr = strdup("abcdefg");
printf("%s\n", ptr);
return 0;
}

use a Makefile early and often.
Learn how to use a Makefile... Well.

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.