« first day (853 days earlier)      last day (4078 days later) » 

7:03 AM
in c++, you can integrate an object directly into another one. In the best case, you can use a local variable and get virtually instantaneous memory management, or at least amortize the cost of a single allocation across all of the members
 
memory management is a completely new concept to me. Java took care of it for me! Sometimes I wonder why the school chose to start with Java. I am slowly working to that point. The notes you guys gave me tonight alone will consume the next couple of weekends!
 
c++ takes care of it for you too, if you do it right
 
@doug65536 That's why I hope to get started right!
 
shared_ptr, unique_ptr, and just using local variables for objects (when appropriate) will get you most of the automatic memory management you need. containers are also a great way to take memory management out of your hands (vector, stack, map, unordered_map, set, list, deque, etc)
 
Gaining an appreciation for memory locality will help you a lot.
 
7:09 AM
awesome
I didn't realize C++ had the 'Collection' classes
 
Whoa, meteorite crashes in Russia.
 
they're amazing
 
Hi all
 
hello friend
 
-6
Q: SO and SO Meta logos slightly off position

Danny BeckettI'm on a roll with these really stupid bugs! Noticed that the logos were positioned slightly differently when flicking back and forth between SO and Meta:

^^ lol
 
7:13 AM
I have a question (maybe it's silly)... How to access constant values by its name?
 
@Innuendo You mean literals?
 
@Mysticial aww, don't punish him too much
 
I didn't downvote.
 
const int A = 5;
getConstant('A') // should return 5.. is something like this?
 
@Mysticial that's some hardcore testing he's doing there lol
 
7:15 AM
@Innuendo ..Why?
 
@Innuendo A should work.
 
he demands subpixel precise logos
 
no.. I ask - if there is such a function?
 
@Innuendo no, that's reflection
 
getConstant() - I've just feigned it
 
7:16 AM
why not just say 'A'
 
because 'A' is a char not an identifier
 
haha, very funny. A
 
I've simplified example. I have lot of constants.. and need to choose only one.. by user choise. big case can help me.. but may be there is a simple way
 
french fries and gravy. A
 
oh, I know what you mean...
you want to convert the string into the value, because that's the whole point, right?
one sec
 
7:18 AM
Yes, I need to get value of a constant by a string (that string is the constant name)
 
@Innuendo put them constant values in some associative array.
 
@Innuendo You can write such a function: template<typename T> const T & getConstant(const T & t) { return t; }. You can call it like this: getConstant(C);
 
@Cheersandhth.-Alf, yeap, Thanks. I've already thought about that
@StackedCrooked, but how to pass a string to that function?
 
@Innuendo If you want stringification of your types then there's the preprocessor or a demangler.
 
7:23 AM
hi
 
preprocessor trick this is a header that defines the key value pairs. And this is an example of using it
@Innuendo you would change the macro to take the name value parameters, then before including that h file, you setup the macro to expand appropriately
 
im fucked up with css
 
it's not pretty but it's better than having 2 places to update
 
web programming is bullshit
 
lol, why do you hate css
 
7:24 AM
does anyone agree
 
@EtiennedeMartel steeling that :-)
 
i love css
 
I hate css, but I love ccs
 
@techno No. Please! Don't say things like that to me. Just... please!
 
@Innuendo my example converts the enum to a string, but it's trivial to change it to go the other way
 
7:26 AM
@MarkGarcia sorry if i hurt your feelings
:P
 
@doug65536, main trick is, that preprocessor builds "switch-case" control?
 
yes, or something else, depending on what you define right before the #include of the trick file
 
u see loads of stupid code
 
@Innuendo let me make a more specific example for your case
 
Stupid code. Loads of them..
 
7:27 AM
in css
 
Ah. Just noticed my duck's so cute.
 
Do you see the writes as well?
 
why don't you drag and drop things like we do in visual studio
in css
 
Dude.
 
yeah man its annoying
 
7:29 AM
@techno I don't feel the drag-and-dropiness of VS. It feels stiff.
 
CSS is silly. I allows your to define region widths by giving them a percentage. This is rarely useful. Most of the time you can a fixed side and a dynamic part. Defining this is really hard.
 
@StackedCrooked Are you sure it's CSS's fault and not just inherent domain complexity?
 
@Innuendo then you just have one place for ALL the defines, a bunch of rows of EXAMPLE_DEF macros with the appropriate value (the "trick" file)
 
