« first day (2041 days earlier)      last day (2909 days later) » 

12:18 AM
wtf flags
 
user406009
@BartekBanachewicz I wouldn't even bother with opt-out.
 
user406009
Keep things simple and automatic as much as possible: gist.github.com/Lalaland/3cf614f15f24c9b4dd0d421258c32af2
 
user406009
That's my old gist.
 
12:35 AM
Ooh... 20 flags.
Looks like someone went full retard.
 
yeah, wasnt in here though... for once
 
mods are never here when you need them
 
you're such a mod, Borgleader
 
12:51 AM
 
d'aww
 
user406009
What do people even flag?
 
user406009
There's not much in here.
 
maybe one day we'll discover it
 
user406009
That would require answering questions on SO though.
 
user406009
1:01 AM
THE HORROR
 
yeah I'm not ready for that level of commitment.
 
1:17 AM
I am getting passive reps, but it's too slow
at this rate, maybe I will reach 10k in year 2065
 
my passive rep is still around 10-15/month
 
1:34 AM
The error message does not match the shown code. The error message refers to "extern vector<string> month_tbl". The header file declares "const vector<string> month_tbl". Additionally, even if this were to compile, the subsequent link will fail due to duplicate symbols declares in multiple translation units, despite your best efforts to carpetbomb the header files with non-standard "pragmas". You are well advised to stop using compiler-specific, non-standard silliness like "#pragma once", and instead learn how scoping should work correctly in standard C++; then write portable code, instead. — Sam Varshavchik 4 mins ago
to flag for being an ass or not to flag
also, #pragma once is supported in all compilers worth using
 
@Borgleader Counter-troll.
 
im bad at (counter-)trolling
 
Oh wow. Look as his recent comments.
You should put him against LRIO.
 
Oh gawd, I'm not gonna answer him then
 
I'm not sure if LRIO would hold up. You might need to be H2CO3.
I'm terrible.
 
2:01 AM
but ... I am using adblock for that
and I am not sure I need offline playback because once I can play them over and over again without having to load them first, I tend to lose the interest of seeing/listening to the video
 
 
1 hour later…
3:11 AM
reminds myself to not wast time commenting on any articals at this local newspaper website because it might get rejected again
I bought a new Holden Captiva 2-3 years back. Every 9 months I put my car for a $375 capped service. Yet every time, the people at service station inevitably call me in the afternoon asking me to do either wheel balance or wheel realignment at extra cost. After did both during the past few services, I refused to do it again this time. They commented on the service report '4 tyres are unsafe, wheel alignment needed'. Then they put the next service to be within 6 months time instead of 9.
I mean, do Holden make cars that require wheel balance and realignment every 1-2 years? If so why is it n
^ got rejected
for a mechanics rip off article
reminds myself to read from various news websites because local paper only allows biases comments posted on their website
mean while I am reading/watching news from at least 3 different sources
so I don't get mislead by local newspapers by their biased opinions
Currently read/watch news at Australian news sites, US new site and Chinese (communist) news sites. I am amazed what's covered by various sites (in focus) and the wording they use to manipulate you ...
Telkitty - the biggest whinger :p
 
4:19 AM
So much text..
@Telkitty you can speak chinese. , huh?
 
4:39 AM
yes
 
Feel Envy. lol
 
 
2 hours later…
6:41 AM
@Lalaland but you need to be able to prevent propagation somehow
the headline for that (published yesterday) was "Firefox tops Microsoft browser market share for first time". But that's not what's important. What's important is that both FF and Edge are losing 1pp/month to chrome
firefox is apparently losing less
Also lololololo Symantec
> It’s been reported that Firefox has been losing its share over the last three months, however, usage of Microsoft’s Edge and IE browsers appear to be declining faster.
oh there it is
 
chrome is da best lol
 
user1804599
 
@ProblemSlover given how bad it is, it just says how bad browsers are overall
 
Interesting PC Case
http://www.amazon.com/dp/B015U7LXO4/
 
@ProblemSlover imagine all the dust
 
6:54 AM
lol
 
