« first day (1533 days earlier)      last day (3640 days later) » 

12:00
@CatPlusPlus I thought JetBrains made R#
> I guess?
It includes R# for C++ too
Anyone using CLion btw?
Ell
Ell
Nope
user1804599
12:04
java.time is nice.
you are nice
rightfold enjoys Java time?
user1804599
@Jefffrey Indeed.
your mum is also nice
user1804599
I know.
12:06
@StackedCrooked Don't even know what that is.
JB's C++ IDE
It's a new language that's a superset of C.
user1804599
Nice.
Is there something that is not nice?
@StackedCrooked Who ordered another superset of C?
12:08
Your dad's mom.
Nice is an object-oriented programming language released under the GNU General Public License. It features a powerful type system which can help eliminate many common bugs, such as null pointer dereferences and invalid casts, by detecting potential runtime errors at compile-time; the goal of the designers was to provide safety features comparable to those found in languages such as ML and Haskell, but using a more conventional syntax. Nice aims to be feature-rich, and as such, in addition to the common features of modern object-oriented programming languages, it implements contracts in the style...
@FredOverflow I've read about that language long time ago.
Basically Haskell-variant created by dutchmen.
> Work on the Nice language appears to have slowed since early 2006.
lol, that's when I learned about the language's existence
They had a demo application which was a Sinterklaas game.
user1804599
@FredOverflow this is interesting: gist.github.com/rightfold/758838e2a27e4c8e6fb9
Don't remember the details.
user1804599
12:11
I found a use case for it, actually.
I'd like to be able to define tests near the function/class I'm testing
user1804599
@Jefffrey use D.
"Casualties" is what I hear in my mind if I see the Myth2 icon on the desktop of my virtual windows xp box.
user1804599
Non-static inner classes are also great.
@VáclavZeman Oh yeah- those morons who supported mingw but not mingw64 or clang.
user1804599
12:16
I used CLion with clang and it worked just fine.
room topic changed to Lounge<C++>: Merry Belgium! [c++] [c++11] [c++14] [c++-faq]
@rightføld What's so special about them? Even Java got em.
@FredOverflow Their greatness!
I don't like em
Implicit parent this is not something you expect
12:30
I wouldn't want that.
Same bit of template duplicated 4 fucking times: check
(twice commented)
We care.
I've been working for 7 hours already: check
@CatPlusPlus I don't like subtyping, implicit virtual dispatch is not something you expect... ;)
@CatPlusPlus Comments above code for documentation, or commented-out code?
12:42
the latter
Yes
get_by_id_and_slug_or_404
Goddammit
People not paying attention to indentation in indentation-based language: check
@ThePhD Noir had two spinoff series: Madlax and El Cazador de la Bruja. This is Madlax' OP song. (One of my favorite KY songs.)
ifequal field|fieldtype 'CheckboxInput'
:cry:
@CatPlusPlus You need to take it and bang that over their heads, not cry here. :)
morning (again)
12:53
this is nice
25
Q: X'mas Combinatorics

hypergeometricInspired the various** algebraic X'mas greetings sent to me over the festive period, I thought I would try to devise one of my own. $$\Large \color{red}{\sum_{i=a-1}^{r-1}}\color{green}{\sum_{j=s-1}^{r-1}}\color{orange}{\binom {e-x}{m-x}}\color{red}{\binom ex}\color{orange}{ \binom i{a-1}}\colo...

