« first day (1678 days earlier)      last day (3285 days later) » 

4:00 PM
@R.MartinhoFernandes Cork in Ireland you mean?
 
buttes
 
E2, and then some trans-Asian highway IIRC
 
@R.MartinhoFernandes Why Cork? You have to catch ferries anyway
at that point it's from everywhere to everywhere
 
Read about it while researching my world trip
 
4:03 PM
Anyway just trans-asian road trip would be awesome
 
> forgot to miss
?
 
but I need moar ballz for that
 
I'll let you know.
Unless I forget
 
I'm thinking about driving to eastern europe this summer.
 
@sehe lol
@Mr.kbok let me know if you'll be driving through Czech Republic
 
user3010322
4:06 PM
@sehe Well, perhaps the author just didn't have enough room, but the point about "the distribution of lawyers is unequal among who gets represented where" doesn't address the fact that lawyers often need highly specialized and expensive training, at least in the USA. That training means that doing things like defending people who can't pay the lawyer for their services is going to quickly become a non-option as your own life pressures bear down on that person.
 
> forgot to miss
 
@AndyProwl Yes, that's probably on the way
 
user3010322
While I agree that the distribution of public services definitely isn't optimal or ideal, it doesn't help the actual people who invest their time in the system because -- unless they're paid by the court (and where does the court get its money from?) -- they don't get anything out of it but the feeling of justice. Which does not pay loans or bills.
 
> forgot to miss
 
user3010322
@AndyProwl I get it, I'm terrible at English. ;~;
 
4:08 PM
lol
 
How anyone manages to use Spark is beyond me
What a goddamn mess
 
user3010322
Spark ?
 
@ThePhD it's ok, I'm worse. I was just messing with you
 
You broke Andy
 
user1804599
4:09 PM
In computer science, a type system can be described as a syntactic framework which contains a set of rules that are used to assign a type property (int, boolean, char etc.) to various components of a computer program, such as variables or functions. A security type system works in a similar way, only with a main focus on the security of the computer program, through information flow control. Thus, the various components of the program are assigned security types, or labels. The aim of a such system is to ultimately be able to verify that a given program conforms to the type system rules and satisfies...
 
user1804599
Anybody ever done anything with this?
 
the first sims had great music
 
I just noticed that there are really few Countries in Europe whose capital is near the center of the territory
 
user3010322
@AlexM. Thank you for reminding me that I have that on my Harddrive!
 
Capitals change
 
4:12 PM
but war
war never changes
 
user1804599
@AndyProwl It's convenient to have it near the sea.
 
@rightfold Then Spain got it wrong
Poland too
 
user1804599
Spain is stupid.
 
@AndyProwl ...and sometimes it's at the extreme edge (probably the most glaring example being Russian, when the capital was in St. Petersburg).
 
user3010322
@JerryCoffin "Please come ransack our headquarters."
 
4:13 PM
@JerryCoffin Yeah, Finland and Norway too
also Slovakia and Austria but those are much smaller
 
@AlexM. or does it
 
@ThePhD They did try to discourage that with a few little things like Peter and Paul Fortress.
 
You can't be not near the sea in Italy, so they got it right.
 
@AndyProwl In that aspect, Poland is (slowly) getting better - it used to be in the South (Kraków) :)
 
@milleniumbug When did that change?
I thought it was Warsaw all the time
 
4:16 PM
@AndyProwl 1582, AFAIR
 
@AndyProwl I was thinking of the fact that St. Petersburg was not only at the extreme edge of the country, but that it was also 12 (or so) time zones away from the other edge...
 
> It was the capital of Poland from 1038 to 1569
 
so Gdansk's gonna be the capital by 2500 :P
 
user3010322
What would you guys call a std::chrono::nanoseconds that was backed by a double ?
 
Oh, close though
 
user3010322
4:18 PM
dnanoseconds?
 
@ThePhD I dunno, doublenano? :p
 
@JerryCoffin "yo dawg Russia's so fat"
 
doubleano
 
user3010322
@melak47 Shrug, might as well.
 
@ThePhD Why would that matter for the name of the type?
Just use something like nanoseconds<double>
 
user3010322
4:19 PM
nanoseconds is already a type.
 
user3010322
Sooo.
 
user3010322
Can't really go making a using alias out of it.
 