the best PC case is a rack case hidden deep in the closet
Showing your powerful PC to everyone is like showing your dick to everyone because you think it's pretty long. Also with LEDs
 
I've beeing thinking to upgrade my 3rd gen cpu to 6th . but it looks like i have to buy new pc case motherboard and ram. I think I'm better off to wait year more.
 
you can always "wait a year more" I suppose
I dunno, I was thinking about not upgrading my desktop
and just getting a Razer with the GPU dock
since the GPU is outside maybe the thing woulnd't overheat that much
 
Razer? mini pc? or what. just unable to find this in google
 
7:07 AM
@BartekBanachewicz the gaming rig. hmm
 
7:18 AM
@BartekBanachewicz I'd probably buy the Razer backpack :D
http://www.razerzone.com/store/razer-tactical-pro-backpack
 
mongodb docs aren't sorted
aren't those guys like database experts
 
nwp
@BartekBanachewicz Any program by Qt such as Qt creator and their installers also have terrible UI, I never understand that
 
@nwp Qt creator has decent ui
at least it's fast
 
we should just make Thors against Ultralisks
 
I said that yesterday
 
7:25 AM
they are the only unit in the game for us that deals so much fucking damage, even Ultralisk armour upgrade armours for less
 
what do you mean "armours for less"?
 
I mean that if they buy Ultra armour upgrade, and we have +3 vehicle attack, Thor does more damage than base
instead of less
 
nwp
@BartekBanachewicz if you look at an array in the debugger you need to click 3 times in random places to make the tab wide enough to see the values and then they are sorted, meaning you get element 1, 10, 100, 101, 102, ... 109, 11, 110, 111, ...
I consider that a huge fail
 
in fact
I wonder if we should just flat out replace tanks in our lineup against Zerg with Thors in most cases
the patch dropping next week buffs them a lot against heavy air units like broodlord and tempest too
anyway I gtg to work
 
@nwp yeah the debugger is meh compared to vs
@Puppy cool
@Puppy lol I've been here for an hour already.
 
Ven
8:07 AM
yo
@Puppy unsieged tanks :P
really, you need ghosts :D
 
we are making ghosts
just not every time
more often against toss I suppose
 
Ven
you need ghosts against ultras
 
you don't need them
but they are generally useful
 
Ven
oh sure, you can counter ultras with just marines, amirite
 
@Mysticial There's gonna be a second season this summer.
 
8:10 AM
@Ven no, marines are good only against unupgraded ultras
but you can use tanks and liberators and banshees
 
Ven
ITT bartek doesn't notice "amirite" as a flag for sarcasm
 
Xeo
@StackedCrooked Y'know what else is getting a second season finally? Arslan \o/
 
Cool!
 
lol, so I wanted to write a Spirit answer for this question, but since I don't know how to use spirit, I've decided to look at the examples. #lolnope. cc @sehe
 
8:17 AM
:D Weakling
 
line :: Parser (String, [Int])]
line = do
   str <- some letter
   option " "
   nums <- many integer `sepBy` " "
   eol
   return $ (str, nums)

file = many line
not 100% sure that it's correct but it'd look more or less like that
 
Ven
why some?
 
@Ven welp, many1?
anyway, compare that to the proposed C++ solution
> Read the whole line, look for the first digit and split the line into two substrings just before the first digit. The first substring is the name and the second substring contains the numbers.
 
Ven
many1 seems good
 
hmm the names could have spaces in them
so it should be changed to "not number" but still that's easy
 
Ven
8:32 AM
yea
even I know how to do it
 
morning
 
@Ven you could teach cinch how to do it in an hour
how many hours would it take to teach spirit to cinch
 
Ven
no im too bad for that
 
@BartekBanachewicz show us :)
 
@sehe bring me a cinch
 
8:35 AM
@VermillionAzure you're needed
 
I'm totes up for that. Sounds like a fun challenge
 
The new Worldbuilding.SE design is awesome :o
 
@Morwenn yeah, it's pretty nice
a lot of pages got new designs lately
 
0
A: C++ Reading Multiple Variables from Text Line