(I have no fucking idea, just checking)
 
7:32 AM
@R.MartinhoFernandes I think it's mainly CSS's fault.
 
@Innuendo my_trick_file.h would have EXAMPLE_DEF(int,A,5)
 
lol
 
Seems like w3c's becoming more like w3schools.
 
There is the non-standard box-layout that allows me to do what I want to do. However, the names are differerent per platform.
 
@Innuendo if performance matters, you might instead make a function that fills a map with key/value pairs, instead of if (strcmp...). then use the map
 
7:33 AM
that's the biggest challenge of web design. its like Samsung and iTerd
 
user1357851
Anyone knows perl please tell me whether this is an array of hash?
my $json_string = {
'aaa' => {
a => 1,
b => 2,
},
'bbb' => $count,
};
 
E.g. XUL is a similar technology and does a much better job.
 
@doug65536, I was AFK. Thank you very much. I'll look now at examples
 
@StackedCrooked Yeah. Different platforms. Only firefox is implemented.
 
It works on Chrome and Firefox. Haven't tested on IE yet.
 
7:36 AM
@StackedCrooked lol
 
@Innuendo use std::string or something. that example code I posted happened to require a C interface and I went into C mode when showing you example :)
 
@doug65536, yeap, I understand how to change your example from char* to std::string. Thank you
 
np
 
Why doesn't the debugger do my work for me?
 
7:41 AM
@StackedCrooked he's making it sound a lot more tricky than it is
 
If you're doing it like a machine would, why isn't a machine doing it for you?
 
contoso!__imp__DsAddressToSiteNameW is simply a global variable that is a function pointer to the function, the loader patches in the actual address there when loading the dll
 
I recently learned that you can triggers a set of commands automatically when a breakpoint is triggered. So you can have it, for example, print a backtrace every time the code passes a certain point.
in GDB that is.
 
before mingw even existed, I made a post-linker and some tools to enable building native win32 apps using the gcc from DJGPP and a custom linker script. so I know a lot about win32 executables, dll linking, etc
 
@R.MartinhoFernandes Fucking like a machine.
I recently discovered a neat trick. It's kind of obvious though. You can 'hook' a function with: #define foo() foo()
 
7:46 AM
@R.MartinhoFernandes Sounds a bit like "ask not what you can do for the machine, but what the machine can do for you."
 
This allows for: #define foo() log(__FILE__, __LINE__); foo();
This can be helpful for debugging.
 
@Innuendo oops! here is updated example that stringizes the name properly. see #name. oops again :( should say strcmp(#n, name)
 
@R.MartinhoFernandes so true. I can't stand watching people do things "manually" on a computer, like not using search and replace
 
is there a 'known' naming convention for class members that will satisfy C and C++? I have noticed that some people like to start the member name with an underscore, but I thought that considered mangling.
 
7:57 AM
If I have a qualified::name followed by a closing parens, what's the Vim motion you'd use to designate it?
 
@atomSmasher you don't need to use a special convention inside classes. a leading underscore is probably the worst idea, since leading underscore is reserved for the compiler implementation.
 
I suppose W is good enough.
 
@doug65536 ok, I was going off of the comment earlier that alike variables is a bad idea, however, I like the idea of having the names similar so it's easier to read. Do you think a trailing underscore would be acceptable?
 
That's what I use.
 
sweeet
 
8:00 AM
I think that having the parameter names in the constructor being the same as the members is the clearest way you can do it, that's what constructor initializer lists are for
 
lol
I agree
 
if you have code in the constructor then maybe you might rather use different names since assignments will go to the parameters, unless you override with this->
@atomSmasher trailing underscore is completely fine. if @R.Mart does it, do that lol
 
f it, I'm in. I, atomSmasher from this point forward, declare all of my data members with a trailing underscore. I'm the taxman.
I'm out.. I really appreciate all of the help. I will be sure to pay it forward. Or at least make you a CSS six-pack. Take care.
 
8:18 AM
is there a way to test whether throwing will terminate?
 
6 hours ago, by Ell
I don't see all tat much difference between c# and java, besides generics
^ trolololol
 
yeah, it's valid to ignore the fact that .NET is 10x better than java runtime libraries
I started learning java until I saw the libraries, then I said f this
 
