« first day (2050 days earlier)      last day (2900 days later) » 

Ven
12:00 PM
@milleniumbug (so if you have legalese to back that, it'd be amazing)
 
then yeah do look for const, esp. for non-thread related stuff like the containers
> A C ++ standard library function shall not directly or indirectly modify objects (1.10) accessible by threads other than the current thread unless the objects are accessed directly or indirectly via the function’s non-const arguments, including this.
17.6.5.9/3 Data race avoidance
 
cool
 
Ven
@LucDanton thanks <3
 
> moment().startOf('day'); // set to 12:00 am today
what
Since when does the day start at 12am?
 
Ven
??? since always?
does your day not start at midnight?
 
nwp
12:10 PM
12am is not midnight?
 
Ven
totes is
:P
Noon is 0pm in node-land, you fool.
 
> Ven used a spell of confusion
 
24h system is superior BTW
 
@LucDanton It's amortized O(1) and thus super efficient.
 
Ven
@Shoe (seriously, though. 12am is midnight, 12pm is noon.)
 
12:13 PM
oh yeah, I keep forgetting
 
nwp
So I made a graph with qwt and it looks like this. Then I though I'd use their fancy spline curve fitting to smooth the data and got this. I'm half tempted to just go with it.
 
...that second one looks wrong :P
 
@nwp otoh you have evidence of time-travel. or even more interesting forms of travel, depending on what that x-axis is!
 
12:34 PM
Regardless of everything you have to cast to uint8_t or unsigned char before converting to int because otherwise you may get unwanted sign extension depending on your platform! — sehe 1 min ago
such a pet peeve
 
nwp
"have to" and "may get" don't fit together there
 
Ven
How long is stuff stored on coliru?
 
6 cm
 
@nwp Actually, they do.
 
@Ven Until the death of the sun. Or when you skip 3 successive donation periods
 
nwp
12:37 PM
I you don't get unwanted sign extensions on your platform you don't have to cast, no?
 
Ven
@sehe Only my girlfriend skips her period, is that a bad sign?
 
@nwp If you don't care about portability (hint: you should)
 
Ven
Will she get hers erased?
 
@Ven At least that won't lose your coliru data
 
Ven
nice
 
nwp
12:38 PM
also I thought sign extension is specified by the standard and not platform dependent
 
@nwp It is, but whether plainchar is signed or unsigned is not specified.
 
@LucDanton sigh
 
Ven
@JerryCoffin it's actually a 3rd "incompatible" type, right?
 
@VermillionAzure we've had reports saying otherwise
 
Ven
@sehe :D
lay low
 
12:43 PM
speaking of wolves, dingos I met earlier this week were surprisingly docile
 
Or they displayed a sense of taste associated with an abundance of food
 
@Ven char is a separate type that's equivalent to either signed char or unsigned char, but it's not specified which it's equivalent to (and many compilers let you choose).
 
And it's a separate type
 
I am now an engineer, "yeeey"
8
 
12:46 PM
That's just a bastard race with long ears, right
@ScarletAmaranth cougratz eyspose
 
thank you, what a big milestone in my life (yeahhh right :- \ )
 
You made it. It shows grit and determination.
And self-loath
 
^ this :D
 
Ven
@JerryCoffin ah, so it is. thanks.
 
So I take it you scheduled all these post-mortem evalutations with profs and teaching assistants?
 
Ven
12:48 PM
@ScarletAmaranth OOOOOH! Means it went well? :D
 
@ScarletAmaranth Don't belittle it (or yourself). It's a real accomplishment.
 
@Ven yeah it went surprisingly well, but it doesn't feel as though I've "achieved" something, my pet projects bring me more joy than this
 
Ven
@ScarletAmaranth welcome to adulthood!
 
@ScarletAmaranth You obviously haven't been challenged enough. Clearly, you need to start working on a PhD.
:-)
 
-2
A: How can we support languages other than English in Stack Overflow's chat... And should we?

TelkittyThere is already a Chinese chat on Stackoverflow? It's just not very active.

 
12:50 PM
I really wish this felt more satisfactory; for some reason it's just... checked off the list of things I kinda "have to" do in near future
 
this is not an answer??
 
Nope. Dual question marks indicate a question!!
 
Ven
@Telkitty do you chat there often?
 
I chatted there once or twice that I can remember of
 
