« first day (1601 days earlier)      last day (3348 days later) » 

12:00 AM
Once I saw a house for sale - it was converted from a church ...
 
@AlexM. I didn't realize the flu could be so beneficial. Maybe I should try to catch it. Given that I have no weaknesses like beer drinking of which it could cure me (?!), I'd probably end up as a Kryptonite-free Superman! :-)
 
The flu is some dankerous stuff.
 
Also saw an electrical sub station for sale ... After it's converted to townhouses
 
How does FixedLockStepCallbackTimer sound
 
Like Kryptonite. Slightly dankerous too.
 
12:05 AM
I wonder whether a church with a small cemetery is going to fetch a good price if it's really close to the centre of a metropolitan city ... If there is ever going to be one for sale
 
@Pris Verbose.
[Which I avoid]
 
> EA shuts down Maxis Emeryville, studio behind SimCity (update)
 
@Borgleader Nooooes. My childhood!
 
@Borgleader :(
 
12:16 AM
@Borgleader Beautiful.
 
12:28 AM
Or did I remember it wrong - it was the house next door to the church, no the church itself that changed hands?
 
Good morning
 
^ Good morning.
Very early now here 01:38 AM
 
@Borgleader whoa
 
12:44 AM
lol SourceTree is ridiculous
Fucking GUIs
 
@Borgleader inb4 bartek criticizing how it's either a) not vulkan b) not haskell c) not using shading technique X
 
its too dark
 
also the light effect on the left is terrible
and it probably doesn't use opencl 2.0
2/10 for effort
 
11:50am - prime of the day
 
@chmod711telkitty What's your timezone, missy?
 
12:54 AM
Australian Eastern time zone I think.
 
@Borgleader I've read today, they're killing their excess koalas :( isn't that terrible?
 
@πάνταῥεῖ #humans
 
@ParkYoung-Bae Barbarians ...
 
@ParkYoung-Bae don't forget the monads
 
^Not to mention nomads :-P ...
 
12:56 AM
You mean excessive kangaroos ... A lot of roos here. I don't see koalas often.
 
> Is PostgreSQL your next JSON database?
I still don't get why anyone would want to store JSON
 
@chmod711telkitty Australia, is such a good sample of experiencing all kinds of how humans can actually fuck up sensible natural balances. The aborigines included, seems they've always somehow shaped the resources they are using.
 
Roos are literally everywhere (other than in the heart of the city), if you go on a 500km road trip, you will probably end up seeing 1000+ kangaroos/wallabies.
Local supermarket sells too meat.
@πάνταῥεῖ well, human is the most invasive specie.
 
@chmod711telkitty But killing Koalas seems to be so much more cruel. C'mon they are just so cute looking.
 
I am not aware that koalas are purposely killed anywhere.
 
1:03 AM
Not that good smelling after dying from starvation of course :-P ...
@chmod711telkitty I've got this from this source today:
 
user3010322
Ugh.
 
user3010322
I have to write another cover letter.
 
hahaha xD Battlefield Geico
 
user3010322
Aww....
 
user3010322
@CatPlusPlus So, to make iterators copyable and not still affect the same stack, I tried to "duplicate the stack" by emptying it and then pushing back the same things. Problem is, there's some hidden details and implementation-defined shit in lua that's being messed with behind-the-scenes by the runtime.
 
1:14 AM
@Borgleader I love geckos! I'm actually maintaining two:
 
d'awwwwwwwwwwwwwwww
 
Sweet lil girls :-)
 
the only good gecko is a dead gecko
especially if they breathe fire
 
@AlexM. Fuck you in name of all geckos!!!!!!
 
those are not geckos D:
 
1:15 AM
yes they are
 
@AlexM. They aren't. I know better for sure!
 
user3010322
This is dumb.
 
user3010322
lua_next sucks.
 
@ThePhD Many things suck with lua actually ...
 
@πάνταῥεῖ nice
 
1:27 AM
@LightnessRacesinOrbit They are my beloved cuties :)
 
user3010322
@πάνταῥεῖ What I can do to make this a WHOLE lot easier...
 
user3010322
is demand that someone does
 
user3010322
table.push()
 
user3010322
before the iteration begins
 
user3010322
and then do the for loop
 
1:29 AM
They don't. Just licking on dried banana pulp regularly;
https://fbcdn-sphotos-b-a.akamaihd.net/hphotos-ak-xpa1/v/t1.0-9/q81/s720x720/1184946_653392368011723_363572451_n.jpg?oh=fd51695c208b518bffda891a1ce40e73&oe=557E44A9&__gda__=1434647999_c085a819bdcfb814188bd583968cf29f
 
user3010322
and then table.pop() afterwards.
 
@ThePhD Well, you've got that Ph.D., I'm just a poor technical assistant
 
user3010322
!!!
 