morning all
ew, trailing (or leading) under scores just looks nasty
 
Freitaaaaaaaaaaaaag!
 
ooh, I think the robot needs a reboot
 
8:30 AM
he probably has multiple redundant watchdog timers
 
@thecoshman Why?
 
2 mins ago, by R. Martinho Fernandes
Freitaaaaaaaaaaaaag!
 
What about it?
Don't tell me it's Thursday.
 
@R.MartinhoFernandes I will in six days, perhaps
 
What's wrong with being glad it's Friday?
 
8:32 AM
though I did just have to double check, that would bum me out
@R.MartinhoFernandes that was supposed to be a happy sound?
 
@R.MartinhoFernandes I'd be more concerned with that smoke stack with the 25m of opaque smoke coming out of it 24/7/365
 
Neat.
 
I think it's quite an interesting coincidence, what with 2012 DA14 coming up later today.
 
First I thought, 'phft, lens flare' then I realised it was something; soon I wondered though, why do all these Russians drive with cameras in their car? That last lip though, good lord that was something bright! I suspect a meteorite though.
 
8:40 AM
Something something insurance fraud.
 
Yeah, that's it.
 
@R.MartinhoFernandes holy crap that is close!
 
@R.MartinhoFernandes Wow they updated that wiki article quick.
> On the morning of 15 February 2013 a strong atmospheric explosion and meteorite shower was reported over Chelyabinsk, Russia.[11] Fragments of the meteor fell in a thinly populated area of the Chelyabinsk region, the Emergency Ministry said in a statement.
 
@LucDanton Indeed
 
user1357851
@R.MartinhoFernandes some people thought it is doomsday, until they realise it is way too small for doomsday
 
8:43 AM
yep, hundreds of asteroids flying around with an impact force of a large nuke. and people are afraid of spiders
 
user1357851
uploader's timezone might not have been set right
 
user1357851
says 14th Feb
 
@Rapptz people have very sad lives
 
Interesting generalisation.
 
8:44 AM
@thecoshman What!? They care about things you don't? So you diss them.
 
@thecoshman I was told it was because they get a significant insurance premium reduction if they agree to have a camera recording
 
It's the wiki version of "people that spend less time than me on that game are bad and those that spend more don't have a life".
 
user1357851
@thecoshman sad or not depends on how the individuals themselves think.
 
@StackedCrooked <cstdint> silly!
 
@doug65536 I see...
@sehe o_0 yes.
 
user1357851
8:47 AM
Interesting why all recorded in cars
 
because most of the idiot drivers drive cars I suppose
 
@StackedCrooked embracing c89
 
@sehe If I use cstdint then it's not guaranteed that uint8_t will be in global namespace.
 
@Telkitty Pretty much all cars in Russia have dashboard cams.
 
@StackedCrooked Cough. You qualify it. Does it need to be? using std::uint8_t
 
user142019
8:48 AM
Ohelloooo!
 
@Zoidberg It's alive!
 
user1357851
surely they have fixed surveillance cameras recording too?
 
@sehe What's the point of #including <cstdint> to turn it into <stdint.h> afterwards?
 
user142019
koala::foo() koalafied name!
 
@Telkitty Not pointing at the sky, silly.
 
8:49 AM
@sehe I think that code requires one less level of bracing. Doesn't work anyways. Fixed version.
 
@R.MartinhoFernandes using c++ :) I'm not sure whether stdint.h is actually in the C++ standard library
 
fucking emails man.
'hi A, I have a potential bug here, thanks, B'
'hi C, can you take a look at this, thanks A'
'hi D, can you take a look at this, thanks C'
'hi E, can you take a look at this, thanks D'
...
 
@sehe It is.
 
@StackedCrooked Well, it worx
 
8:50 AM
@TonyTheLion ooh you
 
user142019
Isn't the C standard library a subset of the C++ standard library?
 
@Zoidberg no
 
@R.MartinhoFernandes In that case, it is still better because (a) selective global namespace pollution (b) pwetty include <cstdint> :o
 
@Zoidberg Not a proper one. The strxxx functions are different.
 
@thecoshman and the others
 
user142019
8:50 AM
Ohlol.
 
@sehe o_0
 
I think gcc screams really loud with -Wall -Wextra -pedantic if you include stdint.h. that matters right? lol j/k
 
user142019
Also external "C". :L
 