seheHere's that Spirit approach that people have been clamouring for suggested: namespace parser { using namespace x3; auto name = raw [ +(!int_ >> lexeme[+graph]) ]; auto record = rule<struct _, Record> {} = (name >> *int_); auto table = skip(blank) [record % eol]; } The trick ...

@BartekBanachewicz This was quicker
 
8:45 AM
Love this prank
 
@sehe what's the struct _ in rule?
 
Ven
just a tag
 
@sehe rep whoring helping out with homework again?
 
also does it know that it should fill data basing on Record constructor?
or because of that fusion adapter
 
@BartekBanachewicz what @Ven said. It don't need any tags there :)
@Telkitty Helping Cinch. You're second best.
 
8:52 AM
Also TIL there's a company called CloudThing.io /cc @CatPlusPlus
 
@BartekBanachewicz the latter
 
@sehe as long as I am not second pest
 
actually...
 
cat is not even lurking anymore ...
 
8:55 AM
@sehe so I suppose it would automagicaly work for tuple<string, v<int>>?
 
@BartekBanachewicz yes (just include adapted/std_tuple.hpp or adapted.hpp)
 
@Puppy, @rightfold, why do my data cells in my table produced by React have 2 pixel height while the table's heading is normal height?
 
@BartekBanachewicz It's a declaration of a struct.
 
@Griwes pretty weird name
 
@BartekBanachewicz The name is not relevant in that case.
 
9:02 AM
#define tag struct
 
Actually, the name is never actually relevant in the Spirit X3 tags, only the fact that it's different across rules is important.
 
well that's what the tags are for
 
Did I say that I love the way X3 works already? It's so beautifully simple, and so deeply confusing for some people.
 
@Griwes the parser is simple, it's the interaction with the rest of the language that makes it confusing
IOW it's C++'s fault again
 
Not really though - I mean the actual internals of it.
(The explanation for why it actually works.)
 
9:05 AM
I don't know about internals
I know that in general the density of hacks and language features abuse in Spirit is way over even regular boost
 
@rightfold, @Puppy: Never mind, I missed this.props. prefix in the <td>{....
 
@BartekBanachewicz It does expression templates that use the tag types to avoid having a virtual call when invoking a rule - it's pretty cool.
 
too bad the overall usability is so low
 
nwp
@BartekBanachewicz how did you get so jaded by C++? Don't say "by using it".
 
@nwp By using it.
 
9:10 AM
@nwp He is unstable. There were times when Haskell was shit. :)
 
Extensively, for a good few years, both as a hobby language and professionally
@wilx yes, changing opinions basing on experience is "unstable"
I don't think I ever called Haskell "shit" either. I did say that about its records
And I still think they are by far one of the worst parts of the language.
 
@BartekBanachewicz lol, what is the difference? :)
 
@wilx The same as between saying that you have an asshole and are an asshole.
Unqualified criticism is mostly reserved for things I consider ideologically bad
 
Jan 9 '15 at 13:45, by Bartek Banachewicz
so the real problem here is that Haskell sucks
4
 
> All of you people need to stop saying this is fake...Its real and I can prove it... 1. its on the internet, and EVERYTHING on the internet is real 2. I was on the roller coaster and I was killed when it derailed.
YT Comments never disappoint
 
9:15 AM
Jan 6 at 13:00, by Bartek Banachewicz
@orlp haskell is shit
6
 
@BartekBanachewicz Ok, you did not say "shit".
 
he did
 
Jan 6 at 12:59, by Bartek Banachewicz
I'm opposite to everyone
 
@BartekBanachewicz Very mature.
 
right. If you want to go that low then have it your way
 
9:16 AM
@AndyProwl qed
 
@wilx is quoting that mature? seriously?
@wilx here.
 
Seriously, if you need it rephrased for your simpleton minds
 
lol
 
When I said "I don't think I ever called Haskell "shit"" I meant "I don't think I ever cast an unqualified "shit" label on it"
 
9:19 AM
you misspelled "singleton"
 
shinglepon
 
but if your life is so miserable you need to dig through the turd of chat history looking for that gold nugget so be it
 