@sehe Dual question marks indicate a trigraph.
 
12:51 PM
digraph, surely
ESYNTAX or ENODATA
 
@sehe Nope. A trigraph is always two question marks followed by a third character that specifies which trigraph you're creating. Digraphs don't have a prefix like that.
 
@sehe Isn't string defined as basic_string<char>? So it will be signed? — Jonathan Mee 3 mins ago
gosh
@JerryCoffin So. It's a trigraph leader. Like I said: ESYNTAX or ENODATA
 
Ven
@fredoverflow my colleague thinks your "const-at-a-time" idea is the worst thing ever, btw :P
 
@sehe No error here at all. I said it indicates a trigraph, not that it is a trigraph.
 
:)
Ok.
 
user1804599
12:57 PM
Hello, world!
 
Ven
hi @rightfold
long time no lounged
 
nwp
@rightfold your grammar comma usage sucks
 
user1804599
?????
 
Ven
here we go
rightfold.
 
user1804599
@nwp What? It's correct.
 
user1804599
12:59 PM
You put a comma before the thing you're talking to.
 
nwp
There is not supposed to be a comma between Hello and world? Maybe you do if you are actually talking to the world and not just saying it.
If you do actually talk to the world. does it occasionally answer?
 
user1804599
You say hello to the world
 
Ven
are you seriously arguing about this
 
user1804599
What other interpretation would there be?
 
Ven
This is lounge-level retardation, seriously.
 
user1804599
1:01 PM
Ask on English Language & Usage if you're stubborn.
 
nwp
If I'd say "Hello zoidberg" I wouldn't put a comma there
 
@nwp safe to assume he does
 
user1804599
Then you're not good at English.
 
user1804599
Because there has to be a comma there.
 
@nwp Fun fact: the original Hello World had "hello, world" (with a comma)
 
1:02 PM
@Ven What other interpretation is there?
It's gamedev level retardation that we've grown accustomed to omitting it.
 
Ven
@sehe that the lounge is retarded
 
nwp
Maybe my grammar just sucks.
 
@Ven pedantry intensifies
 
The same way we're now all numb to seeing people writing "a code" ... :(
@Borgleader Only one person is trying vehemently
 
Ven
@Borgleader :P
 
1:04 PM
Anyhoops. How's life, Ven
 
user1804599
Fluorine is nasty stuff.
 
Don't know what it is
I think all I've heard is fluoride
 
user1804599
Fluorine is the element with symbol F.
 
user1804599
It reacts with all other elements except helium and neon.
 
user1804599
So good luck storing it.
 
nwp
1:09 PM
use a suspension chamber, duh
(inb4 that actually means something)
 
@rightfold My memory is worse than I already knew
 
user1804599
lol
 
nwp
@sehe mine is better than I remember
 
@rightfold Sounds like audio processing // wouldn't be surprised if it had a catch like the 4chan "drinking bleach" prank
@nwp low bar
 
nwp
1:14 PM
@sehe I thought this was the lounge
 
See. Your memory is failing really badly
 
user1804599
I was really good at chemistry in high school.
 
user1804599
It's super interesting.
 
nwp
and then crystal meth happened?
I'm sorry, I'll stop now for a while
 