My hangover came back when I started reading that.
I'm sure it's nice though.
is there possible to send message to other user?
or how to get user's e-mail
by hacking
@KamilWiśniewski Just use @Foo?
12:56
we do hacking for money
@Foo?
what is that
...
so no way...
Posting ... is not allowed.
user1804599
12:58
@FredOverflow It's one of the few good things about Java.
lol "date of birth/death must be less/greater than"
@KamilWiśniewski @YourLovedOnesName
I really like the song titled "胸の行方". Just looked it up with Google Translate and apparently it means "Whereabouts of breast".
user1804599
Unfortunately a.new B() and b.new B() are of the same static type in Java, though.
Not sure what to think of this...
12:59
@rightføld lol no
I LIKE SO MUCH WHEN REQUIREMENTS CHANGE AND NEW FUNCTIONALITY HAS TO BE SHOEHORNED IN AFTER SUBSYSTEM IN QUESTION WAS FINALISED :SUICIDE:
user1804599
Googling "Whereabouts of breast" leads to "Where can I have a mammogram?"
I'm on the wrong track.
it is a track straight to heeeeeeeeeeeeeeeeeeeeeeeeeeeeell
user1804599
13:01
You deserve it.
@StackedCrooked Breast chest. It even rhymes!
Damn, I really don't want to have mammogram.
Also good idea: setting deadline to Monday after Christmas week and 3 days before the end of the year
Good fucking job
@CatPlusPlus lol, that is the deadliest deadline ever. :)
Because the world needs another shitty website riiiiiiiiight now
13:03
@rightføld That's because no Java programmer would be able to understand path-dependent types.
@CatPlusPlus Happy Holidays :)
omg I don't think I'm capable of liking any project I'm getting paid for
Time to become a tubyoube celebrity
@CatPlusPlus Is that not the usual state?
@CatPlusPlus You should work for some obscure governmental R&D department .
user1804599
@CatPlusPlus s/yoube/girl/
13:03
And do Minecraft videos for the rest of my life
user1804599
Do Factorio videos.
@rightføld tube/girl
user1804599
@FredOverflow Java programmers suck!
@rightføld All programmers suck.
user1804599
Especially you!
13:05
I don't suck.
@StackedCrooked Self-deception.
My code is neat.
@StackedCrooked Are you programming in Whitespace now?
OMG 3 more for nice rep count / screenshot opportunity!
hint hint
Just passing 10k is enough. ;)
user1804599
Wonderful.
13:09
Which post shall I downvote..?
3 more bottles of whiskey and programming might be enjoyable
Congratulations. You will be able to see flags soon.
I was super excited about that. For about 12 hours.
Ok. I did it!
Super scary.
Well haha that's a nice binary number.
@StackedCrooked Yipee! Thanks much!
13:12
You owe me big time.
Now for the deleted posts!
I just got my second Yearling badge. I'm getting old :(
@StackedCrooked Where can I exchange Stack Overflow points into real money? Tell me, tell me!
user1804599
wat make
27
Q: What does (f .) . g mean in Haskell?

Aadit M ShahI have seen a lot of functions being defined according to the pattern (f .) . g. For example: countWhere = (length .) . filter duplicate = (concat .) . replicate concatMap = (concat .) . map What does this mean?