lol
 
Bartek did you eat C++ for breakfast again
8
 
just stay away from me with your terrible misinterpretations of what I'm saying here
TIA
@AndyProwl No, I interacted with people.
 
9:21 AM
ah, that explains
 
people are terrible
 
nwp
@BartekBanachewicz does that count as an unqualified shit label?
 
@nwp GO AWAY YOU DISGUSTING MISINTERPRETER
 
in this case you can quote me on that
I absolutely hate people
 
user1804599
9:26 AM
@wilx use a type checker
 
@rightfold How? What would that be?
 
Flow
or TypeScript
 
@nwp asking the important questions
@BartekBanachewicz it's understandable
 
nwp
meh, not all people are terrible all the time
 
unless you're Bartek
 
9:50 AM
and it's not free software thankfully
 
> Horizon is built on RethinkDB, a massively scalable, open-source database capable of millions of realtime updates per second.
So this is what they mean by "realtime".
Well done.
 
@sehe WHY DID YOU CALL ME
I AM HEAR
 
I AM SEE
 
@VermillionAzure there's a challange (typo deliberate)
 
WHO'S TASTE?
 
9:53 AM
@R.MartinhoFernandes w/e
 
Oh right I forgot to tell lounge
my internship bailed out on me
 
I'M TOUCHed
 
suck mate
 
they thought they had the funding. they thought wrong.
so now I'm working for dad and staying with my past internship
sigh.
 
@sehe nah, I just saw something relevant to quicksort in /r/programming :)
 
9:54 AM
it's k though i got lots of time to study
 
@orlp :D
 
@VermillionAzure so are you up for the challange then
 
@BartekBanachewicz what challenge?
I'm technically working
 
1 hour ago, by Bartek Banachewicz
@Ven you could teach cinch how to do it in an hour
 
@AndyProwl You want to talk? Maybe we can just make you feel safe first.
 
9:55 AM
@Ven Do what?
 
@VermillionAzure use Parsec
 
Haskell?
 
yes, Parsec is a Haskell library
 
^ Busy with this
 