user3010322
I'VE GOT IT!
 
user3010322
The reason this is so problematic is because I'm trying to make it an iterator for a for loop.
 
1:35 AM
^Whoah!
 
user3010322
FUCK THAT SHIT.
 
user3010322
It'll be a range that's mostly compatible with a while loop.
 
@ThePhD Well, you could do us a favor:
 
user3010322
Anyone remember the syntax for getting the range out of a container?
 
user3010322
Was it .view() ?
 
1:45 AM
hahaha
@ThePhD since when does c++ have ranges
 
user3010322
proposed syntax*?
 
check Niebler's blog?
 
or the proposal
 
@Borgleader C++ is currently deranged.
 
@LightnessRacesinOrbit Next avatar suggestion
 
Barbara Palvin
 
holy fuck
accepted
 
Barbara Pelvis
 
user3010322
@LightnessRacesinOrbit There's no member function to take a range off of vector or anything...
 
user3010322
Huh.
 
1:50 AM
@Borgleader Searched google... Yep. Really fits LRIO.
 
user3010322
Whatever. I'll just call it table.range()
 
@ThePhD dude what
 
user3010322
Like. I don't see him proposing a new member function on containers for you to do thing.{range_getter}
 
do you know what ranges are
why would you "get a range" from a container
that's not what happens
 
You can probably just use the container itself as the range
 
1:53 AM
yes
that's the whole fucking point
std::vector<int> v{/*...*/};
ranges::sort( v );
directly from the top of the doc I linked you to, @ThePhD!
 
user3010322
Right, but some containers can't do that directly...
 
@MarkGarcia :)
@ThePhD What are you actually trying to do?
And don't say "get a range from a container"
 
user3010322
for (auto rng = mytable.{getter here}; rng; ++rng) { /* .... */ }
 
1:56 AM
Just use range for
 
Someone is pissing off USA in a HN thread with not-so-subtle trolling and I'm loving every post of it
 
user3010322
mytable is a custom class that's wrapping lua's iterators
 
user3010322
and I've just spent all day proving that making proper iterators for them is impossible,
 
you're not getting ranges
 
@ParkYoung-Bae link
 
user3010322
1:57 AM
so I need to make a range/enumerator/etc. instead
 
if it's impossible to make iterators, how do you expect to make ranges
 
Do you guys prefer defining class members before or after defining the functions?
 
@ThePhD A range gives you a range, not an iterator. You'd do something like: for (auto rng : mytable) (but you don't need real ranges to do that--if your mytable can support begin() and end(), you can do a range-based for already.
 
@Pris typically I do it afterwards
certainly public shit goes first, and that's usually only functions
 
@Pris I prefer before so I don't have to scroll past all the crap to find them..
 
1:58 AM
as for the question within the private area .... well, I dunno.
lol "all the crap"
"all the crap" is the stuff you're supposed to be using
 
@Pris At the bottom.
 
I spread them randomly across the entire codebase
 
@LightnessRacesinOrbit and while I'm implementing all the crap I like being able to find the data members :p
 
Brings the joy of hide and seek to the development
 
my lib requires you to make certain objects with a factory function, so I prefer to make constructors private or protected. I used to have it so that public was declared first, but now I'm thinking of declaring private first so contructors are at the top...
 
1:59 AM
@Pris Depends on decltype and traits.
 
@Rapptz Ugh.
 
?
 
@Pris You know you can mix and match
 
@CatPlusPlus Right, but I'm not a monster and I like consistency
 
@Pris The functions (at least presuming you mean member functions) are class members. Are you talking about how you arrange the member functions and member variables, or about the order in which you actually type things in?
 
user3010322
2:00 AM
Mmmn.
 
private on top or bottom is on the lowest priority of consistency.
The language doesn't allow you to be consistent.
 
hide all the data members in an external header that you #include into the class body :p
 
user3010322
So the range v3 library actually doesn't make dedicated range types.
 
user3010322
It just weakens a lot of the iterator requirements.
 
@JerryCoffin By members I meant 'member variables'. Typically I see an order like: { public methods, protected methods, private methods, all variables at the en d}
 
2:01 AM
@ThePhD it's simply above needing dedicated types :3
 
@Rapptz Stupid name resolution.
 
The fuck do you want a dedicated "range" type to be?
 
but say your constructor was private or protected most of the time. Would you want to throw that at the top or follow the schema were public stuff usually goes at the top?
 
class range {};
 
template<typename Range> using range = Range;
allow all the things!
 
2:03 AM
@Pris So you mean the arrangement. I prefer everything that's private, followed by everything that's protected, and finally everything that's public. This way if you accidentally leave out an access specifier, the code doesn't compile (whereas public first, then private, means if you leave out the private: specifier, you've just left everything public.
 
WTB compile-time map
 
@Pris I use the class visualizer in my IDE. :)
 
