« first day (1727 days earlier)      last day (3447 days later) » 

08:00
@rightfold You still have objects
and use ORM just as a data structure
but even so, it is too complex
user1804599
I think the combination of structural types, subtyping and parametric polymorphism can solve the problem of fetching more data than necessary.
we did it ladies http://t.co/vviivArcj3
2
user1804599
Or in C++ you can do it with SFINAE.
@wilx We had to move out because we couldn't enter the old house except via the back window at some point :(
@BartekBanachewicz stupid factorio I regret buying it: I died 5 times in a train accident due to constrained building space
user1804599
08:10
or with variadic templates and inheritance
@MarcoA. lol
@GodfreyElfwick @shoe0nhead yes but with the man in the back now it's just perpetuating rape culture
lol
ahahah
the responses are pretty win
Also, the irony is, of course, that Facebook appears to be completely dominated by women.
user1804599
@Jefffrey s/we/Facebook/
user1804599
08:12
Facebook is dominated by Mark Zuckerberg.
did anybody notice the pink "tweet" button?
even more gender-equal
user1804599
it has the colour of the profile you're looking at
@rightfold racist
it was done for gender equality
> Thanks for your help and not making fun of me
poor guy
user1804599
> Flanders gets gender-neutral toilets in office buildings
user1804599
08:14
lol @StackedCrooked nieuws.tpo.nl/2015/07/09/…
user1804599
gekke belgen
@rightfold actually, that's pretty normal. It's not about being gender neutral. Better resource utilization.
user1804599
well, I think it's a good idea
user1804599
but only to annoy people who are all "eww I don't want to pee in the same room as somebody of the other sex go away"
user1804599
bothering stupid people is always +1
08:18
That's the whole reason we created the lounge for you
user1804599
now get rid of gender-specific toilets and problem solved!
get rid of toilets; that will reduce the problem of people turning up in high numbers
user1804599
also install pee detectors on the floors of toilets and lock up people who pee on the floor
user1804599
then call the police and have them jailed
good idea
08:20
rfold the politician part 2
Wouldn't that detector need to include a camera?
user1804599
why?
To link the pee to the person.
@rightfold the cabin should activate an acid shower so they are dissolved and then can be flushed away
user1804599
XD
user1804599
08:22
@Potatoswatter no, the system automatically puts a lock on the door when it detects pee
user1804599
then ring a bell somewhere so somebody can open the door
user1804599
handcuffs ready
@rightfold That only works with stalls, and the partitions between them need to be sealed.
@rightfold s/h.+s/axe/
user1804599
@Potatoswatter so? make those
08:24
@rightfold I'm lazy to go into a stall and close the door. I'll just pee outside on the wall instead.
user1804599
People who pee or shit on the floor in public toilets need some serious treatment.
"Yep. This is right about where the urinal should be, even if I can't actually see it."
user1804599
Such as forced toilet cleaning for 500 hours.
@rightfold There are people who do that? O.o
user1804599
@nabijaczleweli yes?
08:26
@rightfold Spontaneous axe-to-head treatment(tm) should fix that problem
Apparently skirts were shorter back then.
We are going in the wrong direction fellas
That would count as a dress, IMHO (if you insist on it not being a shirt)
It's a shress… and is that Columbo?
I think it's a shirt. Absense of trousers/skirt doesn't make things a dress
@Jefffrey Forgot to /cc @Columbo
user1804599
RAPE CULTURE
08:30
Still, compare that to this.
good news
the valves are already lapped /cc @R.m
@Jefffrey That's a shirt and a skirt, IDGI
Nice rack
ets (of course it's an annoying stock photo of a bimbo)
@Jefffrey there's no skirt in the picture
Precisely
08:37
I love when you look at your own desktop stream it goes into infinite loop of your desktop
Jeff is under influence, I bet
user1804599
the lack of skirt is a feature
user1804599
but needs more G-string
I don't like G-strings
@Jefffrey well it's columbo...
user1804599
08:41
C-string then.
Purrformance-strings
New blog entry: New Concurrency Features in C++14 http://bit.ly/1UDB4dQ
Eh. I tweeted his own blog post 2 days earlier o.O
@nabijaczleweli Is that an intentional reference?
@khajvah depends on who's wearing them. But, in general I agree
user1804599
needs more channels and green threads
08:44
@Jefffrey To what?
> It also means they are literal types, which is important for the other enhancement to <chrono>: user-defined literals for durations.
I’m guessing this is a common misunderstanding.
@sehe for example, would you like them on rightfold?
@LucDanton Blame the person who called those "literal types".
user1804599
how could he tell
user1804599
he's never seen me
08:47
Jan 2 '12 at 7:19, by Luc Danton
There's a whole definition of what a literal type is in C++11, except it's useless.
@Griwes Way ahead of you.
@khajvah I dunno. There's a kind of catch-22 to that. I can only tell iff I see it first :)
@LucDanton hah
@rightfold ^
user1804599
Noun: Catch-22 (plural Catch-22s)
  1. (idiomatic) A difficult situation from which there is no escape because it involves mutually conflicting or dependent conditions.
08:48
@Jefffrey No, never seen it
It has Peter Falk as main character
Which is the actor that plays Columbo
UDLs can actually have side effects and return… figurative types.
2
@Potatoswatter Heh
Literally made me laugh
@LucDanton Literally?
littorally
user1804599
08:52
Covariance and contravariance are amazing.
since when Luc isn't an owner?
user1804599
struct D1 { virtual ~D1(); };
struct D2 { virtual ~D2(); int a = 42; };
struct E : D1, D2 { };

E x;
D1* p = &x;
std::cout << static_cast<D2*>(p)->a << '\n';
user1804599
is this safe?
> German gaming addict fined for drugging girlfriend to keep playing video games with his mate
wot
@shoe0nhead Women are now as tall as men. The height gap has been eliminated.
ahahahaa
fucking idiots
user1804599
shoes don't belong on your head
user1804599
they belong on your feet
@rightfold I think so. Didn't know side-casting with static_cast was allowed by the compiler though.
user1804599
@StackedCrooked how about dynamic_cast?
08:57
dynamic_cast is always safe
and allows side-casting
user1804599
main.cpp: In function 'int main()':
main.cpp:10:36: error: invalid static_cast from type 'D1*' to type 'D2*'
     std::cout << static_cast<D2*>(p)->a << '\n';
                                    ^
also is it true that in the whole Lotr no females talk directly to each other
user1804599
yes, works with dynamic_cast. nice
user1804599
dynamic_cast isn't always safe
live dangerously, do reinterpret_cast
08:58
no there is a girl who talks to her mother IIRC
user1804599
> When dynamic_cast is used in a constructor or a destructor (directly or indirectly), and expression refers to the object that's currently under construction/destruction, the object is considered to be the most derived object. If new_type is not a pointer or reference to the construction's/destructor's own class or one of its bases, the behavior is undefined.
google "reddit today I learned lord of the rings females talk each other"
using reinterpret_cast here would break the program
a guy debunked it in a comment or sth
@BartekBanachewicz apparently not, there's just almost none of it
09:00
@AlexM. lol
That's like entire 2 lines
any good naming convention for function pointer typedef? I was going to add Proc at the end of the type like typedef void (*sendmsgProc)() , any better idea?
It's probably true that they do, it just fails the Bechdel Test by having it be about Aragorn
@AlexM. maybe it meant important female characters
@ecerulm Use std::function<>
user1804599
@StackedCrooked nice
09:01
well I should have made the question in the C chat room, because it's really a C project
using SendFunction = void (*)();
user1804599
use templates
user1804599
function pointers are not sufficiently polymorphic
@ecerulm yeah you should
@rightfold the function pointer can point to a function template instantiation
Experimented with bitmasked template a while ago. It's here at line 227.
Generates object code for multiple branch combinations so they become static branches.
09:08
ok, but is there any good / popular convention naming for std::function<> variables then? Google std::function<> I found an example using f_ prefix on the variable name, is that the "popular" choice?
Probably should be careful with the exponential object code growth though.
@ecerulm Whatever makes sense as a name, it's a non-static member variable just like std::string or w/e
why would you prefix std::functions using f_, you already know they're std::functions so they're function objects
@ecerulm use a name that makes sense.
you don't prefix ints with i_, right?
09:09
If it's a callback I sometimes name it callback .
4
user1804599
@ecerulm the popular choice is to avoid hungarian notation like the plague.
I use er at the end
e.g. comparer
searcher
etc.
Just checking if there was a de facto convention already. The f_ thing comes from the std::function<> example at cppreference.com
@AlexM. of course I do. Who doesn't?
aka hungarian notation is the best
@FlorianMargaine inb4 flag
09:10
if it's a callback I may say something like
on<Something>Callback
on may or may not be there
@FlorianMargaine :O
@FlorianMargaine moldavian notation is better.
I like transylvanian notation
@AlexM. camelCase! Found the Java programmer
thanks @AlexM.,@StackedCrooked , those are actually relevant to what I was onto.
user1804599
c++ guise programming guise
user1804599
09:15
@StackedCrooked I prefer Dutch notation.
user1804599
#includte <iostream>
int main() {
    stdt::cout << "Hello, worldt!" << '\n';
    return 0;
}
wow you can now login in agar.io
@ecerulm no. Don't copy information that's already in the type.
@rightfold kent niet beterjt!
shit I need to prepare for the workshops
mm
09:20
what are you going to craft
Bear asses
@AlexM. music
In the meantime an 8yo covering Mike Portnoy's drum tracks
user1804599
I wonder whether Java supports side-casting.
user1804599
Or C#.
Define side-casting
user1804599
@CatPlusPlus you cast a type to another unrelated type
also known as "duck, drop and roll" typing
Not really unrelated
@rightfold meh. The type held should be an "interface sum"
09:28
You worry too much about ADTs
A isn't related to B. Casting from A to B is very much unrelated.
You're not casting A, you're casting the actual object type
You can't worry too much about ADTs.
@CatPlusPlus but you only know that this object is-a A
the cast is unverifiable by the compiler.
Downcasts never are
09:30
which you know where else appears
yeah well danymic_cast has its name for a reason duh
danny_cast
Casts objects into Danny.
And this is dynamic_cast
So
rightfold_cast
When you downcast you have to handle the errors at runtime that's just the fact of life
@StackedCrooked granny_cast
09:32
Downcasting existentials has the same problem :v
@CatPlusPlus which what I hinted at in the first place. To which you responded "not really unrelated".
Don't downcast, ???, profit.
user1804599
aluminum_cast
@BartekBanachewicz Well it's not unrelated in that they're both bases on the derived type
otoh going from base to base isn't very common anyway
that doesn't make them related in any way o.O
code isn't family :D
09:33
Use reinterpret_cast and solve the problem like real men do
When they're not related then the cast fails
and overflow bit is set
meh.
user1804599
no, an exception is thrown
guys… which distro for C++ in a VM?
user1804599
Gentoo.
09:35
@Potatoswatter one that has gcc
possibly one that has a package manager
oh, a kernel would be useful
ffs freaking korwin
@Griwes I just said "distro" and suddenly you assume that I'm asking about operating systems or something.
I wanted to know more about the ticket systems but now the only thing you can get is fucking nazi gesture
4
god damn media
@BartekBanachewicz :D
@Potatoswatter You said both "distro" and "VM".
I'm trying to set up an Ubuntu installation and it's getting on my nerves… more like Ubloatnu.
09:37
fuck distros acquire bistros
the food is good
ALARM ALARM B WORD USED
ABANDON SHIP
Someone suggested that Greece should sell couple of islands to Germany, Bill Gates, Trump & probably Putin in order to pay the debt. I think this is a doable idea ... with an option to buy it back at sometimes in the future
@Potatoswatter Debian
Also b-word is b-anned
what b word
user1804599
banana
@Potatoswatter lxc-create --name foo -t debian
i know
but wasn't posted here IIRC
@BartekBanachewicz lol
user1804599
09:39
@BartekBanachewicz -1 needs set literal
@Potatoswatter ubuntu is nice
@Potatoswatter Also use Vagrant
@CatPlusPlus <3
@CatPlusPlus mmm? What's wrong with it?
user1804599
vague rant
09:40
(inb4 it's not docker or "vague rant up")
@thecoshman Woot.
Nothing, it's just kinda inconvenient
> No longer used. Originally meant "Subsequent requests should use the specified proxy."
@R.MartinhoFernandes wow
09:42
@Blob Er, no.
@BartekBanachewicz Yeah, that makes more sense.
Is KDE really still alive and kicking? Will apps randomly not work?
It's KDE
What do you think
it started raining yay
@Potatoswatter new plasma looks good
no longer ultra hot
Xeo
Xeo
09:44
We had rain yesterday
user1804599
plasma doesn't exist
problem is no umbrella
user1804599
liquid master race
@khajvah Yes, hence I'm at least interested. But the question is interoperability.
UGH Rust installer doesn't ask where to install
Xeo
Xeo
09:44
@CatPlusPlus lol
user1804599
avoid Rust
Xeo
Xeo
avoid rustfold
Was there a contest of who can make worse installers than Microsoft
@rightfold No!
Because more and more people manage that
user1804599
09:44
It shares the two first letters of Ruby.
That really rustled my folds
@rightfold lol
user1804599
That really rustled my servos
And it installs into "Program Files\Rust stable 1.1"
christ
that's because you are using windows
user1804599
09:45
haha spaces
that's the main problem
@R.MartinhoFernandes I've read really scary opinions about those preassembled sets so I kinda panicked vOv
That'll come in handy if there's a problem with version "stable 1.2".
@rightfold I prefer tabs in filenames
3
09:46
Literally the only folder in Program Files that doesn't Follow The Fucking Convention
Good Job
user1804599
in OS X if you have a colon in a filename then programs show that as a forward slash
@BartekBanachewicz What would be the point of preassembly if you cannot use it without disassembling?
getting more money out of (dumb) people?
@CatPlusPlus there was a dev assigned to do that but I guess he felt a bit...
... rusty
YEEEEEEAAAAAAAAAA
most of the clients for those sets are 14-17yolds
09:48
@CatPlusPlus lolwat
@CatPlusPlus report a bug
guise I need an icon
@Mr.kbok is jesus christ ok?
@Mr.kbok you mean like Elvis?
user1804599
> Adobe Systems holds patents in the United States and Europe on certain uses of GUI tabs, which are widely held to be trivial patents. There was prior art, in both GUI and text user interfaces (TUI).

Adobe used these patents to sue Macromedia Inc. for employing tabs in its Macromedia Flash product.
user1804599
09:49
nice
user1804599
fuck macromedia and fuck flash
perfect
I hate stupid patents
I am gonna patent the way I walk and sue the shit out of everybody
user1804599
I like patent trolling.
Xeo
Xeo
09:51
I hope you got an extra silly walk.
@Bartek I hope your js work won't make you look at files so horrendously bad as the one I'm looking at right now.
Test file, 3k lines.
@rightfold They used that to bully them and eventually bought Flash.
are you ranting or bragging
Some of those lines... mix tabs and spaces.
Xeo
Xeo
09:52
Sucks to be @Griwes
replace all tabs with spaces problem solved duh
I mean... lines. Mix tabs and spaces. Like... 6 spaces, tab, 5 spaces, tab, 3 spaces, tab.
user1804599
@R.MartinhoFernandes fuck adobe too!
why the fuck is the guy who wrote this even working as a developer
at least it's not 6 tabs, space, 5 tabs, space, 3 tabs, space
I doubt that would be one guy
Maybe it's Morse code
@BartekBanachewicz git blame doesn't lie.
maybe he copied it
git blame only shows you the last person who git thinks touched that line
09:54
@BartekBanachewicz I don't think so.
Xeo
Xeo
@BartekBanachewicz They say "be consistent with the existing style", after all!
no pretty sure git blame sends the guy an email like "It's your fault Bob."
user1804599
@fredoverflow Ruby
Xeo
Xeo
If the existing style is inconsistent, that's a free ticket to having fun :D
user1804599
pixel
09:56
@sehe Can I have NUL-terminators in filenames?
No. Not even on windows. And certainly not POSIX
What about line breaks?
@fredoverflow No problem at all. On windows, the tools will break. But POSIX has not problem with it whatsoever
user1804599
user1804599
09:57
the language stats
user1804599
92.5% C++
user1804599
0% Ruby
@sehe OS X lets me do it
@Potatoswatter OS X be broken then.
@Potatoswatter How.
09:58
Shine:Documents dkrauss$ ls null-^A-llun
null-?-llun
Ell
Ell
@nabijaczleweli heh
how do I rotate that thing
there's a hole in the matte gray element
@Potatoswatter ^A is SOH, no?
but uh, does it have to be unloaded somehow
09:59
Works on Linux too
Oops, yeah, it's 1-based
HFS+ does allow null, though.

« first day (1727 days earlier)      last day (3447 days later) »