« first day (3006 days earlier)      last day (2166 days later) » 

00:40
@fredoverflow I no longer have a reason to prefer Bitbucket to Github
but I need to remain active on those projects
let me make a bot that will contribute to projects at least thrice a month xD
00:52
I don't even use source control. :P
What if the driver on which y-cruncher is stored were to just die?
I use USB and external hard drive for 'source control'.
And occasionally on my server overseas.
There's backups everywhere. Multiple copies in my apartment. Several more in California, and encrypted copies on the cloud.
Ok so you use manual source control :P
I have a folder where I keep snapshots of the project going all the way back to like 2010. I'll do a snapshot whenever I feel like I've some something - which is every few days - though can be bursty with long droughts in between.
00:57
Sounds like artist versioning:
Really old snapshots are generally fairly useless.
This folder is backed up once in my apartment (2 copies total including primary). And a second copy in California. The online copy has a much fewer snapshots - maybe once every few months or so.
Would have been cheaper to get a Hex-Rays license
I update the California copy every other time I go back. The online copy I do at least once every major release.
@Borgleader Some of the copies are side-effects of the "hardware version control" that I do.
I have a separate drive for each branch. A clean Windows + Linux dual-boot that has nothing installed except for the exact compiler versions for those branches.
And each of those drives are littered with copies and snapshots of the program - such all the betas, release candidates, final releases, etc...
01:05
I add dates to versions names, sometimes with explanations.
But dates themselves are quite useful.
Those floppies must have cost you an arm and a leg
Storage are cheap and light to travel with.
2TB is the size of a phone.
nah. I used to do it with all the spare HDs I had lying around. But they are slow and difficult to switch between, so I recently switched to SSDs with front mount brackets where I can physically mount and eject the SSD from the front of the case.
And lightening fast.
So I have a stack of SSDs sitting on top of my AMD mini-ATX box - each with a different branch of the program.
01:10
The lastest external drivers though, old ones are pretty heavy and slow.
These are cheapo 500GB SSDs which you can get for under $100 each nowadays.
Quick question
After emptying a list
list.begin() seems unreferencable
and I answered myself again
may i suggest the purchase of a rubber duck?
So I made a binomial heap
And insertion scales with log(n)
But emptying.. oh wow
So in a binomial heap, insertion is ammortized O(1), thus O(n) for n elements. On the other hand deletion is O(log n), so for n inputs, emptying a heap would be something like ~O( n * log n), right?
01:33
I asked my printer to print on both sides. It did - but using 2 pieces of paper instead of one.
02:09
Trump's gofundme wall has raised 19 million, I wonder who is getting all the interest ...
If a user calls erase() for each element on the heap then yes, it's O(n*log n). However, if you provide a clear() method that internally removes all nodes then you can make it O(n) or even O(1)
03:09
Under the assumption that std::abort() is O(1), although I guess you can keep the nodes in continuous memory...
03:39
You could also leak them :P
Powering off the machine is also O(1).
 
3 hours later…
06:14
Online haters == the anti-matter of online fans?
I must say that some online haters are so devoted, it's amazing.
Not having any now, but I used to own a large flock of those back in my 1337 tr011 days. They were so emotionally involved, if their target was gone, their life would probably be filled with emptiness. I used to even get phone calls from them.
This woman has a large flock of haters too, although hers were more women.
07:05
I wonder has anyone ever through hiked the whole rocky mountain range
07:21
@TelKitty People have certainly hiked the entire continental divide trail (3000+ miles) but that's still only a tiny fraction of the rockies as a whole. As for hiking the whole range--it kind of depends how you define things. For example, there are parts of Pikes Peak where it's illegal to hike.
Yeah, I am considering visiting Jasper & Banff in a few months time, which is part of rocky mountains range.
@JerryCoffin Colorado rocky looks more like a isolated part of rockies range:
@TelKitty Continental Divide Trail isn't just in Colorado.
@JerryCoffin I am talking about the gap at the north west of Mt Elbert.
07:37
@TelKitty Elbert. But it's not really relevant.
Oops, corrected ~_~
 