Oh God!
I forgot Critical Role is off air for two weeks.
:(
 
user1804599
1:20 PM
 
user1804599
This forms on your teeth when you brush them.
 
I was so hyped on seeing the yesterday's episode but there is none, obviously. :(
@rightfold Amethyst?
 
user1804599
No, fluorapatite.
 
user1804599
> It is also present in human teeth that have been exposed to fluoride ions, for example, through water fluoridation or by using fluoride toothpaste. The presence of fluorapatite helps prevent decay or dental caries.
 
fluorapathy
 
1:32 PM
Anyone willing and able to test this github.com/rmartinho/nonius/pull/49 on some recent Visual Studio? @ThePhD :3?
 
@R.MartinhoFernandes Let me try.
 
@R.MartinhoFernandes If I was home I'd test it for sure (I have 2015 Update 2 IIRC)
 
@R.MartinhoFernandes How do I build it?
 
Some guy shared a novel sorting algorithm on SO. Too bad it runs in O(n^2.585).
 
lol
 
1:47 PM
@wilx Open VS's command prompt, run python tools/bootstrap.py, then ninja header examples test, and the executables in the bin folder. I think maybe @ThePhD has his own VS project files to use the IDE, but I don't.
 
@Morwenn Why 2.585?
 
@Griwes It's a recursive algorithm. The answerer made some guesses then derived a recurrence relationship and proved the running time.
 
user1804599
Use nukes as a source of energy.
 
> O(6^log2(n)) = O(n^log2(6)) ≈ O(n^2.585)
lol
log2(6)
 
Already been proposed to trigger energy-producing fusion reactions.
 
1:52 PM
I need to add GCC 6.1 to my build server at some point.
And Boost 1.61.
I think I'm going to adopt a policy of supporting the latest 3 major versions of GCC, latest 3 minor versions of clang, and latest 3 minor versions of Boost.
 
Ven
Lol @Dmiti: "I don't need the full power of JSON, so I'll use YAML"
 
user1804599
lol
 
Maybe the latest 3 major versions of VC++ as well.
 
good luck with that
 
 
1:56 PM
@Feeds damn
 
Is that Cicada trolling again?
 
@milleniumbug Nonius works with VS2013.
 
@R.MartinhoFernandes I tries to execute g++
 
@wilx Oh. Sorry.
@wilx Pass --toolchain=msvc to bootstrap
Might need --boost-dir=path/to/boost as well if VC++ doesn't find it in the default search dirs.
 
Ven
wasn't
 
2:03 PM
@R.MartinhoFernandes There is only --ms, it seems and it is utterly broken.
 
@wilx Oh, damn, it's been a whiiiiile since I built this :#
 
@Morwenn Isnt he banned?
 
Ven
he is. that was in discord
 
2:09 PM
Plus I still get /IC:\Users\haiva01\Downloads\boost_1_59_0\include in the path. It should not append the include there.
Sorry, I do not have time to finish this. I gotta go and pick up my daughter.
 
It's fine.
I do have a Windows machine now.
Maybe I'll put VC++ on it.
 
I have just written some grimy, unmaintainable shite
 
nwp
aka [haskell/c++/...]. Does it at least work?
 
Ven
aka code
 
it probably doesn't work
but I'm going to make one of my colleagues fix it on Tuesday
 
Ven
2:21 PM
sounds like a plan
 
@Puppy Definitely the route to popularity.
 
heh
it's being rushed in for a demo ;p
 
nwp
I just noticed that it is really practical that my program in debug mode on my dev machine has roughly the same performance as the program in release mode on weaker machines that need to be supported
It just doesn't work that way when the graphics card is involved
Maybe there is a way to make a graphics card perform worse by some factor to mitigate that
 
> England’s teenagers have the worst levels of literacy coming in last place with more than 1 in 5 having a low level of literacy. The country doesn’t fare much better in numeracy, coming second to last with more than a quarter of 16-19 year olds lacking basic numeracy skills.
 
2:42 PM
> It has a critical path length of O(log n log log n) [...].
 
Ven
how do you do that
 
Not sure.
> We present a deterministic sorting algorithm, SPMS (Sample, Partition, and Merge Sort).
That's how. On a multi-core architecture.
 
Ell
@EtiennedeMartel does it break down to different towns?
 
@EtiennedeMartel Wow were pretty bad :(
 
> In most countries, but not in England, younger people have stronger basic skills than the generation of people approaching retirement
Basically the UK have been stagnating. It's no wonder they want to leave the EU.
 
2:48 PM
@EtiennedeMartel I find it interesting that the percentages for numeracy are much worse overall, but receive much less attention. Seems like it would have been worth mentioning that the US shows up roughly 10% worse than the next worst country with respect to numeracy (or ~33% worse, depending on how you compare things).
 
@JerryCoffin Well, the US have pretty shit math education, from what I've heard.
 
Ell
I wonder if the nationality of the students is noted. I'd read the paper but on the train
Well English I suppose is their nationality
What's the word I'm looking for.
 
@EtiennedeMartel Certainly doesn't seem to be producing very good results (on average), anyway.
@Ell Ethnicity?
 
@JerryCoffin That's why they're reworking the entire math curriculum (the whole "Common Core" thing). Not sure if it's good, but hey, I'm fairly sure they can't do any worse.
 
@EtiennedeMartel I do, however, think it's pretty easy to blame education for what are really problems with society in general though. When a 12 year-old child basically has to fend for herself because (for example) her mother is addicted to drugs, changing the school's curriculum isn't likely to help much (if at all). Unfortunately, nearly every time I've thought "well, it can't get any worse", they've proved me wrong.
 
3:00 PM
@Ven ...soooo you know what? std::sort(vec.begin(), vec.end(), pred) causes segfault, std::partial_sort(vec.begin(), vec.end(), vec.end(), pred) works like a charm. It's very frustrating
 
Ven
@NaCl lol :D
 
nwp
@NaCl fix your move assignment
 
user3790646
Does anyone has a hint of what may possibly cause a crashing in a Boost.Asio application when there's a click on the console, and then, back to it, it crashes?
 
My move asssignment works like a charm
@nwp It' sthat std::sort accesses memory before vec.begin(), although the predicate is fine
It's simple integer0 < integer1
 
nwp
@AndreyErick IME clicking in the console pauses the program for a bit, maybe some buffer ran full or you got a timeout which throws/asserts
@NaCl that seems very broken, which STL-implementation does that? Did you try stable_sort?
 
3:06 PM
@nwp It's a custom container I wrote. So yeah...
@nwp std::stable_sort does work as well
Moreover, I did not encounter any other algorithm from <algorithm> that doesn't work, besides std::sort
 
@NaCl That almost sounds like the iterators for the container are very broken.
(Or their category, or their distance, or their advance, or...)
 
I wonder why they work with other algorithms then, but I'll have a look again, thanks @Griwes
 
Even with extensive benchmarks, libstdc++'s std::sort never caused problems with either Valgrind, ubsan or memsan IME.
 
@NaCl Well, sort is... special.
Even lower_bound and friends is far less special.
#include <future> // lol
In a test file for my future. I wonder why I needed that.
lol is probably not the best comment in this case.
 
Maybe it's as relevant as any other comment would have been in your specific case.
 
nwp
3:17 PM
@Griwes in a language where broken promises are standard //lol might be the only sensible thing to do
 
@nwp Well, I remember why the comment is there - it's laughing at the fact that I'm including the global future header.
But why did I need that...
 
nwp
@Griwes comic relief
 
Also, for some reason one of my .thens appears to be executing synchronously. W. T. F.
(Or at the very least that's how it looks.)
 
@Ven Yeah, I already backed it out yesterday :)
@Columbo Don't worry, it was just another "Here is how C++ came about and why I like it" Bjarne talk.
@Ven Yeah, I lol'd hard at that part :)
 
3:33 PM
Ah damn, I'm locking too much stuff :x
 
Beware, I've heard rumours that locks can lead to death ;-)
 
Yeah, in this case they pretty much do.
 
3:46 PM
what is exactly going on in: if(!ptr)
I always thought that operator! was implemented for pointer types
but clang tidy disagrees
 
ptr is T*?
 
it says that if(!ptr) is if(!static_cast<bool>(ptr))
 
afaik thats equivalent to if(ptr == nullptr) not sure why its complaining
 
because it is an implicit conversion from pointer to bool
 
lolwut
 
3:47 PM
it recommends using if(ptr == nullptr)
 
that's... bad
 
which is retarded IMO
 
I honestly dont know why thats a warning, I do if(!ptr) / if(ptr) all the time =/
 
its a lint
against implicit conversions to bool
its sometimes useful with integers, but even there it is questionable, for !ptr it just makes no sense.
 
@fredoverflow Yeah, that's what my friends told me :D
They said he complained about the committee
 
3:55 PM
lol
Well, the committee wasn't very nice to him recently.
For good reasons though.
In other news I'll probably go to Oulu after all, ignoring whether I'll have to take unpaid leave later this year or not. This feels like a good time to visit the committee :D
Also I'd have a slight chance of getting yelled at by Bjarne, which is always good.
Fuck, I think I'll need a second lock on my shared future state. :/
that's never a good sign right
 
4:12 PM
@Griwes Having two (or more) locks isn't necessarily a problem.
 
@JerryCoffin yeah, any problem can only happen when you actually lock it :)
 
@StackedCrooked IRTA "Cuba has hot dog baths now" and i was like what
 
Must be an early sign of democracy taking over.
Because dogs are nice.
 
4:27 PM
@Borgleader Trainwreck of the day: meta.stackoverflow.com/questions/323937/…
 
@Mysticial Oh my!
 
4:43 PM
@Mysticial Bwahahahahaha
 
4:55 PM
-18
Q: Produce the given Formula

Malik Ali I have Really short time to do this Assignment can anybody help me

 
@Mysticial Holy shit, starring this
 
5:15 PM
Oh, a Monad tutorial. It's been a long time since I've seen one!
 
@fredoverflow Speaking of which, its been a while since weve seen videos from you :P
 
@Borgleader That one just barely makes my all-time list by votes.
Go to my favorites, sort by votes -> last page.
 
@Mysticial The worst part is his 4 questions are homework dumps
 
> The worst best part is his 4 questions are homework dumps
 
@Borgleader When I'm not procrastinating, I am very busy shrinking my TODO list for skorbut.
 
5:31 PM
-3
Q: I'm 24 and I want to be a good system programmer, Is it too late for me?

Brian Fiszmantruth is, I ve been learning A LOT since I was 19, since I started my career. I was "good" with computers before, but I saw them as playthings, as consoles, not as a means to an end or as a tool for a job. I started programming at 19 with Java, only for Desktop, and I kinda liked it, a lot, but f...

 
5:44 PM
int     x = 42;
int   * p = &x;
int * * q = &p;
// Which of the following lines is legal?
const int *       * a = q;
      int * const * b = q;
const int * const * c = q;
 
In C++, the last one. In C, AFAIR none
 
My compiler only accepts the second one...
 
slither.io is pretty addictive
 
Isn't const-correctness fun? :)
 
oh wait declaration order hits again
fuck C declaration syntax
 
5:47 PM
@fredoverflow Const correctness is easy. Double (or more) indirection gets the blame here (IMO, anyway).
 
ptr<ptr<const int>>       a = q;
ptr<const ptr<int>>       b = q;
ptr<const ptr<const int>> c = q;
 
@Mysticial rofl, programming isnt hogwarts theres no age limit to start :P
 
@ScarletAmaranth Wait... an engineer? Eww
:P
 
@milleniumbug So which lines should be accepted?
 
user1804599
@StackedCrooked is that agar.io but with worms?
 
5:54 PM
Yes, but you kind kill all worms, regardless of size.
If you crash into a worm, you're dead.
...although people have argued whether it's worms or snakes :)
 
@fredoverflow So apparently the second line is accepted both in C and in C++
 
So my compiler is right? yay
 
It's because I can't change the pointed-to contents, so variance doesn't matter
 
user1804599
@fredoverflow or bacteria!
 
5:59 PM
The third line isn't accepted in C because C is "special", like "special olympics"
 
@rightfold Does the length have a unit?
 
@fredoverflow no
 
user1804599
I want to make a video game.
 
@StackedCrooked there is already a 'nice' copycat: worm.is
 
So, on 9.2.2016 I have reported an issue on content.healthaffairs.org/content/35/2/199.abstract, because their Microdata is always missing the last author of given paper.
7 emails back and forth, the dude assigned to this, instead of fixing their shit, is asking me "Can you tell me the purpose of your tool and why you are building a citation database entry?"
The level of incompetence is baffling.
 
6:12 PM
evening
 
@Puppy Welcome, higher being.
 
6:28 PM
> Essentially you can just list sacres, connecting them with de, forever. Crisse de câlisse de sacrament de tabarnak d'osti de ciboire!, you might say after the Canadiens fail to make the NHL playoffs. The closest English translation would be something like "Fucking fuck shit motherfucker cockface asshole!" Or thereabouts.
 
Being mean with creative words is a national sport.
 
@Borgleader People are still writing about that like it's something special.
 
@EtiennedeMartel It is something special. In French most of those would be « putain » and nothing to do with church.
 
People swear with things that disgusts them. The Dutch use diseases, the French use sex, and we use the Catholic church.
 
I'd say people swear with things that disgusted the previous generation.
 
6:37 PM
Good point.
 
Otherwise we'd know by heart the names of our current presidents .____.
 
I recall reading about how Quebec "sacres" started appearing in the 1960s, when people started getting fed up with the church.
 
Ven
6:55 PM
Félix ❤️
 
Hey, I found a new sorting algorithm that runs in O(n sqrt n) and which can be implemented in 4~5 lines.
It looks awfully close to bubble sort.
 

« first day (2050 days earlier)      last day (2900 days later) »