« first day (2652 days earlier)      last day (2279 days later) » 

1:44 AM
@Mysticial 5. We nuke Russia and China.
Can't take risks.
 
because no one would ever react if you nuke them
always count 3+ steps if you can
calculations must include all possible & likely reactions
 
lol, Canadian?
 
Sorry, I got mixed up with someone else. lol
 
@StackedCrooked Well, Canada does have a mostly French-speaking province, so it ought to have a Flemish-speaking province as well, right?
 
1:57 AM
Hm, makes sense.
 
Dammit. Who did I confuse you with who's Canadian?
 
Etienne? Me? uh...
Theres 1-2 more iirc
 
@Borgleader It might be you.
It's been a while.
 
@Mysticial Etienne de Martel would be the most obvious possibility.
 
1:59 AM
In the true spirit of Trump politics, "Whatever, they're all the same - not American."
 
Canadien
 
Actually no, I take that back. Some are "shithole" countries, others are not.
 
@Mysticial A comment I found rather ironic. I believe all the actual shitholes (outhouses) I've seen/used have been in the US.
 
Swedes invading your country?
 
2:13 AM
Norway is a bit to the north.
Personally I would love to live in a developed country and in a place with great climate.
 
@Mysticial -1: Can't buy alcohol on Sundays.
 
Sydney is getting too warm in summer, maybe I should move to Tasmania </wishful_thinking>
 
2:29 AM
@sehe I was bored in the train so I dabbled with spirit x3 for the first time in a while (and committed an atrocity or two) xD
Which is quite a feat considering I only had < 1hr and no internet.
Now I'm off to bed to forget my sins.
 
 
3 hours later…
5:00 AM
 
 
1 hour later…
6:24 AM
@LoïcFaure-Lacroix I was just exploring the potential of cross posting bullshit.
 
 
2 hours later…
7:56 AM
$ kill -l KILL
kill: unknown signal: SIGKILL
@sehe someone let the yaks run wild!
 
 
3 hours later…
11:08 AM
hello
 
11:24 AM
@EuriPinhollow Your conclusion?
 
nwp
It increases the amount of bullshit and makes the choice of place less relevant.
 
@StackedCrooked If the US nuke Russia, China, and NK. It would be the US signing its certain death. The question would be how would the other NATO countries react then.
What suck with people logic comparing the current armies on who would win a war is that they don't understand that in time of full scale war planes,tanks and weapons will be produced as fast as bread comes out of factories.
 
nwp
That takes years of preparation though. Can't just turn a car factory into a tank factory in a month.
 
11:40 AM
Well I don't want to scare you but the car factory in the city I live in started producing armored cars for 2 years already.
Actually it's more armored trucks than "cars"
 
Is this the C++ chat room? There is not much C++ going on.
 
this room is Lounge first, C++ second
if you want to ask a C++ question, go here
(or on SO)
 
Cheers.
 
 
2 hours later…
2:13 PM
I was about to release cpp-sort 1.0.0 but the CI has problems
I'm a sad pupper now :(
 
nwp
2:24 PM
Download the CI VM, run it yourself and declare victory.
Unless by "CI has problems" you mean the code doesn't behave.
 
nah, more like the OSX builds don't start because there are problems with Travis
and I don't have what it takes to locally test OSX :p
 
their OSX machines are overburdened I've heard
 
looks like so
 
@Morwenn Could you simply run OSX in a VM?
 
my build started yesterday
@LoïcFaure-Lacroix I don't have a license, so that's illegal v0v
 
2:37 PM
@Morwenn OSX is free now
you don't need a license as far as I know
 
oh, as you can see there's also the fact that I mostly don't know shit about either VMs or OSX :D
 
But I could be wrong, there is also Macos server
I think the biggest problem will be to download the DMG image and run it without macosx. The best bet would be to have an image of a harddrive with a recovery partition. This is used to install macosx.
 
I'll just wait for Travis to fix their thingy, that's far easier x)
 