Also you can have std::chrono::duration<youtype, someothertype>
 
@ThePhD but only in std, right?
 
nsec<double>
 
user3010322
@melak47 Right, but it's still an overloaded meaning.
 
Why do you back nanoseconds with double
Wasn't the purpose of chrono loss-less ratio arithmetic
 
because he's got picosecond precision obviously :D
 
user3010322
Well, I'm using std::chrono for timing between loops.
 
user3010322
And all the calculations are floating point calculations.
 
user3010322
4:22 PM
Converting would be a hassle.
 
user3010322
So I wanted hot, fresh, ready-made doubles.
 
I need to shave
 
hungryyy
 
it's so hot and the skin underneath the beard always feels sweaty and sticky
 
@AlexM. Nah, it's almost no-shave november.
Get in the spirit man
 
user3010322
4:24 PM
I ended up going with nanoseconds_d
 
user3010322
Because... well. Why not.
 
it would be great if you could stop your facial hair from growing
and also the nails
 
@Jefffrey lol
 
it's so irritating to have to cut down my fingernails every week
 
Ell
I need to shave also
 
4:26 PM
lol
15
 
user562566
linode just shut my server down for non-payment. I offered them sexual favors, but they declined.
 
user562566
was wondering my app suddenly would sit there and hand on dns resolution
 
Shaving is for wußes
 
user3010322
@R.MartinhoFernandes Do you have that spanish gene for absolutely no facial hair?
 
Xeo
@ThePhD He has the gene for spotty facial hair.
Asymmetrical, even.
 
4:35 PM
Btw @sbi, I'll pass by the Bastei tomorrow.
 
user3010322
 
user3010322
That was surprisingly simple to make.
 
@ThePhD No lap times:)
 
4:50 PM
@ThePhD Maybe I'm just feeling tricky today, but I think I'd prefer one that was a little more automated. For example, you'd pass it some functionoid sort of thing that it would invoke when it was destroyed, so using it would look something like { stopwatch x(report_function); do_work(); } then at the end of the block, x's dtor would invoke report_function(elapsed_time);.
 
user3010322
@JerryCoffin I actually thought that that... but I wasn't sure if I wanted that to be stopwatch or scopewatch
 
user3010322
.... Wait. scopewatch is a really fucking good name.
 
user3010322
WRITING IT.
 
user3010322
@JerryCoffin std::function or something else?
 
user3010322
ATM the syntax scopewatch x(report_function); would require std::function, unless scopewatch was a function.
 
4:57 PM
So make it one
make_scopewatch
 
user3010322
Then you could use template deduction and hand back a scopewatch_t<TFunc>
 
user3010322
Ewww, make_*
 
user3010322
But I guess it can't be helped. :(
 
It's a convention
and it works
it's clear
 
user3010322
q_q
 
user3010322
4:58 PM
Fine.
 
@milleniumbug it is
I ended up at "make" when I tried to find names for stuff
it makes sense and it's nice
intuitive enough to get to it without reading about it prior
 
@AndyProwl I'm unable to stop laughing
My sides hurt so badly
 
user1804599
identification division.
program-id. hello-world.

procedure division.
    display "Hello, world!"
    .
 
@ThePhD Why?
 
@ThePhD You want it to be a template, with the callback function's type as a template parameter. Internally, it'll probably use an std::function to store it, but that won't be visible to the outside world.
 
user3010322
5:05 PM
@JerryCoffin Then I think this'll cover it!
 
user3010322
@Jefffrey Just, the snippet Jerry wrote was so concise and wonderful, doing make_stopwatch just felt so... gross.
 
user1804599
time to write that YAML parser.
 
user3010322
Albeit now Jerry's example becomes { stopwatch<> x( report_function ); do_work(); }
 
user3010322
Which isn't the greatest and defaults to storing things as a std::function, but... eh.
 
Oh no, not the <>. That's two characters, HOW WILL I LIVE?
 
user3010322
5:09 PM
make_scopewatch( report_function ); will do all the deduction of the function argument and create a Maximally Efficient Reporter™, but that's probably a micro opt that nobody cares about.
 
if you're doing it for efficiently then yes it's probably pointless; for deduction OTOH it might be useful
 
6
Q: What does it mean when one language is a parallel superset of another?