@sehe You know this level of encryption is lost on me :(
 
9:57 AM
@AndyProwl it was a victim-of-a-rape joke
 
ooh, classy
thanks
 
so can anyone tell me why std::rand isn't deprecated
 
I thought it was
 
> rand() is not recommended for serious random-number generation needs, like cryptography. It is recommended to use C++11's random number generation facilities to replace rand(). (since C++11)
lol
 
@AndyProwl cppreference disagrees ^
 
10:01 AM
why the hell is that thing not deprecated
 
that's what I'm asking :D
 
it should have been deprecated with 11 and removed with 14 :/
 
this is one of those rare cases when I fully agree with @Griwes
 
So there's this paper, revised here...
> In their final Chicago deliberations re [N3775] vis-à-vis National Body comment US21, LEWG and LWG achieved joint consensus (1) to deprecate std::random_shuffle for C++14 as proposed, and (2) to strengthen the existing Note in [c.math]/5 in order to further encourage rand() users to migrate to the <random> component of the C++11 standard library. This paper provides wording to implement these decisions.
 
What does rand() use anyways?
 
10:03 AM
Ugh the committee is so useless.
3
 
> further encourage
rotfl
it's hilarious
this just in C++17 will have that section of the standard in bold, and rand will actually have a smaller font
 
are you mapping a ham?
 
@AndyProwl I'm mapping a property in Hawaii
 
Sep 3 '14 at 20:03, by Bartek Banachewicz
@Puppy shut up or I'll make your font smaller
(reference)
 
Also, I like POSIX
Why do people not like it
 
10:06 AM
inb4 people are terrible
 
nwp
@VermillionAzure because posix stuff is bad and not well supported?
 
Ven
@BartekBanachewicz that'll teach him
 
@nwp I thought it's an official standard and fairly well recognized at least because of Unix/Linux, etc.
 
@VermillionAzure It could've been better
and it changes really slowly if at all
 
Also at C++Now we invented a way to throw exceptions from the GPU to the CPU :D
 
10:08 AM
It's quite comprehensive, though
 
It's still a bad thing that's gonna be stuck for a while
like C
 
So I guess it's an "at least it's there" argument.
 
nwp
@VermillionAzure it is an official standard but behavior of for example the mutexes vary a lot, I had especially trouble with the stupid stupid part where only the thread that locks a mutex can unlock it which isn't enforced in linux but it is in windows
also it failed at its core goal which is to standardize operating systems
 
There was a moment when we had an idea of having a single person submit, one after another, two papers: "Exceptions Should Go" and "Exceptions Should Stay", one for allowing -fno-exceptions to be standard-compliant and the other to basically fix par_vec parallelism policy...
 
@nwp I see...
 
10:10 AM
@nwp That's not stupid stupid. I'd argue it's the opposite.
 
I wonder if/when we gonna see a next formal Haskell standard
Haskell 2016 with the most common extensions would do much good
maybe other compilers would actually implement them
 
Also, ...
> Attempting to unlock the mutex if it was not locked by the calling thread results in undefined behaviour.
 
nwp
I wanted to make a thing where 1 thread locks a mutex and another unlocks it to implement a sleep-wakeup mechanism. It can be done without but the overhead in code is quite significant.
@R.MartinhoFernandes is that from posix or std::mutex?
 
@nwp POSIX.
I call PICNIC.
 
Probably I Could Not Irigator Choke
 
10:14 AM
@BartekBanachewicz Problem In Chair, Not In Computer.
 
I like PEBKAC more
btw @Lalaland look
 
> The expression `m.unlock()` shall be well-formed and have the following semantics:
*Requires:* The calling thread shall own the mutex.
And this is from std::mutex.
Both make what you want to do undefined behaviour (that's what violating a Requires clause entails). Caveat emptor.
 
nwp
I never understood that. It takes extra effort to enforce that and limits the use. Why did they do it? Does it make implementations of mutexes better somehow?
 
It's easier to reason about code when the locking thread owns the lock.
 
Ven
@BartekBanachewicz hah, "other compilers" ;)
 
10:21 AM
@Ven UHC has exists!
 
Ven
true, true :P
 
 
10:39 AM
<_>
Compiling academic code makes my skin crawl.
 
> academic code
is that an euphemism for "bad"?
 
Yes.
They love using old, crufty GNU library
Like getopt.h
And things like M_PI
I'm trying to find a getopt replacement that isn't GPL or LGPL.
It's not going well.
 
@ThePhD lololol
 
@ThePhD cc @Ell
 
@nwp That it takes extra effort to enforce it is the reason the behaviour is simply undefined and nothing is actually required to be enforced.
 
10:47 AM
also uh I am considering unplugging my second screen at work because it's a non-IPS one
 
The reason it is not defined to behave in any particular way is because it might take extra effort to implement that, and it has considerably little benefit (since it only enables poor code).
 
it's terrible
maybe it wouldn't be that bad on its own, but side-by-side...
 
> This project contains code from getopt.h and getopt.c from the MinGW repositories. The license terms from MinGW apply when using these files.
WHawduadhfhghh.
 
nwp
@R.MartinhoFernandes I meant why is it undefined in the first place? In my opinion it shouldn't be.
 
10:49 AM
> Provided under the BSD license, to allow non-GPL projects to use getopt-style command-line parsing.
5
PRAISE XENU
 
nwp
and code that uses this sleep-wakeup mechanism isn't necessarily poor
 
threads are literally goto
 
Ven
shut up Bartek
stop starbaiting
 
8 mins ago, by R. Martinho Fernandes
The reason it is not defined to behave in any particular way is because it might take extra effort to implement that, and it has considerably little benefit (since it only enables poor code).
@nwp Sounds like you should be using something else.
(Semaphores? Condition variables?)
 
so, comonads
 
10:57 AM
Morning
 
user1804599
@Shoe Ugh racism
 
OMG I THINK IT CLICKED
a -> Reader r b can be turned into CoReader r a -> b
 

« first day (2041 days earlier)      last day (2909 days later) »