« first day (1681 days earlier)      last day (3269 days later) » 

user3047181
6:00 PM
nah, immaculately conceived
 
From your father?
 
idk what to look for when buying a UPS =/ anyone have experience with that?
 
thinking of conception.. grandma's cat just gave birth to other 5 cats
 
6:01 PM
Output?
 
this is getting O(N^2)
 
is meltybutter cicada trying to make me think he's not cicada by answering a java question instead of C++ to get on this chatroom
 
and might get worse
sterilize()
 
@Alex is broken
 
no im not
 
6:02 PM
@R.MartinhoFernandes ight, well my PSU is 750W + a monitor, I found a UPS thats rated for 810W so I guess I should be good. But I saw mentions of true sine-wave vs simulated sine wave and idk if should pay attention to that
 
user3047181
i've never answered a java question, i swear
 
lol did rightfold actually get suspended :<
5
lol
 
@MeltyButter Please don't swear.
 
@AlexM. meltybutte
 
Oh. That's some AC shit. Dunno.
 
6:04 PM
@MarcoA. No. Are you @thecoshman?
 
?
 
"get" is correct here.
 
is he a grammar nazi?
 
lol cosh a grammar Nazi
 
6:05 PM
ah sorry, didn't see the "did"
 
More like a grammar Terminator.
 
correct. Although I'm more used to something like "that guy got suspended"
 