pepersI'm reading a journal article about Real-Time Concurrent C, and it mentions in the abstract (so any of you can see the context through that link as well) that "Concurrent C, is a parallel superset of C (and of C++)". Now I know what a superset is, but what do they mean by a "parallel superset"...

 
user3010322
The only reason to do deduction is for efficiency.
 
wow this question
 
@ThePhD wot?
 
user3010322
5:14 PM
@AndyProwl In this case, template deduction of the function (report_function) serves no other purpose that to provide deduction to pass that function type to scopewatch<Clock, Fx>
 
user3010322
So that it doesn't default to using std::function.
 
user3010322
Otherwise, scopewatch<> or scopewatch<Clock> would be enough
 
yeah, so you don't have to unnecessarily write those names
 
user3010322
But you already don't have to: scopewatch has default template arguments on it.
 
oh, I see what you mean
 
user3010322
5:15 PM
Clock = std::chrono::high_resolution_clock, Fx = std::function<void( typename Clock::duration )>>
 
well
 
My heart is pumping
 
it's not like the deduction is done for performance. The deduction is done to not explicitly write out the type arguments
 
Playing agar.io is so fucking cool
 
using the type arguments is what you do for performance
 
5:17 PM
I just wish it didn't took 120% of my CPU power
 
@Jefffrey agar.io is so yesterday
witcher 3 is the new shit
 
witcher 3 costs money
also I doubt it runs on my craptop
 
yeah
 
had I spent money on the preorder, I'd have been disappointed now
but it's ok because I used the money I got from a knife skin
 
Foo& GetFoo()
{
    static std::once_flag fooInitFlag;
    static Foo f;

    std::call_once(fooInitFlag, [&Foo]()
    {
       Foo.Init();
    });

    return std::ref(f);

}
 
5:19 PM
maybe if the game was more linear like TW2
there was so little story thrown at me that I lost interest already :\
 
@Rapptz what's that?
 
0
Q: Reference to a static, function local variable

cocarinIs the following code considered safe? Foo& GetFoo() { static std::once_flag fooInitFlag; static Foo f; std::call_once(fooInitFlag, [&Foo]() { Foo.Init(); }); return std::ref(f); }

 
-
 
@AlexM. I like W3 more than W2.
 
std::ref(f) is the best part
 
5:21 PM
The sidequests are pretty good story too.
 
user3010322
@Rapptz Wow, that's... uh.
 
user3010322
Interesting.
 
@Rapptz I'll decide whether I play it to the end now or I wait until I upgrade after this weekend :<
 
In fact if you do them all you get a nice side story that seems unrelated but in reality they tie in together and some of the actions of the person you helped will give insight for the other person's issues etc.
 
user3010322
> auto get_foo()
-> Foo&
{
 
user3010322
5:22 PM
That answer syntax.
 
reminds me of
 
I like it
 
I still don't like the Nilfgaardians.
 
auto main() -> int
 
totally fine with that
 
5:22 PM
I don't see the point of it
:D
 
it's noise
 
@Rapptz eh, yep
 
it resembles mathematical notation and increases the chances that function names end up being aligned. It's also name-first, which I prefer
 
although when you see people like that guy who hires you for the griffin
they don't seem that ill willed
also the two guys in the shack where you go to rescue some kid's brother
 
did you turn in the griffin?
 
5:23 PM
yes
 
did you miss the guy whipping the farmer he helped
 
I also saved the nilfgaardian + non-nilfgaardian pair
@Rapptz he brought in shit grain
it's only fair
 
user3010322
Lol
 
the thing is it was pointless for the peasants to fight back
 
@AlexM. I finished that quest yesterday.
Also I've gotten better at the game.
 
5:25 PM
@AndyProwl auto fun() -> auto :P
 
I don't die as much anymore.
 
and the guy clearly showed that he intended to make a deal with the peasants that worked well on both sides
 
I don't like the peasants either.
I'm walking around minding my own business and then they shitpost me.
 
I do like a special kind of peasants
 
Spit on me, call me a freak, etc.
 
5:27 PM
you know the ones who go like
 
They're asking to get hurt
 
WHOA THE WHITE WOLF WHO KILLED A GRIFFIN AND A SHITLOAD OF OTHER MONSTERS AND FOUGHT ARMIES
time to take him on with my club
surely I can win
WHAT COULD GO WRONG
 
you mean bandits?
 
have you left for vizima yet?
 
nop
 
5:28 PM
a bunch of randomers in the tavern attack you and vesemir lol
 
there's a lot to do in White Orchard.
 
and when you kill them ofc you're the bad guy
and are thrown out
 
I felt bad killing the bandits.
one slash and bam, head gone
 
on the other hand nilfgaardians are generally nicer towards geralt from what I've seen
at least they're "my god you're so non-pretty" instead of "die satan"
 
the nilfgaardians treat you like shit too
 
5:30 PM
I don't remember any :<
 
in the nilfgaardian place full of soldiers they keep shit talking you
 
the most memorable part was when they decided geralt is both dirty and hairy and badly dressed
so he needed a makeover to meet the emperor lol
 
I made the mistake of looting in front of them once btw
 
why am I spoiling the game
 
but anyway I think the game does a very good job at storytelling
 
5:32 PM
I think I'll play it again tonight, I'm too sleepy to play CS anyway
time to go home first tho
brb
 
@ThePhD What I had in mind was more like this: coliru.stacked-crooked.com/a/351536eb29e5c65f
 
user1804599
I need a statically typed programming language in which partial application is not a pain.
 
Haskell
 
@rightfold Write one :P
 
user1804599
Hmm, Eiffel.
 
user3010322
5:39 PM
@JerryCoffin Ah, you put the template on the constructor... that helps. :O
 
7 hours ago, by buttiful buttefly
Just what the world needed, another language
:-)
 