2 hours later…
09:38
Hi, I am currently looking through the c++ book guide, because I would like to expand my little knowledge of c++ and learn modern approach. I have multiple years of experience in c and have also worked with C#, python and unluckily VBA. I am not sure which book(s) are suited to learn how to learn good/modern C++. Can you point me to some specific books listed there, that would help me in the transition?
Especially as the c++ I learned back then was more like advanced c, but from what I saw in c++ question on SO it looks quite different now
I am thinking about "accelerated C++" but it is quite old.
I will get "effective c++" anyhow but I wonder if I need another book to get to the level needed to appreciate it.
sry "Effective Modern C++"
10:27
I just discovered language injection in PyCharm and it's great
10:40
Never heard of that one :D
Wait till you discover Morwenn is actually a guy. I did. You will too. Don't make the same mistake. Ever.
Hi @Morwenn
Did you just assume the gender? triggered
Assume? It's a fact.
I'm a miserable person sometimes, it's a fact.
<1337TrollMode>Look at that exquisite face in my avatar, it's a face that will launch a thousand ships (into fleeing).
Trust me, stackoverflow ceo is very shy, it's a fact.
10:58
How are those statements connected?
If I had an amazing figure like in my avatar, I would totally physically chase after a shy person like that and make stackoverflow ceo to tremble with fear.
</1337TrollMode>
I'm actually non-binary x)
And I'm now the proud owner of a small A cup
It was worth trading my testosterone against some estrogens
Hey guys, I have asked a question on a topic. I have got an answer on that topic, that does not really answer the topic, but point out that I might have asked the question differently than I should have (lack of knowledge). If I was at the situation before I was asking the question, I'd formulate the question very different than before, ask for something slightly different.
I wonder now, if I should edit the question (and make the answer completely invalid, and probably nobody would notice anyways) or ask another question, which would be very similar in intent, but it would not be a duplicate (and I'd probably again receive unnecessary downvotes). What do you suggest?
UGH, GET OUT
where should I go?
11:01
Anywhere but here.
get out yourself
@JFFIGK ask on meta, they are more liely to provide you an answer that won't end up in your new question being deleted
okay, thanks. Ill do that
See?
So does anyone has anything to say about my book question?
11:05
I never read a C++ book v0v
I only read novels nowadays ... and news. Sometimes I am forced to read manuals. But I definitely do not read any C++ books any more.
Effective Modern C++ would be the way to go if you've already got some knowledge
@JFFIGK No, you're question was fine. My response was reactionary. Good luck on Meta.
I usually do this, Hi @TelKitty!
Hey @edition long time no see.
I can recommend the CPP Core Guidelines, which provide best practices for writing good C++ Code (amongst others, the founder of C++ helped writing them). They have also specified ways to enforce some of the rules using automatisms, which have been implemented by e.g. GCC (which provides hints for bad code and suggestions). It helped me a lot at writing modern and effective C++. But you already should have a solid overall knowledge about C++.
11:12
Yes, I left a company ran by Alex St John (DirectX guy) over the time since I last chatted with you.
11:28
Say something quickly before this gets any more awkward.
Supercalifragilisticexpialidocious
@JFFIGK Oh, you're interested in C#. That's favourable. :)
There is a good question: C# or Java?
Why?
11:35
Shall we carry on another channel to avoid polluting this one?
It'll be fun.
12:32
@TelKitty Because it's well-known that Java is an inferior pile of shit?
13:08
@edition am I?
 
1 hour later…
14:23
Today I learnt about implicit joins in Oracle SQL
No wonder I didn't understand what the queries were doing
nwp
nwp
So you queried the SQL documentation? Successfully?
No, some colleague told me what the weird syntax was supposed to do
15:08
@Morwenn Welcome to the hell that is oracle
So, I have found a new gem (read piece of poop) in our application startup shell scripts. Brace yourselves:
We are parsing XML files with AWK. Or trying to.
@Mgetz thanks, I'm glad I could only copy the queries without actually understanding them
@Morwenn seriously part of their business model is selling professional services because their database is or horrible
The other part is sending their executives off as plants into other companies to make them dependent on oracle
15:28
But their database has a good test suite
Actually the only thing that ensures that the whole thing works x)
@Mgetz Part III: having licensing terms so complex that once you're dependent on them, they can basically demand almost any amount of money, and it's impossible for you to argue.
@JerryCoffin Part IV: Trying to charge you to move your data off the platform using the insane licensing terms to try to make it as prohibitive as possible
@Mgetz I'd better stop talking about Oracle, or I'll start sounding as cynical as Cat used to be...
@JerryCoffin too late I'm already that cynical about oracle. There are very few companies I'd gladly see all of the executives get carted off immediately to jail, but oracle is literally the only one.
@Mgetz ..and tonight we have a truly special bout for you folks! In the red corner we have Larry Ellison's ego, weighing in at...well, sorry, but the scale broke trying to weigh it. And, in the blue corner, we have Donald Trump's ego, which we knew better than to even try weighing. But, it's not ego that will win tonight. This bout will determine who is the most conniving, dishonest, and generally terrible person on the planet (unless somebody nukes the arena to take them both out).
 
