« first day (2823 days earlier)      last day (2141 days later) » 

12:24 AM
Clicked on the link, type in username and password, press enter. See blank site. Reload, type in username and password again. Then logged in ...
Some sites are so tricky </sarcasm>
 
1:22 AM
@jaggedSpire Floofy bunny!
@TelKitty That's not "low quality". That's "ecologically sound!"
 
 
1 hour later…
2:29 AM
@JerryCoffin good heavens
 
 
2 hours later…
4:55 AM
Raspberry pi 2 vs 3. Also I finally found a use for SE swag ...
 
5:27 AM
@JerryCoffin I think you might not be interested in this, but there are many videos of beautiful women holding c**ks roosters to their chests, then stroking them, and kissing them, like this:
 
 
1 hour later…
6:38 AM
@TelKitty cooks, right?
 
Or corks ... or chiks, nevermind there is no such a word ...
 
7:04 AM
Morning
 
Morwenng!
 
error: Morwenng: login not found
 
Morwenning login not failed
 
7:53 AM
Do not approach whales and dolphins
from behind.
 
Latest proposals for C2x: more floating point stuff and more C++
 
But ... but ... I want to be a creepy, sneaky stalker of marine mammals :x
 
Nice, C might end up with fmin, fminimum and fminimum_num + the equivalent max functions and other function to compare the min/max of the absolute value of the parameters
For a total of 10 functions, most likely multiplied by the number of floating point number types they need to handle
Considering it's from the floating point TS that means it needs to support float, double, long double, _FloatN, _FloatNx, _DecimalN and _DecimalNx and I don't remember how many different values N can take
A rough estimate says that makes 120+ different functions with distinct names to compute the minimum and the maximum of two floating points numbers
 
8:09 AM
@TelKitty put on a seal suite and stalk some orcas?
You said you like danger.
 
@ABuckau Are you calling me fat, I think you are ...
 
8:25 AM
..is one possible reason you laugh at small trucks
 
@ABuckau Small trucks are too fast & too furious
 
I don't always avoid links, but when I do, they're from people I meet on programming sites.
(removed)
 
more than -3928 days
 
XD <3
 
Watching baby chicks growing up is mighty fun.
 
8:32 AM
Indeed. I'm surrounded by baby seagulls atm.
 
Baby seagulls are attracted to small trucks ... possibly.
Are those east coast gulls or west coast gulls?
 
A quick Google, looks like Herring gulls (?)
Idk, they won't hold still long enough.
 
Wanna C a pic of gulls with your truck
 
Get used to that feeling.
 
You have seen my car, it's only fair that I see your truck ...
 
8:51 AM
I don't believe I have.
Knowingly*
 
your turn now
@ABuckau you know what happens when you don't keep your promise ...
 
I wanted to use extern template to make my testsuite faster, then I remembered that I already instantiate my templates in the library's headers so once it's included it's already too late for extern template >.>
Doesn't look like a very solvable problem unless I introduce some macro switch, which I don't really want to do
Hum, actually there might be a solution worth trying
 
9:42 AM
Try it.
 
I wish but I'm not home :p
 
Ah. At work?
 
yup
 
Same.
 
Plus I don't think it will be useful: I may instantiate the class template, but every member function is a function template which tends to have different parameters throughout the testsuite
I don't think using extern template on the class template will make a noticeable difference
I still want to try it but I already lost hope x)
> data = new T[size=sz];
ouch
 
10:18 AM
@TelKitty I tried, but web filter blocking most image hosting sites..ones that aren't blocked require a login. Will upload when I get home.
 
I'm trying to reduce a bit the template bloat in my library, but it's rather difficult
I only manage to reduce the binary size a tiny bit here and there
 
10:34 AM
@ABuckau I have been trusting you more and more lately ...
 
11:12 AM
 
@TelKitty I trust you about as far as I can throw you 8-)
^^why the chicken crossed the road.
 
I doubt that you can even lift me.
@ABuckau No trying to provoke you of course ... merely stating a fact ...
 
No provocation perceived. I assume no one can lift you.
For once, we agree?
 
pretty sure local elevators will disagree
Also your troll skill is terrible, I need to converse with more 1337 trolls, talking to someone with such an inferior trolling skills brings shame to my life (needs shower and work on my other stuff)
 
I was being serious :/
(Removed)
 
12:07 PM
Ever since the start of this oppression policy, this site seems to be losing talented C++ programmers/developers/engineers. Now there aren't even 1337 trolls left, there are only newbies, newbies and more newbies and tiny group of reminding 1337 coders. I can relate to how the last rooster feel after I sent his two brothers away.
Newbies aren't the future, they are the present.
 
12:27 PM
I got a x4 improvement in a Python script by parsing a date by hand instead of using strptime
It's the kind of optimization I don't like to have :/
 
1:17 PM
0
Q: How to get reference of map value?