user3010322
If you declare a function in C++ in header in a namespace,
 
user3010322
and mark it with inline,
 
user3010322
is that enough to prevent multi-inclusion ODR?
 
Xeo
ODR doesn't kick in on just declarations
 
user1804599
5:41 PM
hahahhaha
 
user1804599
 
@rightfold Now that's a thing of beauty there! ;-)
 
@rightfold Use local function gcc extension
 
so yeah...i've tried this experiment of living without alcohol for more than 3 days since I was 19. After hundreds of trials, 2 years later I've concluded...it's simply impossible.
 
That's alcoholism
 
user3010322
5:45 PM
@milleniumbug Or dedication.
 
Ell
@rightfold oh jesus
@rightfold scala, right?
 
@rightfold or libffi
(which isn't much better than this syntactic-wise)
 
user1804599
@Ell hmmmm.
 
user3010322
5:54 PM
JFC
 
user3010322
I marked these functions as inline.
 
@milleniumbug lmao. at first I was like "what a waste of good wine" then I was like "son I am proud"
 
6:06 PM
ok, enough agario
 
hahaha enough
there's no enough agar.io
 
0 agar.io is enough agar.io
 
it gets frustrating but you can't stop
 
user1804599
Nice, they're prohibiting by law wearing burqa in some places such as public schools and hospitals.
 
nice weather to sit at home
 
user1804599
6:14 PM
Should've been a universal prohibition, of course, but this is better than nothing.
 
'nice'
 
@khajvah you talkin bout drugs man?
 
> to sit at home
 
why is it nice?
 
6:14 PM
i.e. not go outside :P
 
user1804599
@AlexM. Beautiful.
 
user1804599
Nice Minecrafting weather.
 
@DonLarynx almost
 
5 hours ago, by Tony The Lion
lol rightfold's opinions
4
 
6:15 PM
altho it's ok to go outside too
after sth like 28 deg
a nice cold wind is great
 
@AlexM. 28 C right?
 
@Rapptz oh I see
 
user1804599
My opinions are good.
 
@rightfold They're shit.
All of them.
All of the time.
 
50 secs ago, by Rapptz
5 hours ago, by Tony The Lion
lol rightfold's opinions
 
user1804599
@fredoverflow What was that language again?
 
Renaming a company sounds super retarded.
 
user1804599
Something with an X.
 
Xtend
 
user1804599
Is Kotlin good?
 
6:31 PM
Today I switched to chromium from firefox
so much faster
shame it is made by google
 
chrome/chromium so bad
 
@Rapptz Best browser in existence
 
for someone who only used chrome and ie6 probably
 
@Rapptz what do you use?
 
@Rapptz Nah mate. I have used FF for ages.
 
6:38 PM
firefox is too heavy
 
@khajvah FF.
I don't like FF either
But I like it more than Chrome.
 
my laptop does suck
 
@rightfold I like it so far. Note that its aim is to be "a better Java". You basically get Java without the boiler plate and null pointers. Kotlin is not for you if you like advanced type systems.
 
@Rapptz Have you ever even tried Chrome?
 
use chromium
 
6:38 PM
I used Chrome from 2008 to 2013.
 
not chrome
 
@Rapptz Alrighty, what are your counterarguments
 
user1804599
@fredoverflow How painful is it to use Java libraries?
 
I am using JUnit with minor pain. I had to learn that Foo.class is spelled javaClass<Foo>() in Kotlin :) The rest was easy.
 