user142019
FUCK AUTOCORRECT AND MOBILE CHAT
 
lol, external.
 
8:51 AM
@doug65536 It matters with -Werr
@Zoidberg extern "C" autocorrect
 
Yeah, if you do anything with -Werr GCC complains.
Even on valid code.
 
user142019
@sehe read message below.
 
user1357851
@R.MartinhoFernandes it is not a hoax you are trying to spread, is it? >_<
 
user142019
Argh.
 
@Telkitty Hey. You are too close to a mirror, boy
 
user142019
8:52 AM
In Zoidlang I’d call it nomangle. xD
 
@R.MartinhoFernandes maybe the 'err' stands for 'err... I have no idea what is going on... I will just say that and that are wrong, do not ask why though'
 
@thecoshman They really shouldn't recruit non-native speakers to write end-user facing messages, though
 
user142019
Compilers should have command line options to enable diagnostics with references to the Standard.
 
@sehe 100% agreed. try reading a motherboard manual out loud. they don't hire native English speakers to write them
 
 
8:56 AM
I'll tell you that if the positions were reversed, I would definitely hire a native Chinese speaker to write motherboard manuals made here going there
 
do {
    ++current;
    if(current == std::end(range)) {
        break;
    } else {
        inner_range = compute(*current);
    }
} while(boost::empty(inner_range));
Any nicer way to express the same iteration?
 
user142019
Recursion.
 
@LucDanton While not at the end and empty, compute(*current)?
 
@LucDanton why do you write else after break?
 
@Abyx o_O
 
9:00 AM
@R.MartinhoFernandes I need to put current to past-the-end at some point.
 
@LucDanton find_if(...., [&](it) { !boost::empty(inner_range = compute(*it)); })
 
user142019
@sehe In Soviet Russia ...
 
@Abyx clarity
 
current and inner_range are part of the observable state.
 
@sehe nope. redundancy.
 
9:01 AM
Well, you don't have to agree
 
user142019
@Abyx I don't see why it wouldn't be more clear.
 
user142019
Oh well, care. It's because style guide.
 