User890Generally std::map::operator[] returns the reference to the object. https://en.cppreference.com/w/cpp/container/map/operator_at std::map<char*, char*>* myMap1 = new std::map<char*, char*>() ; char* c1 = new char[100]; strcpy(c1,"fggf"); char* c2 = new char[100]; strcpy(c2 ,"gdgfd"); myMap1->ins...

my eyes
@Morwenn o.O
 
@Borgleader When you know the format, parsing the string at the right offsets can be faster than letting Python parse the format string then parse the datetime ^^"
 
@Borgleader that hurts!
 
1:38 PM
@Morwenn oh, yeah of course.
 
@Borgleader wow how worse could it be
 
@milleniumbug there's always a void* ;)
 
 
4 hours later…
5:39 PM
 
user1804599
6:11 PM
Happy birthday! @StackedCrooked
 
7:10 PM
Thanks :)
 
user1804599
I'm writing C++ again.
 
user1804599
Upgraded to GCC 7.3 and now throwing away Boost dependencies.
 
Cool.
 
user1804599
Optional and variant gone.
 
user1804599
Also removed lexical cast in favor of std::to_string.
 
7:20 PM
Nice.
 
user1804599
I didn't use std::to_string at first because it did a heap allocation, and I didn't realize boost::lexical_cast also does a heap allocation lmao.
 
variant and lexical_cast have lot's of compile-time overhead as well.
 
user1804599
I'm still using std::optional and std::variant.
 
user1804599
Sparingly though. I'm mostly using virtual members.
 
They are useful of course.
 
user1804599
7:22 PM
I'm not returning objects, only passing references to them around, so there's no issue with all the polymorphic class horror.
 
I currently still use boost::optional a lot.
 
user1804599
And I wrote my own I/O streams, without buffering and locales, because fuck std::basic_streambuf.
 
user1804599
class Writer {
public:
    virtual ~Writer();
    virtual void write(char const*&, char const*) = 0;
};
void writeAll(Writer&, char const*, char const*);
void writeString(Writer&, std::string_view);
 
Simple but good.
 
nwp
7:25 PM
I just saw something like that and recommended std::function<char const*&, char const*>.
Although I'm not sure what those parameters mean.
 
user1804599
Begin and end iterators.
 
nwp
What does your Writer give you over std::function?
 
user1804599
What does any abstract class without non-static data members give you over std::function?
 
user1804599
One thing you can do with this is also implement Reader:
 
nwp
Overloading, multiple functions, templates.
 
user1804599
7:29 PM
class Socket : public Reader, public Writer { ... }
 
nwp
Why do you write Java in C++? I makes me sad :(
 
user1804599
Because C++ is complete garbage.
 
nwp
It doesn't even work in Java though. You have some boost::asio::socket or something that implements the interface but it still doesn't compile because it doesn't explicitly inherit from the "interface".
 
user1804599
???
 
nwp
There are plenty of issues with C++, but this one is on you.
 
8:06 PM
Yay, I stripped 68Kb from my testsuite
Out of 97539Kb so that doesn't amount to much
 
@rightfold Nothing that Writer takes advantage of.
I've realized recently (partly with the help of .NET) that streams are a really dumb abstraction
 
user1804599
You are a dumb abstraction.
 
your face is a dumb abstraction
 
8:22 PM
I added constexpr and it reduced the binary size by 80 more kilobytes
wtf
 
compiler optimisations?
 
Probably, but the function definitions were already totally available to the compiler, so I'm surprised
 
yeah, but compiler optimisers aren't written to handle every possible case
they're written to handle the common cases that aren't NP-Complete to reason about
simply conforming more closely to a pattern the optimiser looks for is one of the most powerful optimisation techniques
 
I'm still surprised that adding constexpr makes a difference
 
Might avoid throwing exceptions
 
8:26 PM
also
 
The functions were already noexcept
 
are you on Linux?
 
nope
 
the compiler might have just inlined all the function use cases and then dropped the function, since it can no longer be called with just a prototype, IIRC
 
I run a 32-bit version of MinGW-w64 on Windows 10
Also when I upgraded from GCC7 to GCC8 the binary size of the compiled test suite jumped from 60Mb to 95Mb for some reason
 
8:29 PM
better inlining probably
personally I don't know why anybody gives a shit about binary sizes
 
I mostly give a shit because I'm not doing anything relevant
 
ok f/e
 
At work it's mostly "does it work" and sometimes "how can I make it faster so that people stop complaining"
On the other hand if I hadn't optimized a few things what now takes 1 second to run would take the whole day instead
Sometimes it's worth it
 
I want to do more work on Wide but I just can't use C++ anymore.. the DX is so terrible
 
8:50 PM
DX?
 
Developer eXperience?
 
ye
 
 
2 hours later…
10:28 PM
DirectX :-(
 

« first day (2823 days earlier)      last day (2141 days later) »