user3010322
@Rapptz I was hoping for something like array_view, where if you called it on that function you'd get yourself a non-owning range.
 
@MarkGarcia sounds lame
 
user3010322
However, what I can do is make a begin() and an end() that just return a new style of weaker iterators that makes my life either: end() will be a sentinel_t and begin() will be the actual enumerator.
 
user3010322
2:05 AM
Then I can shove all the logic in the begin() iterator.
 
@Pris Hey, aren't you the guy who just asked how to do it? :P
 
what's a good name for a struct that holds formatting options?
 
@melak47 talk about false economy
 
@JerryCoffin That's not a bug that's a feature
 
@Rapptz struct FormatOptions
 
2:11 AM
@LightnessRacesinOrbit misuse of "false economy" detected.
 
But that's me being generally meh on access specifiers
 
@Rapptz not really
 
lmao
@Pris Terrible name.
 
@Rapptz I'm pretty bad at naming stuff, but 'FormatOptions' is crystal clear. What's wrong with the name?
 
@Rapptz struct format_options
 
2:12 AM
@Pris iunno
I'm not even looking for something clever
 
struct Format; struct FormatAttribs; idunno
 
@Rapptz FormattingOptions
 
parameter object naming is hard
 
Alternatively HowTheFuckIsTextSupposedToLookLike
 
FormattingFacilitator
 
2:14 AM
I usually use a nested struct call Options that I pass to a constructor for things that have a lot of construction options
 
class Thing { struct Options { } public: Thing(Options opts); };
 
not a constructor though
 
@LightnessRacesinOrbit first human had metal teeth? we evolved from robots!
 
it's a free function
 
2:15 AM
@LightnessRacesinOrbit That's not a human that's a jaw
Evolutionary lobbyists again I see
 
The free function is called.. dump.
 
lol DumpOptions
 
i.e. it dumps a properly formatted string
 
If anyone else is interested in keeping geckos, or how to build a cool rainforest terrarium:
 
Dumpling
 
2:18 AM
I'll go with format_options
 
ew snake case for types
 
I only use snake case for variables.
 
consistency with the stdlib
 
the stdlib choices are awful
 
debatable.
 
2:19 AM
Debated.
 
How does class FixedIntervalCallback sound? If you read "FixedIntervalCallback" what do you think such a class would do
 
function that is called every n seconds.
 
call me at fixed intervals in the middle of the night
 
Good, I guess the name is descriptive enough then
 
user3010322
Someone I need to never associate with.
 
2:21 AM
@Pris I don't really like the name.
 
Neither do I. I'm open to suggestions
 
PeriodicCallback, RecurringCallback, idk :p
 
C# and Python call it Timer.
threading.Timer for Python and System.Threading.Timer for C#.
 
I have a Timer class already, and its behavior is different
 
your timer is a stopwatch? :D
 
2:22 AM
My timer doesn't use a callback, it emits a signal since my lib is all about dem signals and slots
 
sounds lame
 
transparent type names are overrated. use TimedSignal and TimedEvent :p
 
I am lame, no arguments there. But FixedIntervalCallback is different, its has a pure virtual method you need to override (the callback). Also it has drift correction which timers don't typically have
 
> NVIDIA Opens PhysX Code to UE4 Developers
 
oh that's also super lame
 
2:24 AM
@Pris oh, eh, ew
 
yeah that's nasty
 
I KNOW BUT ITS SPECIAL
 
0/10 would dispose of your lib
 
I wouldn't really call that a callback then :/
 
Its more of an implementation detail really. Maybe I shouldn't even make it public.
 
2:24 AM
It's his presios littel snowflek
 
@melak47 what the hell do I call it then?
 
an interface
 
FixedIntervalInteface... I gagged a little
 
@CatPlusPlus Cool! I like PhysX
 
lol Source 2 also free
 
2:25 AM
a day late mate
 
Half Life: Source 2: 2 when?
 
@Borgleader but when do we get Half Life 2 remastered in Source 2? :p
 
@melak47 Never? Maybe some fans will do it, like they remastered HL1
 
pff
you make me sad. good night.
 
2:27 AM
Maybe he meant HL3
 
@melak47 Good night.
 
Which will also never happen.
 
@Nooble like we'll ever get that :p
@MarkGarcia nice avatar :p
 
@Nooble At this point I think they took the conscious decision never to release it, because if they did, it would break the internet
:P
 
:)
 
2:28 AM
FixedIntervalController
 
Clock
You can have a Clock and a Timer
 
Clocks generally just keep time, they don't do other stuff.
 
> Niggernet Exploder
nice
 
Ikr.
> Macroshit Wangblows
 
2:31 AM
@MarkGarcia hah
 
@MarkGarcia "install gentoo" @райтфолд always says that... IS PANTOONA RMS !?!?!?
 