4 hours later…
19:18
@Mysticial 500GB Samsung EVO 860 sells for €85, wtf
@fredoverflow As in high or low?
@Mikhail Is there a difference? If so, I wasn't aware of that. What's the difference?
@Mysticial Very low, I would have expected twice as much.
But I don't buy new hardware very often, so what do I know :)
If you go with a shittier brand (like Western Digital), it'll go lower.
Not that I can tell the difference.
Maybe if I'm doing something intensive on it, I might notice...
@Borgleader I only have 1 private repo on my bitbucket account. Guess I won't be using that anymore...
@Mysticial I have good experience with Samsung and Intel SSDs. Not taking any chances to save a few bucks...
@fredoverflow I'd have 3 bad experiences with SSDs.
My very first SSD was the first generation one with the write-bricking.
My 2nd one was an OCZ Vertex. They had a terrible reliability record that eventually took down the whole company. Mine died after a year.
19:23
I actually wrote a .bat today
I feel dirty
The 3rd was a very recent where I tried out a sub $100 500GB NVMe drive from a noname brand. It works fine except that sometimes the BIOS won't see it unless I reboot.
The WD ones I've had are all solid - as well as the Samsungs.
@Mysticial I'm too old for this kind of shit, I just want stuff to work.
@Mysticial you know if AMD is already sending out engineering samples of Zen2 yet?
@Mgetz The answer is yes. But more importantly, I don't have one. :)
19:28
Interesting
you think it'll be delayed?
no idea
I haven't heard anything yet. Not even a benchmark leak.
Forrest Gump learns C++, this is so stupid :D
10
Historically people like to send me benchmarks before release. But I haven't gotten anything for Zen 2 yet.
Yeah I would have expected you to have the opteron at least by now and not be able to talk about it
Though, there might be a reason in the near future that may push me to do an AMD build even though it has no AVX512.
19:31
Well if they keep up their core counts, in theory they can beat Intel just by shear compute power
@Mysticial Does cat /proc/cpuinfo | grep "lzcnt" output anything on your computer?
It's becoming increasingly difficult for me to do NUMA stuff without an actual NUMA machine. The only one have is a 13 year old 4-socket Barcelona which is neither representative of today's machines, nor is it reliable anymore. It's also in California and I can't access it unless I'm there.
@fredoverflow no
why?
Did you see LTT posted footage of the Asus ROG board for the intel threadripper response?
which is completely stupid
@Mysticial I wasn't sure if I was searching for the correct string... popcnt is found but not lzcnt :( en.wikipedia.org/wiki/SSE4#POPCNT_and_LZCNT
@Mysticial same for me (or thereabout)
19:34
@Mgetz link?
> The encoding of lzcnt is similar enough to bsr (bit scan reverse) that if lzcnt is performed on a CPU not supporting it such as Intel CPU's prior to Haswell, it will perform the bsr operation instead of raising an invalid instruction error despite the different result values of lzcnt and bsr.
wtf
@fredoverflow It's probably just a flag Linux doesn't bother reporting.
But Haswell has it.
@Mysticial Oh wait, I have an Ivy Bridge.
19:36
@fredoverflow Yeah. That actually bit me once. I compiled a binary in GCC for -march=k10. And it gave me wrong results on Core 2. It didn't crash - but corrupted data.
@fredoverflow I have a Skylake here. It doesn't show up either.
@Mysticial Is the result only different if there is no 1 bit?
@fredoverflow correct
270
Q: Size of character ('a') in C/C++

whacko__CrackoWhat is the size of character in C and C++ ? As far as I know the size of char is 1 byte in both C and C++. In C: #include <stdio.h> int main() { printf("Size of char : %d\n",sizeof(char)); return 0; } In C++: #include <iostream> int main() { std::cout<<"Size of char : "<<sizeof(char)<<...