But honestly If there is a macos version without GUI i'd install that in a vm unless you have a really beefy computer
 
nwp
They also don't use clean installs, they use images with lots of stuff removed and things generally useful to build code added. Having a regular OSX will probably not help. I know that regular ubuntu doesn't help much.
This probably helps.
 
2:49 PM
yes, It's not that a clean install of osx has a lot of useless thing is that it also doesn't come with a lot of necessary things.
You have to install XCode and command line tools to be able to actually compile anything
 
 
1 hour later…
4:08 PM
I'm in a 4 hour program kickoff meeting with only a cell phone. Which part of the C++ is the most entertaining?
 
nwp
@Mikhail Think about the smallest, least impactful change in the standard that would solve this issue.
 
4:37 PM
Actually this is pretty cool
 
4:57 PM
THE OSX BUILD FINALLY STARTED
well, one of them at least
 
have you guys ever encountered problems like sound crackling?
 
?
 
@SzymonMarczak Where's the code? We can't help without code or SSCCE.
 
@Mysticial I meant sound crackling while listening to music. For example, I'm on YT and sometimes get some crackling. That's very annoying for me. I'm using Realtek drivers. I've tried Microsoft's default one, but it was still present. Changing OS doesn't help. I'm using this motherboard.
 
5:12 PM
@SzymonMarczak I think you're in the wrong room.
 
@Mysticial This is lounge right?
 
C++
 
5 hours ago, by milleniumbug
this room is Lounge first, C++ second
 
it's unlikely someone knows the answer
so feel free to ask a question, it's just, well, don't expect people to be able to answer
 
@milleniumbug know about that :P
just asking
 
5:15 PM
@SzymonMarczak Is your cell phone near your speakers?
 
@hilli_micha no
 
Do you have a separate amplifier for your speakers?
 
@hilli_micha No, I'm using the built-in one. I tried my headphones, but it didn't give any effect.
I plugged the headphones directly to the audio input, and crackling was still present too. Changing audio inputs doesn't help.
 
5:30 PM
@SzymonMarczak Are you sure it's not just this particular video that was poorly ripped? Does this happen on audio files of decent quality?
 
@hilli_micha No, it happens on ALL videos. Even on high-quality audio files like 32bit WAV 320kbps.
Just want to notice it's very noticeable when using a VM (playing audio from VM).
 
Now, admittedly, that's a common issue I've encountered. I've pretty much considered goofy sound incosistencies par for the course when I'm using a VM (VirtualBox in particular)
 
@hilli_micha same
but the level of sound crackling on my computer is much more silent than on VM (but still noticeable)
Crackling from a VM: clyp.it/re4lqlog (audio)
this was recorded using my mic
also, I tried unplugging all devices from the computer and sound crackling was still present (host)
The sound crackling quite silent when you listen to music normally (not through a VM)
 
@SzymonMarczak Sorry dude, I'm lost on your issue then. The best I can say, for diagnosing the issue, would be replacing (even if just for testing) individual components in the system. Sound Card (on your motherboard), the cable you're using, then the speakers. From the way it sounds it could be the Sound Card, but try the cable first since that is the easiest.
It might be software but given how cheap low-end audio items are, it seems cheaper in terms of time to test those first than figuring out software issues.
 
6:53 PM
http://coliru.stacked-crooked.com/a/d71fb74d1bef4023
Is this UB considering deque resize doesn't invalidate iterators? (This is a simplified example, the deque wouldnt normally be empty to start with, but it could be)
/cc language lawyers
 
if resize doesn't invalidate iterators why would it be UB?
 
Oh that was just a reminder i guess, I'm bothered by using end
I mean, does end suddenly become valid after the resize?
(the first one I get from calling end that is)
 
oh I missed that the first one was an end
no.
in fact they're not even required to be of the same type
 
This seg faults: http://coliru.stacked-crooked.com/a/94f107a15ee3c554
I am guessing the initial container size for a std::deque is bigger than 5, so that when you resize it to 5, it does not cause a memory reallocation.
 