My problem with FF is that it simply sucks under Linux, at least my distro+gnome
 
6:39 PM
Good Java interop is one of the design goals of Kotlin.
 
user1804599
Excellent.
 
@Columbo yeah, it is slow as fuck
 
I don't have issues with FF under Linux.
lol
 
Hence Kotlin uses Java's collections in sane "compiler wrappers", so you don't have to convert back and forth between Kotlin collections and Java collections.
 
@Rapptz you have a good computer
 
6:40 PM
@Rapptz So what, for example, do you have against Chrome?
 
Debian comes with Ice Weasel for the default browser which is a FF clone
@Columbo I'll give you my paragraph gimme a sec.
 
@Rapptz kk, sry.
 
The language is far from stable by the way, but I like "living on the edge" ;)
 
lol
 
I also find that Firefox is much slower than Chrome on Linux, but I use Firefox anyway
 
6:40 PM
Tooling in IntelliJ is excellent.
 
for me the problem is that if you start typing in the address bar in Chrome you get like 1 history result and 5 search autocompletion results
whereas Firefox shows all history results, which is what I want
and there's no way to change this behaviour in Chrome
 
@Brian and it also sends every letter you write to google servers
@Brian you can always fork chromium
 
@Brian This is not the behavior I get when I type in a letter.
 
user1804599
@fredoverflow Are classes final by default in Kotlin?
 
Yes. You have to declare a class as open if you want to inherit from it.
Of course, abstract classes are implicitly open :)
Kotlin has no pattern matching yet, but they're working on it.
 
6:46 PM
wtf C++
 
@Brian Tip: disable search autocomplete
 
error: keyword ‘typename’ not allowed in this context (the base class is implicitly a type)
 
user1804599
@fredoverflow Good.
 
@CatPlusPlus *Protip
 
Why do you special-case so much
 
6:47 PM
typename is only needed for dependend members of template parameters, right?
 
@milleniumbug Not disallowed in C++11, IIRC. But yeah, in base-specifiers typename is not necessary
 
Why would you write : typename Base?
@rightfold Are you considering Kotlin for your next project? ;)
 
@fredoverflow That's : typename std::conditional<whatever>::type for me.
 
or just curious
 
@fredoverflow typename A::B
 
6:48 PM
oh I see
 
user1804599
Yes.
 
What is your next project?
 
yum sucks
gonna install arch again
 
@Columbo Maybe C++14, as I'm compiling on -std=c++11 right now.
 
@milleniumbug Just noticed myself
@milleniumbug Actually, nevermind - it's disallowed by grammar.
 
6:50 PM
@Columbo This sucks.
 
punoɹɐ spɐǝɥ ɹıǝɥʇ buıuɹnʇ ǝɹɐ ʇɐɥʇ sʇoıpı ʇɐ ,uıɥbnɐן :ʎqqoɥ ʎɯ
 
user1804599
fuck Kotlin
 
@rightfold What have you discovered? :)
 
@rightfold Fun fact: Kot literally means shit in German
And Kotlin is close to Kotling, which is a cute word for a piece of shit
(Not really, but it sounds like it)
 
> Typesafe will be Renamed to Reactive Banana - FFS, just leave it alone. Especially when the idea to change it came from a business executive who doesn't even know what it means. If he's confused, don't tell him that Burger King also sells french fries - he might have an aneurysm.
 
6:58 PM
@Columbo Why bother if you can rotate the monitor.
 
@fredoverflow that's a reference to Silicon Valley
@Columbo I got too lazy btw.
 

« first day (1678 days earlier)      last day (3285 days later) »