-march=k10 made a GCC intrinsic use lzcnt. And that fucked up the build.
I meant to use -mtune-k10.
@Mikhail That difference only applies to character literals. That is, sizeof('a'), not sizeof(char).
19:37
I'm too lazy to thoroughly read the code you posted
It's only 3 lines of code :)
But yeah, sizeof('a') == sizeof(int) is a serious WTF moment in C...
I cant fathom a reason why anybody would want that, ever.
@fredoverflow 8086?
Real, question is if its actually packed with zeros in memory. Although as a literally, will it even hit memory?
@Mgetz What do you mean?
@fredoverflow INT on 8086 was commonly 8bit
19:40
but not in C++
not now
not ever?
at the time C++ wasn't standardized
int has always been at least 16 bit in the C standard, hasn't it?
@fredoverflow I don't think so, it used to be defined as the 'fastest integral type on the platform'
I thought c99 standardized on 16bit minimum
19:41
@Mgetz haha, that guy is rock hard in that video.
^ This is true, but history goes back further than 1999
@Mikhail History goes back to 1996 (?) when Java was released :)
@Mysticial That board is going to be stupid expensive, and if intel doesn't give ECC on that chip it's DOA above 3000ft
@Mgetz The chip is 8-grand.
So yeah, HFT only.
And rich people only.
@Mysticial honestly even if I had that money the 9900k should clock and cool better
19:43
I can't afford. I would've thought about it at $3k.
@Mysticial Or you can hang out around Intel office parks, and hope that you can collect their refuse (Xeon chips) when they decide to outsource their operation to Eastern Europe/Poland.
@Mysticial I stand by what I said even more then, if they don't put ECC on it... it's DOA in general
@Mikhail If I wanted it that badly, I'd just go buy it. It would cost me more to travel and take time off work like that.
But for real, you can get high core count servers in the trash
For example, a lot of people are upgrading their storage. So you have 48 Tb servers, that have 12 cores being tossed out the trash.
@Mikhail That's kind of my thoughts too, it's easier to buy a higher bin server chip and just overclock that.
19:46
@Mgetz You can't overclock server chips.
You can overclock the mobo
A guy I knew who worked as an ops troll at some fintech company mentioned an Intel microcode update nuked his overclocks about four years ago. So it was at some point possible.
Asus ROG Mothership is a massive gaming tablet with a detachable keyboard
Please poke me if you answer my question to get my attention.
 
1 hour later…
21:45
> The password you provided is weak and can be easily guessed.
I can't make up my mind about the value of such a warning cc @sehe
22:30
@Borgleader
-4
Q: MOTHER fUCEEEEEE

Pravin RGMishraSOME USERS JUST DELETED MY ANSWER MORE THAN NOW I WANT TO DELETE THIS ACCOUNT..GOOD BYE I WANT TO PYTHON JAVA AND F FOR LOOP One way of achieving this is using request and beautiful soup which has been discussed here in Implementing Web Scraping in Python with BeautifulSoup. Instead of putting so...

Is that a typo or is "fuck" banned from titles?
22:52
'I WANT TO DELETE THIS ACCOUNT' - sounds having more than 1 account, better find and delete them all ...
23:16
 Research shows a strong correlation between extroversion and happiness
If there is a positive correlation between extroversion and happiness then the backyard baby noisy miner must be really happy - always hang around in a flock of few and chirping no stop all day long.
@TelKitty y yo face so ugly lately?
Internet changes perception ... e-space is currently distorted, I shall be back to normal in a few days.
25
Q: Can constexpr be combined with volatile?

user4637702The following snippet works fine in Clang 3.5 but not in GCC 4.9.2: int main() { constexpr volatile int i = 5; } with error: error: both 'volatile' and 'constexpr' cannot be used here If I inspect the assembly that Clang generates, it shows 5 as expected: movl $5, -4(%rsp) In G...

^ Wow, you can combine them.
It's not me, just the wormhole effect of cyber space, you know light is bend near the edge of object?
constexpr volatile auto oxymoron
@fredoverflow C# or Java?
23:43
@TelKitty Lightbend (former Typesafe) is the company behind Scala.
@TelKitty Cats is a very popular Scala library!
This is not fair, we need more library named after dogs and chickens.
And not after some damn snake.

« first day (3006 days earlier)      last day (2166 days later) »