@Borgleader no, pantoo is /g/
na.. pantoona
 
never too late to star
 
people star people quoting image but don't star image
nice
 
People don't know how to star permalinks.
 
2:33 AM
oh wait, permalinkd
 
@Blob did you expect the lounge to make sense?
 
Or just too lazy.
 
FixedIntervalWatch FixedIntervalReminder Scheduler iWatch AppleWatch Watcher IntervalWatcher
 
TickTock
 
user3010322
ClickClock
 
2:34 AM
DingDong
 
Wangblows
 
user3010322
SingSong
 
i have a doubt on Building Abstractions with Data
 
user3010322
That's a shame.
 
2:36 AM
@overexchange i have a doubt you'll get an answer from us on the subject
big big big the doubt
 
@overexchange Did you know that koalas (along with other marsupials) kill upwards of 7.5 billion humans per day?
 
from this lesson composingprograms.com/pages/21-introduction.html I would like to know whether data abstraction designed only on structured information? Due to the explosive growth of the Internet, a vast amount of structured information is freely available to all of us online, and computation can be applied to a vast range of different problems. Effective use of built-in and user-defined data types are fundamental to data processing applications.
 
@Nooble did you know humans kill upwards of a shit lot more humans per day?
 
 
@Nooble damnit, your edit fucked my response up.
{
    //empty
}
thanks, i didn't notice
 
user3010322
2:40 AM
 
@Blob It signals that I didn't leave it empty by accident
 
@Pris does anyone ever?
 
I've seen it used in code before so I thought it was pro
 
/cc @LightnessRacesinOrbit
 
@Blob It's became wrong after then.
 
2:46 AM
nice
 
user3010322
WOW
 
user3010322
FUCK THE STANDARD
 
lol wikipeida
"The domestic cat is a small, usually furry, domesticated, and carnivorous mammal."
 
I love when ThePhD gets mad, for some reason. It's always very entertaining.
 
user3010322
:c
 
2:49 AM
TIL the domestic cat is domesticated
 
@ThePhD Please proceed
 
@ParkYoung-Bae we have this saying - mad cause bad
 
user3010322
error C3538: in a declarator-list 'auto' must always deduce to the same type
note: could be 'sol::sentinel_t'
note: or       'sol::table::table_iterator'
 
user3010322
CAN'T HAVE TWO ITERATORS WITH A RANGED BASED FOR
 
user3010322
EVEN IF YOU'LL ONLY EVER DEREFERENCE ONE
 
user3010322
2:50 AM
Fuckers.
 
That's a compiler bug, it's not the standard, lol
 
I'm not sure
 
user3010322
If it's not in the standard, why do they even check?
 
user3010322
"Let's go out of our way to be cunts"?
 
@ThePhD What's the declarator-list?
 
2:51 AM
Because MSVC
 
Because MS
 
well, it's never too late to switch to a better language
like GPSL
 
user3010322
@MarkGarcia for (const auto& kvp : mytable)
 
user3010322
Where mytable has a begin() and end() that are not of the same type.
 
yeah, that's in the standard bro
 
2:52 AM
Oh then it's not a compiler bug indeed
 
for (auto __begin = begin_expr, __end = end_expr; ...
 
user3010322
Well, fuck the standard, I'm only ever dereferencing __begin
 
explain how __begin and __end can be different types in the same auto declarator?
 
Because C++
 
seems easily solvable
 
2:54 AM
damn
I'm considering using the mutable keyword.
 
user3010322
I feel like shooting the standard devs.
 
@Rapptz for what?
 
{
    auto __begin = begin_expr;
    auto __end = end_expr;
    for(;...;...) {}
}
 
to modify a variable that's a const reference
 
@Rapptz That's one of the two things you don't know.
 
2:55 AM
@Rapptz well, duh
 
@Rapptz That's the other.
 
I'm using a const ref so I can bind it to a temporary and because the other members are inherently const.
 
@ThePhD Nah. Just shoot Herb.
 
but it feels wrong
 
mutable always feels wrong.
 
2:56 AM
it's really the 'cleanest' way I think
 
user3010322
Whatever.
 
user3010322
This pain isn't worth it.
 
user3010322
Fuck the std::, and fuck iterators in particular.
 
my problem with iterators is that they should've been iterator objects, not a pair of objects
 
dude I have already mentioned this before
I said it last year
I said it so often
Lua iteration does not fit well with the C++ iteration model.
It just doesn't work very well.
Even you said it was stupid last time it was brought up.
 
2:59 AM
me?
 
user3010322
I had to try.
 
user3010322
But this has only solidified my belief that iterators are fuck-all and range-for is a bunch of bologne.
 
there is no way ranges will magically "fix" this problem
ranges are not a silver bullet
 

« first day (1601 days earlier)      last day (3348 days later) »