TIL the first high level language (that didn't really get published) supported exception handling en.wikipedia.org/wiki/Plankalk%C3%BCl
 
Probably not even correct English.
 
6:06 PM
"Plankalkül" sounds Finnish.
Fortran FTW.
 
@PolymorphicPotato I'd better not tell you what it sounds in my language.
 
@AlexM. he got suspended? what for?
 
I have photoptarmosis. That sounds cool.
 
Photosynthesis.
 
@Borgleader something like "fuck <some user here>"
 
6:10 PM
lame
 
I practice photosynthesis.
 
@Borgleader I know, rightfold got flagged before too
it seems he just wanted to get suspended
 
Both the message and the suspension were lame.
 
seriously?
 
6:12 PM
..
 
who flagged @AlexM.
 
The word "fuck" by itself is not automatically offensive.
 
@Danack you're always coming here first when a flag happens :D
 
@Danack No word is.
 
@PolymorphicPotato except "java"
 
6:14 PM
I dunno - "flange" is pretty nasty....
 
I'd feel offended if someone said "you're a java developer"
 
Flange you!
 
@MarcoA. no offense if someone say "you're a PHP developer" to you :P
 
@NullPoiиteя you automatically engage at that point
 
@NullPoiиteя That's our word - you do not get to use that word.
 
6:16 PM
hahaha
 
@Danack :P
 
In Czech "šukat" is "to fuck". Funnily, one old book 19th century or such, in Czech, says "Babička šukala po světnici," which means, if translated literally, "Grandmother fucked around room." The book is not about sex. The old meaning of "šukat" apparently was to "clean up." So the grand mother was cleaning up around in the room.
 
the evolution of words amazes me some times
 
In Dutch we just say "fuck" when we mean "fuck".
Recently I wanted to say "astronaut" but I forgot the word so instead I said "an American in space".
As if all astronauts are Americans. XD
 
What does "fuck" mean, though?
It has a ton of meanings.
 
6:20 PM
All of them.
But with Dutch conjugations, typically.
Except "fucking".
 
user3010322
@Borgleader I think half of them are nonsensical.
 
Although prepending names of diseases is more common than prepending "fucking ".
 
@PolymorphicPotato examples? I'm having a hard time seeing how that'd work...
 
You tuberculous son of a bitch.
 
Would you people stop flagging stuff please?
 
6:28 PM
@melak47 well, you take a word, such as "vet" (awesome), and prepend a disease like "kanker" (cancer) or "tering" (tuberculosis) to form "kankervet" and "teringvet".
 
Cancermazing.
 
tuberculoriffic
 
It is of course considered bad practice in formal settings.
"kut" (cunt) is more common in those.
Dutch profanity can be divided into several categories. Often, the words used in profanity by speakers of Dutch are based around various names for diseases. In many cases, these words have evolved into slang, and many euphemisms for diseases are in common use. Additionally, a substantial number of curse words in the Dutch language are references to sexual acts, genitalia, or bodily functions. Religious curse words also make up a considerable part of the Dutch profanity vocabulary. Aside from these categories, the Dutch language has many words that are only used for animals; these words are insulting...
 
There's a wikipedia article for Dutch profanity, but no articles for Polish profanity? Wikipedia be weird.
 
@R.MartinhoFernandes You still waiting for the next train?
 
6:36 PM
oh tomorrow pentecost
nice, almost wanted to go to work
 
@PolymorphicPotato I've always wondered why different people have different topics for insults
 
what is pentecost?
 
Pentecost (Ancient Greek: Πεντηκοστή [ἡμέρα], Pentēkostē [hēmera], "the fiftieth [day]") is the Greek name for Shavuot, the Feast of Weeks, a prominent feast in the calendar of ancient Israel celebrating the giving of the Law on Sinai. This feast is still celebrated in Judaism as Shavuot. Later, in the Christian liturgical year, it became a feast commemorating the descent of the Holy Spirit upon the Apostles and other followers of Jesus Christ (120 in all), as described in the Acts of the Apostles 2:1–31. For this reason, Pentecost is sometimes described by some Christians today as the "Birthday...
@MarcoA. because different people are offended by different insults.
 
@PolymorphicPotato it sounds almost the same in french
well sortof
 
i.e. italian profanities are more focused on sex, german profanities are more focused on excrements, dutch ones on diseases..
 
6:37 PM
Scheiße isn't uncommon in Dutch either. :D
 
it probably depends on what was most prohibited/frowned upon throughout the history
 
romanian profanities are focused on mothers
shrug
 
user3010322
Hrm.
 
@AlexM. you have a mother? crosses arms, turns back to Alex
 
user3010322
So I think when people say "Don't cast void pointers from malloc in C",
 
6:39 PM
@melak47 what
 
user3010322
they mean only in C, truly.
 
@AlexM. I didn't know that
 
user3010322
Because in C++ its a type error.
 
yes
 
6:39 PM
This is one important place where C isn't compatible C++.
 
user3010322
But the C code would work if you had the cast in it.
 
and where C folks get angry if you use an additional cast
 
@ThePhD There's nothing wrong with it, really
 
@ThePhD Yes, but people are bad and stuck in the eighties.
 
6:40 PM
except that implicit-int bullshit where I'm not even sure if that's still legal
 
user3047181
@ThePhD wait why is that bad?
 
They don't turn on compiler diagnostics that annoy the shit out of you if you get the sizes wrong.
And they don't turn on compiler errors on use of undeclared functions which has been illegal since C99.
 
user3010322
@MeltyButter Something stupid about "don't repeat yourself" and "ease of maintainability"
 
user3010322
I.E., if you change the type of what you're mallocing,
 
user3010322
it will "just work"
 
6:41 PM
If you want DRY, don't use a language with manifest typing in the first place.
 
user3010322
Which I think is stupid
 
ITT auto is literally void* ? :p
 
user3010322
Because having it "just work" means you can allocate a block too small or too large for what you're mallocing because a compiler error doesn't smack you upside the head.
 
user3010322
So now I want to err on the side of "always cast".
 
Ell
I forgot what manifest typing is
 
user3010322
6:42 PM
Since it's the safest and most bug-free.
 
@ThePhD No?
 
@ThePhD compiler errors are for pansies. segfaults all the way!
5
 
@melak47 RIGHT ON!
 
user3047181
@ThePhD i thought it was wrong to use malloc in c++ anyway?
 
@ThePhD int* p = malloc(sizeof *p);
 
user3010322
6:43 PM
@milleniumbug Well, that solves that error then.
 
user3010322
@MeltyButter I'm working with a C codebase (in C++).
 
@Ell opposite of type inference.
 
user3010322
What I could do is just wrap this whole thing in a extern C block or something.
 
user3010322
But I'm not sure how well it would go over to have defintions of C functions in an inline header in an extern C block.
 
E.g. HolyShitLongTypeName x = new HolyShitLongTypeName() instead of let x = new HolyShitLongTypeName().
 
6:44 PM
@ThePhD Doesn't change the language rules.
 
user3010322
@milleniumbug It won't compile it as C?
 
lolno it only changes the linkage
 
C doesn't support extern "C".
You have to do this (do it in all your public C headers anyway):
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
// everything here
#ifdef __cplusplus
}
#endif
This is another point where C is inferior to C++; in C++ the header boilerplate is just #pragma once.
 