while (++current != std::end(range) && (((inner_range = compute(*current)), boost::empty(inner_range)); LOL
 
do
{
    ++current;

    if(current == std::end(range))
        break;

    inner_range = compute(*current);
}
while(boost::empty(inner_range));
^ that looks better.
 
@Abyx agreed, thought most of that is because you ditched the blocks, not the else
 
9:02 AM
@sehe That's not an iteration.
 
@LucDanton What. Why must it be an iteration?
 
2 mins ago, by Luc Danton
current and inner_range are part of the observable state.
 
@LucDanton inner_range still is, and current would be the return value
 
It's an annoying part of the code :(
 
user142019
 
user142019
9:03 AM
This meteorite is sick.
 
come on, cramming it all into one line using short circuit eval and a comma operator with an empty while is just so cool
 
@LucDanton Yeah, that inline assignment to inner_range might be too clever by half, but it neatly crams it into a find_if oneliner IMO
@doug65536 show it :)
 
user142019
@Abyx EWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW multiline if-statement without braces.
 
3 mins ago, by doug65536
while (++current != std::end(range) && (((inner_range = compute(*current)), boost::empty(inner_range)); LOL
 
user142019
That's fugly.
 
9:05 AM
I'm kidding btw
 
user142019
Oh well, at least there's no tabs.
 
@doug65536 error: 'LOL' undeclared
 
user142019
Because that would make the code even more horrific.
 
user142019
@sehe error: 'LOL' not in monospace font
 
9:06 AM
@sehe well, it's not like I chose to out source :P And besides, this is internal emails
 
user142019
@TonyTheLion lol
 
put #define LOL on the previous line
then you can laugh at all the hacks in the file
 
user142019
@doug65536 Same thing. Still not correct font.
 
@thecoshman no. this is internet chat. Also, "outsource"
I'm off to work
 
user142019
Robin Hood is a criminal and must be skewered.
 
9:08 AM
@sehe In any case thanks for pointing out possible (ab)uses of assignment, I couldn't see it behind the actual wart of inner.emplace(compute(*current)) of my code. I'll naively try porting your idea to the code.
 
@LucDanton Just don't sue me if any of you or your coworkers need to go into counseling sometime in the future :)
 
@Zoidberg you got me there
 
user142019
do {
    if (++current == std::end(range)) break;
} while (boost::empty(inner_range = compute(*current)));
 
user142019
:3
 
@Zoidberg That's probably how I'd write it. before the edit
 
user142019
9:10 AM
Egyptian braces and Haskell braces are the only correct brace styles.
 
user142019
All the other ones should be syntax errors.
 
Egyptian?
 
user142019
Just like tabs.
 
user142019
 
user142019
In Zoidlang every occurrence of a tab character outside of a string literal is a syntax error.
 
9:12 AM
TIL Zoidlang sucks. Wait, I learned that before today.
 
@Zoidberg so, no verbatim strings?!
 
current = std::find_if(std::next(current), std::end(range), [this](RangeReference<Range> r) -> bool
{ inner.emplace(stuff(annex::invoke(functor, r))); return !boost::empty(inner->first); });
Neat!
 
user142019
@sehe hmm, that's an exception. :P
 
Xeo
Mornin'
 
user142019
Hi.
 
9:13 AM
@LucDanton could do with a li'll formatting
 
I don't like indenting the lambda block here.
 
Xeo
What's Luc up to now?
 
user142019
Lambda indentation.
 
current = std::find_if(
        std::next(current),
        std::end(range),
        [this](RangeReference<Range> r) -> bool
        {
            inner.emplace(stuff(annex::invoke(functor, r)));
            return !boost::empty(inner->first);
        }
    );
I'm pretty sure I like the explicit while better ^ (just lose the unneeded braces and else)
 
user142019
current = std::find_if(
    std::next(current),
    std::end(range),
    [this](RangeReference<Range> r) -> bool {
        inner.emplace(stuff(annex::invoke(functor, r)));
        return !boost::empty(inner->first);
    }
);
 
9:14 AM
lol
 
@Zoidberg what you have up on github for zoidlang is surprisingly brief code
 
@Zoidberg that's close. But too slow :)
 
user142019
@doug65536 what do you mean.
 
user142019
Why would I make code complicated and large.
 
@Zoidberg low number of lines of code
 
9:15 AM
@sehe oh, I had assumed you respond to a different messaage message
 
I think I'll keep the algorithm actually.
 
Xeo
@LucDanton Btw, why explicit std::end and not ADL end?
 
@thecoshman you know what they say about her...
 
@sehe ¬_¬ that went well for you
 
user142019
@Xeo because he didn't think of that.
 
9:15 AM
@sehe indeed
 
@Zoidberg I'm working on a pet compiler project myself, but it generates native code. well, it will generate native code, so far I'm far into IR generation (if trees fully implemented, minimal type system)
 
@Xeo I don't have adl::end and for the time being (I'm doing this very rough) I want to avoid calling boost::end by accident.
 
Xeo
@LucDanton I see
 
user142019
@doug65536 LLVM ( Í¡° ͜ʖ Í¡°)
 
though... 'assumption' sounds like a really bad word
 
Xeo
9:16 AM
I mean, you can probably expect std::end to work for 99% of the cases anyways.
 
oopsx
 
Doesn't std::end do ADL?
 
Xeo
@R.MartinhoFernandes No
 
Speaking of being rough, the stuff above is actually the name I'm using right now lol. It 'stuffs' things into a pair.
 
user142019
I already abandoned the Zoidlang implementation I was going to write.
 
user142019
9:17 AM
New one will be very close to C.
 
Xeo
It just special-cases arrays and otherwise calls member end()
 
@R.MartinhoFernandes All of swap, begin and end do ADL on your behalf in Boost, but you have to do it yourself for the Standard ones.
I'm sure there are more.
 
@Zoidberg the point of my language is making asynchronous code easy and having vector operators for geometric operations and geometric booleans
 
@R.MartinhoFernandes how could it? I mean, how could it avoid calling itself recursively?
 
user142019
@doug65536 C# Geometry Edition?
 
9:19 AM
Geometric boolean: true, false, upwards.
 
oh this is so much nicer now, silly marks as read after you loose focus in outlook fix
 
@Zoidberg that would be pretty accurate yes, more like C# coroutine asynchronous linear algebra edition
 
user142019
Cool. :p
 
@sehe Why would it?
 
Xeo
@sehe You'd need to specialize it for every standard container type, IIRC.
 
user142019
9:20 AM
@doug65536 Go Linear Algebra Edition?
 
Xeo
Same with std::swap if that did ADL
 
@R.MartinhoFernandes mmm. if it is doing ADL on the exact same name as the overload itself... How would it ever make sure resolution doesn't "see" the current overload.
 
Better link the trick. Because those ADL wrappers are really non-straightforward.
 
@Xeo okay, so by being conservative with specializations. No base case
 
@sehe Point of declaration and more namespaces :(
 
Xeo
9:21 AM
@LucDanton Outside of namespace std, they actually are I think.
 
@sehe Example.
I need to rename that detail namespace, wtf.
 
@Zoidberg hey, Go has implicit templates like my language too. (just by not saying a type it is templated automatically) wait scratch that... go just has weird type syntax lol
 
@doug65536 Have you filled the checklist already?
 
18
Q: How do I write an ADL-enabled noexcept specification?

R. Martinho FernandesImagine I'm writing some container template or something. And the time comes to specialize std::swap for it. As a good citizen, I'll enable ADL by doing something like this: template <typename T> void swap(my_template<T>& x, my_template<T>& y) { using std::swap; ...

 
@R.MartinhoFernandes checklist?
 
As you can see you don't even need to change the name. I do it because paranoia.
 
@R.MartinhoFernandes it's not intended for general purpose programming. it's for a game engine I'm developing, purely as an exercise
 
Xeo
@LucDanton You need to change the name in your case since you're also using get inside the function body, where it can see its own declaration.
 
@Xeo Oh yeah noexcept only needs the decl.
 
oh, I see stupid tags are creeping in again
 
9:26 AM
room topic changed to Lounge<C++>: Seriousness not allowed. [c++] [c++11] [c++-faq] [no-helpdesk]
 
:O
My will be done!
 
Hmm, damn. If I need to wait for a train I will be late for work. Time to go!
 
@R.MartinhoFernandes fly you fool!
 
@Xeo Can't seem to get one of my test case to go right :p want to take a look?
 
Xeo
@LucDanton Sure
Btw, is it necessary to have module names like This in Haskell? Or is that just convention?
Eh, nvm, ghc hits me when I do lowercase. :(
 
9:32 AM
@Xeo Test of the feature, i.e. concat_map; two first case deal with empty ranges and pass; third one 'flattens' and passes; I'm stuck at fourth and last. Feature source.
@Xeo Former.
> unit/range.cpp(123): error in "concat_map": check i == 4 failed [1390 != 4]
This is what 'doesn't pass' means here. No other check fails.
 
Xeo
What's with the std::array<std::pair<bool, T>, 1>?
 
@Xeo After a few 'minimal' test case I tend to go wild in the hopes of triggering something interesting.
std::array<int, 1> {{}} yields the same though, i.e. I don't think it's relevant.
 
Xeo
Ah, you get a forward_list<array<...>> out of that, right?
 
Not quite.
 
Xeo
What else?
 
9:36 AM
concatMap :: (a -> [b]) -> [a] -> [b]
Substitute [] with 'some range of'.
 
Xeo
So it's unspecified for (your) concat_map what range it returns?
 
Yeah. I'll probably make concat_map_range part of the interface when I figure it out though.
 
Xeo
I see
In any case, decltype(e) should be pair<bool, int>&, right?
 
I'm not expecting a reference. Let me just test though!
(Input ranges/iterators are allowed to do that.)
 
Xeo
Right
 
9:40 AM
So it is an lvalue reference. I have to investigate.
 
Xeo
Wouldn't that be correct for that specific case?
 
I haven't quite decided yet. In any case the lifetime is correct (inner deals with that).
 
Xeo
Btw, what does your concat_map do if you don't actually have a nested range?
 
It doesn't have to be nested, just like in the case where a new range is produced (e.g. returning an array). I'm hopeful that I'll be able to flesh out the concepts to catch those cases where the functor does not yield ranges though.
 
Xeo
@LucDanton That's what I meant.
 
9:47 AM
@R.MartinhoFernandes here is some tests for my intermediate representation if you want to have a look. the IR after the syntax tree dump is the interesting part. these are short circuit evaluation branch tests
anyway, time to sleep, later guys
 
Something wrong in constructor. Fixed it, but unrelated.
 
user1357851
I hope there aren't larger asteroids following the smaller ones
 

« first day (853 days earlier)      last day (4078 days later) »