Damn =/
 
7:02 PM
or might not be later on, anyway
 
> all iterators and references are invalidated, unless the inserted member is at an end (front or back) of the deque (in which case all iterators are invalidated, but references to elements are unaffected)
289
A: Iterator invalidation rules

Lightness Races in OrbitC++11 (Source: Iterator Invalidation Rules (C++0x)) Insertion Sequence containers vector: all iterators and references before the point of insertion are unaffected, unless the new container size is greater than the previous capacity (in which case all iterators and references are invalidate...

 
@milleniumbug Yeah thats not the part that's in question.
It was whether I could call end twice like I just did, which apparently I cant
Thanks all, I'll settle with saving the original size
 
I was just curius. If I reading this [source code](https://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-4.0/stl__deque_8h-source.html) correctly, the initial container size is 8.
`enum { _S_initial_map_size = 8 };`
 
@Borgleader Since end iterators were never valid in the first place, it really doesn't matter what you do with the container, they'll still be invalid
 
> /// This function will search through all previously loaded dynamic
108 /// libraries for the symbol \p symbolName. If it is found, the address of
109 /// that symbol is returned. If not, null is returned. Note that this will
110 /// search permanently loaded libraries (getPermanentLibrary()) as well
111 /// as explicitly registered symbols (AddSymbol()).
112 /// @throws std::string on error
Are you for fucking real LLVM
 
7:20 PM
JustFindTheGoddamnSymbolAlready()?
 
@Columbo Nope. LLVM is imaginary.
 
7:57 PM
@Columbo They're pretty bad
 
8:41 PM
@hilli_micha Thanks for your advices, I'm glad you wanted to help me. Will do what you said :)
 
 
2 hours later…
10:39 PM
So I got an email from a colleague of mine, starting with "Hey Friend, I respect you, but" The rest of it was a rant about how I shouldn't have explained that the c++ language has a spec that defines the language. "You shouldn't have said I was wrong".
I'm loathe of anyone using the word respect. It is almost always am insult.
The respect dude just sent me his lecture slides(.ppt). They are full of auto_ptr...
I'm still happy with my life =)
 
Clearly 6 years is not enough to change the slides
 
In my lectures I take pride in saying, this is old hat:, this is 11:, this is 14:, this is the future. But he respects me!
He called me on the phone, angrier than any bee I've ever heard =)
But he respects me!
 
10:58 PM
> The rest of it was a rant about how I shouldn't have explained that the c++ language has a spec that defines the language

Lol, without a spec its just convention
As someone who writes specs, I'm offended
 
@crasic As someone who appreciate specs how did you manage to completely fuck up the quotes on my statements?
 
nwp
SO murkdown: the future of spec writing,
 
>If you spread quote
>even across multiple lines
and even if you do not keep the '>'

or add space
aka, quoting is not same as quotes in posts
 
11:13 PM
@crasic I respect you and all, but the intent of the lines in your quote were diametrically opposed. Well, nevermind.
 
@CaptainGiraffe Wait, why on earth should you not have explained that? I cannot imagine any reason not to bring up the Standard
 
@Puppy I think you misunderstood the dialoge.
 
> a rant about how I shouldn't have explained that the c++ language has a spec that defines the language
this is pretty unambiguous
 
@Puppy I quoted the standard, he got terribly upset.
 
yes, but what were his supposed reasons?
 
11:21 PM
IOW, he's the badlet, not giraffe
 
this intrigues me greatly for some reason
yes, I know that
I'm just curious as to what bends of logic he contorted into to try to claim you were wrong
 
nwp
"If you prove me wrong I feel bad. Feeling bad sucks, so you shouldn't do that."
 
One particular is /code int * const p;
Compile that! as a member it's perfectly fine.
 
11:58 PM
lol raspberry pi 3 model B has quad core, just processor has low speed
so it can simutaneously run up to 4 threads ... albeit slowly
 

« first day (2652 days earlier)      last day (2279 days later) »