not a gigantic point imho
but whatever
 
@ThePhD It won't anyway
Whether you cast explicitly or not makes no difference
 
user3010322
6:50 PM
int* p = NULL;
char* c = p;
 
@Borgleader that was hours ago. I just arrived in Berlin.
 
user3010322
That's... valid code? In C?
 
No, but that's not what malloc does
 
user3010322
Right. But if you add a type cast in front of malloc it becomes that.
 
@R.MartinhoFernandes TXL or SXF?
since BER is taking a looooot of time..
 
6:51 PM
int *p = (int*)malloc(1); and int *p = malloc(1); are equally wrong and equally valid
 
user3010322
renamed_struct* p = (my_struct*)malloc(sizeof(*p));
 
I don't planes
 
And that's why you shouldn't cast explicitly
 
@ThePhD Won't compile.
 
user3010322
That makes a compiler error, no?
 
user3010322
6:52 PM
Right, so if you DO rename your struct it won't compile... which is good?
 
Maybe, but that's not protection from anything, because the code would be valid without a cast
And correct
 
user3010322
Right, true.
 
user3010322
The sizeof(*p) makes it correct all the time...
 
You're creating a spurious error for no reason
 
user3010322
I wanted to do it for C++ intertop.
 
6:53 PM
@ThePhD What's wrong with the code? "a null terminated string is a char array with a null value (0x00)" and so c would just be a null character.
 
user3010322
Because if you compile the code under C++ it breaks.
 
Don't compile C code as C++
 
user3010322
Well, this is a header only library that's interfacing with a C library, so. :v
 
user3010322
Does extern C apply to functions declared and defined in a header file?
 
@DonLarynx You're trolling right now. Tell me you're trolling.
 
user3010322
6:54 PM
If I can do that then I can just ignore all the errors.
 
extern only changes the calling convention
 
user3010322
Oh.
 
Linkage
 
user3010322
Well, titters.
 
Whatever
 
6:55 PM
I wonder if I ever used IntelliSense while writing C++ for anything
I always disabled warnings related to it
 
@R.MartinhoFernandes oh, i guess i lost track of time
 
What's intellisense?
 
the thing in VS
ah nvm I use autocompletion
 
@milleniumbug VS's auto-complete and related features,
 
red squigglies
 
6:56 PM
Ah, that thing. It's useful.
 
yeah forgot about autocompletion
 
Not for C++
 
I use that
 
I like it. It's an additional safety net.
 
lol IS for C++ makes up errors
 
6:58 PM
this is such a great song
 
It's not a net, and it's definitely not a safety anything
 
@milleniumbug I have a tendency to do that for people who ignore nearly everyone in the room.
 
Diagnoses syntax errors correctly. It's faster feedback than recompiling.
Also, the made up errors disappear after compiling.
 
not just syntax errors, it once told me "oh you cant do that cuz that thing is declared private"
 

« first day (1681 days earlier)      last day (3269 days later) »