(.:) = (.) . (.)
@rightføld boobs!
user1804599
13:14
I prefer (.)(.).
user1804599
I don't like belly buttons so high.
@FredOverflow I imagine that I'm watching it from above, and the center dot is the belly button.
You know what I hate about μTorrent. They started putting ads in the desktop app. I don't hate them for that. But the fact that they put a "closing cross" at the top right corner of the ad which triggers an additional add when clicked.
user1804599
Use Transmission you fool.
I tried.
user1804599
13:16
Try again.
But I can not control the uTorrent habit .
user1804599
Delete µTorrent.
user1804599
Problem solved.
user1804599
Do it again.
13:17
NO!!
*my precious8
@FredOverflow lol, that is exactly why I always get lost in Haskell code...
user1804599
Don't read shitty obscure code.
user1804599
Fuck point-free fetishists.
@rightføld But that kind of Haskell is the norm, is it not?
@FredOverflow Also, the (.:) looks like a head resting horizontally watching the boobs.
13:18
@VáclavZeman It's not.
@MarkGarcia You need to get laid.
Not that bad at least.
@FredOverflow Nah, just shows my current understanding of Haskell. :P
OK. I need to go to the scary outside. Wish me luck.
user1804599
What kind of software is fun to make?
user1804599
13:20
inb4 PE
inb4 games
inb4 other boring crap
@VáclavZeman Good luck. Don't slip!
A puzzle solver.
Super exciting.
No software is fun to make.
I did once create a simplistic sudoku solver
@rightføld MS Word
13:21
@rightføld Parsers
parsers are way too easy.
Static Analyzers
@Puppy Not everyone is a genius like you.
@rightføld In a serious note, visualization software.
user1804599
What is visualisation software?
13:22
Software to visualise things.
@FredOverflow Better, an analyzer that offers incremental analysis, code completion, etc.
@rightføld Anything to visualized. Data, or something like the hacking-in-the-movies app I had in mind for a while.
What's PE?
@MarkGarcia A shell script that tells you to close your eyes and visualize a certain scene?
user1804599
@MarkGarcia so … import graph; graph(data)? :v
13:23
@Jefffrey physical education?
@StackedCrooked Doesn't look right in this context.
@StackedCrooked He's a hacker, so it's understandable that he doesn't know.
@StackedCrooked How would the shell script tell you about the scene if your eyes are closed?
@Puppy Audio
cool, it's snowing
13:25
@Jefffrey With @rightføld saying that, Penis Enlarger?
user1804599
@Puppy It tells you before you close your eyes.
user1804599
It's Project Euler you noobs.
meh that shit is tremendously boring
user1804599
Exactly.
@Puppy it tells you to open you eyes
13:26
@rightføld LoungeChat!
@Puppy but yeah, they won't read that if their eyes are closed. it's a known issue.
user1804599
Typically when I encounter a problem that happens to have a similar PE problem, I download a library that solves said problem.
Ell
Ell
@Jefffrey premature ejaculation
user1804599
eject
analyzers that offer incremental re-analysis are more tricky
13:28
@rightføld Can you write a lexer and a parser that communicate via java.util.concurrent.ArrayBlockingQueue and measure any performance advantages/penalties? That would save me a lot of trouble.
snow is cool
user1804599
> chmod -x /bin/chmod
oh, wait.]
user1804599
Sounds like a great idea!
user1804599
@FredOverflow I can.
13:29
Awesome. Off you go!
user1804599
But I won't do that since writing lexers and parsers is incredibly boring.
@FredOverflow Coupling the lexer/parser and their communication means is badness.
there's no reason the lexer and parser should know about each other.
user1804599
Coupling? Queues are decoupling squared.
@Puppy Well, normally the parser drives the lexer, right? Isn't a queue less coupling?
@FredOverflow No.
13:29
So how does your parser get its lexemes?
user1804599
With queues all you know is that you can send and receive.
it's a range of tokens.
user1804599
You don't know shit who you are sending to or receiving from.
and if that range happens to be the range of tokens from the lexer, then great.
and if not, then whatever.
And how is a queue worse than a range?
user1804599
13:30
@FredOverflow I just make my lexer return a list of lexemes.
well it's unnecessarily specific.
@rightføld Measure, then write concurrent alternative and measure again.
Ell
Ell
@pu
there's no reason to use a queue when you could accept a range and then the user can put in a queue if they want or get it directly from the lexer or from a stored result or whatever they want.
user1804599
@FredOverflow I don't see why. The list is already lazy.
Ell
Ell
Cant you just get a range from the queue
of course you can- that's why the range version is better.
it can do everything the queue can do and more.
@rightføld But the lexer and the parser run on the same thread, right?
user1804599
You forgot a step, though.
user1804599
13:32
The first rule of ranges is that you define ranges before talking about ranges.
@Ell Java has no concept of "ranges", whatever Puppy means by that.
user1804599
@FredOverflow Do I care? They're pure.
@rightføld Oh, you're doing Haskell again.
@FredOverflow why would you use a blocking queue?!?! Don't you care one bit for the performance? A decent lexer would zip through considerable amount of input in the time it takes to lock the blocking queue just once, meguesses
@FredOverflow Well, you can define your own ranges if really necessary. In the Wide compiler I used Wide-style ranges.
user1804599
13:32
If the lexer is your bottleneck maybe you should deoptimise the other parts of your application.
4
@rightføld brillant
@sehe The "blocking" part simply means that pop() blocks if the queue is empty.
@FredOverflow and this usually implies that it locks on the other operations too
but
by and large you're handling way more than one file anyway
so in Wide I lex and parse each file in parallel
way to go
13:34
that gives you concurrency without having to pay a lot of synchronization costs.
@FredOverflow Granted it could be a hybrid. But that would make it useless for both low-latency lockfree scenarios and low-freq synchronized access scenarios
user1804599
@StackedCrooked ik vraag je vriendelijk weg te gaan
@Puppy prezoisely
@rightføld "I ask you friendly way to go"
@rightføld I don't understand.
I've been thinking about concurrency in my combiner and analyzer but nothing concrete yet.
13:35
Is that Spanish?
user1804599
No, it's Flemish.
user1804599
Dwaas.
I also need to work on my handling of AST errors.
@rightføld Can you measure how much time is spent in the lexer?
13:36
@rightføld None
and fix up my parser errors in a few cases.
user1804599
@FredOverflow No.
user1804599
I know nothing about benchmarking.
Then there is no way to know for sure if the lexer is a bottleneck or not ;)
user1804599
I don't care about performance as long as it's fast enough.
13:37
had a nice dream about Clara Oswald
@FredOverflow What did you expect from @rightføld lol
:P
@AndyProwl HAHA I HAVE 6 RIP ME
That sounds meaner than intended..
HELLO IS ANYBODY OUT THERE
13:39
not me no
I should eliminate the lex() overload.
user1804599
main = print otherwise
@rightføld What about it?
user1804599
I like how snow absorbs sound.
I see
13:43
I'm making pizza, yum
What's ambiguous about "type safe"?
what exactly is it safe about?
user1804599
and what types are we talking about?
About the set of possible values a variable can have.
user1804599
And why exactly that definition?
13:45
right, what about that set?
@rightføld Every type.
user1804599
Including the dynamic type of a value?
@Puppy What about it?
well, what about a set of values makes it safe or not?
13:46
Haskell is type safe, C is not type safe.
C is perfectly type safe.
That's basically the definition.
user1804599
@Jefffrey Why?
every variable has a pre-defined set of values in C.
@rightføld Because people on the internet said so!
user1804599
13:46
Exactly.
Type safe is when a variable only has a specific type and don't exist implicit conversions between different types that make that variable act like if it was another type.
user1804599
"Type safe" is silly like "strong typing" and "weak typing."
user1804599
@Jefffrey Why is it that and not something else?
so subtyping is unsafe?
@rightføld Not really
13:47
and if you have a function that accepts Maybe Int, and you pass it Nothing, that's unsafe?
user1804599
[citation needed]
@rightføld Why is it what that?
user1804599
I'm pretty sure other people have other definitions.
@LightnessRacesinOrbit I am but what use is that to you
@Puppy No, Nothing is a perfectly valid value for the type Maybe Int
13:48
You're all nerds
user1804599
Some including dynamic types, some not, some including implicit conversions, some not.
It's been a great year! Thanks for not being a part of it.
@Jefffrey And 0 is a perfectly valid value for the type float.
@rightføld You'll know in a few days whether your site was (fast enough)
user1804599
13:49
@sehe It was too slow. I added caching. Now it's fast enough.
oooh Top Gear special tonight
@Puppy Exactly. Especially if the literal 0 is polymorphic like in Haskell.
right, so C is completely type safe.
@rightføld and you have memory leaks and coherence issues :)
user1804599
I have no memory leaks.
user1804599
13:50
What is coherence?
user1804599
Cache size is limited to 200MB.
@Puppy Not at all. 0 is an integer and it can be passed to a pointer type.
@Jefffrey 0 is a perfectly valid value of C pointer types.
Arrays decay to pointers losing information.
you never said anything about information loss before.
13:50
My brother spent so many hours on this game. It was probably the only game he could beat me at.
@Puppy Yes, because it exists an implicit conversion between the 0 literal and a pointer type.
converting Derived to Base loses information but it's still perfectly safe.
user1804599
@sehe The application is shitty so I prevented it from being queried that often for pages that don't ever change.
@Jefffrey Just like in Haskell, there's an implicit conversion between Nothing and Maybe Int.
user1804599
(Nginx does the caching.)
13:51
@Puppy The point is not about information loss, the point is about types that decay/change to other types implicitly.
@Puppy No, Nothing is a Maybe a.
@Puppy lol
and 0 is a null pointer constant.
a is deduced to be Int.
user1804599
@Puppy no
@Puppy 0 is an integer literal.
user1804599
13:52
Nothing has type Maybe Int
which is a null pointer constant.
@rightføld Depends on the context.
says it right there in the language spec.
user1804599
@Jefffrey This context.
there's no inherent difference between 0 being a null pointer and Nothing being an empty Maybe.
13:53
@Puppy You may be true. A value of type T* (with T not void) can be implicitly converted to void*. That's not type safe.
@Puppy It's not an empty Maybe. It's a Maybe a.
why not?
@Puppy Because it exists an implicit conversion between the two types.
@Jefffrey So what? 0 null pointer is an a*.
A value of type D* can be implicitly converted to B* where D derives from B
13:54
@Jefffrey Just like Nothing -> Maybe a.
@Puppy It's not a conversion at all, let alone implicit.
Nothing is not a type you butt
Nothing is an object of type Maybe a.
and a T* is an object of type void* according to C language spec.
2
user1804599
@sehe Since the caching the load is ±7 instead of ±60. :v
13:55
@Puppy lol
exactly the same thing.
lolno, why don't you quote the part of the spec where it says that
Are you seriously denying that implicit conversions between different types exist in C or C++?
no, I'm just saying that they're completely equivalent to derived-to-base conversions and that Nothing->Maybe a stuff and plenty of other things too.
I'm sure you are not understanding the Nothing -> Maybe a thingy.
as far as I can see, Nothing and Maybe A behave identically with respect to each other as 0 and A* do in C.
13:57
Type safety is not about implicit conversions
It's about noticing type errors
@CatPlusPlus Avoiding implicit conversions is one way to be type safe.
Having implicit conversions doesn't mean you're not type safe

« first day (1533 days earlier)      last day (3640 days later) »