« first day (837 days earlier)      last day (4097 days later) » 

11:01 PM
@LightnessRacesinOrbit Since "community Wiki" is the default thing that happens, I think there needs to be some "reasons that a mod might un-CW a post", but I can't imagine what those reasons would be.
 
@Zoidberg Nooooo, Simon was interrupted :(
 
user142019
@TonyTheLion As for debugging inside pure functions, you can use trace from Debug.Trace.
 
> Have a good, quick break. HHHRRRRR.
 
@JohannesSchaub-litb: You managed to turn my certainties back into confusion - but I guess that's what leads to real knowledge :-) If the compiler looks at initializer list constructors first, why does it not pick vector<string>(initializer-list), which is a viable one? — Andy Prowl 9 mins ago
 
@MooingDuck "It's particularly awesome and rici deserves the rep" is the reason. :D
 
11:02 PM
lulz
 
user142019
Don't ever use trace in production, though. It can fuck up everything, especially when optimizations are turned on.
 
@LightnessRacesinOrbit Although it probably doesn't matter due to rep cap, anyway. I only got 150 rep this day :)
 
wait, what's that new question?
100+ votes
"Is C++ context-free or context-sensitive?"
 
@LightnessRacesinOrbit to make a valid reason, we'd first have to understand the reasoning for the origonal decisions for "make it CW if it's been edited by the OP ten times".
 
this questio sounds familiar though. i could bet it appeared already in the past
 
11:03 PM
@JohannesSchaub-litb You missed that? It's from yesterday.
 
@Zoidberg our code uses trace very liberally
 
user142019
You use Haskell?
 
user142019
AWESOME.
 
Ell
@zoidberg how is zoidlang?
 
user142019
@Ell The same as a month ago.
 
Ell
11:04 PM
does it have a working parser?
 
user142019
No.
 
yesterday, by FredOverflow
0
Q: Is C++ context-free or context-sensitive?

FredOverflowI often hear claims that C++ is a context-sensitive language. Take the following example: a b(c); Is this a variable definition or a function declaration? That depends on the meaning of the symbol c. If c is a variable, then a b(c); defines a variable named b of type a. It is directly initiali...

 
user142019
It has a working VM.
 
Ell
Lexer?
 
@FredOverflow Not the point!
 
user142019
11:05 PM
@Ell not complete, but so-far it works. See github.com/zoidlang/zoidlang.
 
@MooingDuck That's why I asked Shog9.
@JohannesSchaub-litb "New"?!
 
Ell
I wrote a simple lexer today
 
im not that often on SO anymore these days
 
@Zoidberg Watching a Haskell video in sync was pretty fun. Thanks for collaborating :)
 
I sept today
 
11:05 PM
i am caught up by real life
 
@JohannesSchaub-litb nor IRC
 
@JohannesSchaub-litb What's in it?
 
@JohannesSchaub-litb everything okay?
 
Ell
Then I tried to put in code embedded in strings like ruby, then couldn't decide what the token output for that would be
 
user142019
@Ell a new lexer object?
 
Ell
11:07 PM
would it go string, lexer object, string?
 
@LightnessRacesinOrbit hmm?
 
user142019
@Ell he, good question. Most decent thing I can think of is this:
 
@Shog9 he wants you to un-community-wiki this post based off of "it's a good answer and he deserves rep"
 
@Shog9 I was wondering what the criteria are for un-CW-ing an answer, and whether @rici's excellent answer could qualify.
@MooingDuck Not so much the physical acquisition of rep as the principle of it all.
Point is, it's not as if that's an answer that's been edited over and over again over lots of time. It's particularly long and has grown organically quite quickly to form one coherent answer that will soon be one of those "historical" posts that seem to get to avoid all the rules
 
user142019
@Ell "foo #{bar() + 42} lol #{meh} baz" // => token{kind::string_begin, "foo "}, token{kind::interpolation, lexer{"bar() + 42"}}, token{kind::string_part, " lol "}, token{kind::interpolation, lexer{"meh"}} token{kind::string_end, " baz"}
 
user142019
11:10 PM
(With boost::any or boost::variant.) (Or maybe use polymorphism.)
 
Worst case, the post doesn't fit the criteria but we find out what those are :)
 
@LightnessRacesinOrbit It seems you won :)
 
@LightnessRacesinOrbit Basically, if the author didn't do something dodgy to make it CW, and isn't likely to do something dodgy with it after it's no longer CW, it doesn't have to be CW.
 
user142019
Haskell and binary data y u such a pain.
 
@Shog9 Okay that's basically what I figured. Thanks :)
 
11:15 PM
@Shog9 What would be an example of dodgy here?
 
Ell
Ahh right okay, I guess
 
@FredOverflow Someone writing an answer that turns out to be wrong over and over again so they keep changing it based on comments or whatever? And at some point the camel's back breaks and says "stop being a tard"
 
user142019
CW is cancerous.
 
@FredOverflow If it's literally a collaborative effort between 5 different people, it probably should be CW. If someone's bumping it repeatedly with trivial edits to churn for rep, it definitely should be CW. These are the triggers for auto-CW - which is disabled permanently after a moderator revokes it.
 
@LightnessRacesinOrbit yeah everything fine
 
11:16 PM
(which I did, on that post, incidentally)
 
but I'm going to move, so it's all a bit messy right now :)
 
@JohannesSchaub-litb far?
 
@shog9 thanks
 
80km I think
 
and @LightnessRacesinOrbit
 
Ell
For some reason I don't think the lexer should do none regular stuff like bracket matching, is this correct?
 
Ell
Oops I meant shiuldnt do non regular
 
@JohannesSchaub-litb Why?
@Ell You know you can edit your posts for two minutes, right?
 
I kinda get why it's only two minutes, but it's also a bit annoying
I'm so used to the five minutes from SO proper that I don't tend to get around to subconsciously checking my previous messages for typos until about 3 minutes in
 
11:21 PM
@JohannesSchaub-litb Where are you going?
 
user142019
Hmm.
 
user142019
Would unsafeCoerce from Word16 to Int16 be safe in GHC?
 
@FredOverflow Frankfurt! xD
 
@JohannesSchaub-litb Will you walk?
 
Ell
11:24 PM
@fredoverflow for some reason on mobile is says I can't edit posts sometimes, else I would have :/
 
Hey! Great news!
2¾ days until @MooingDuck gets a kitten!
 
user142019
unsafeCoerce (42 :: Word32) :: Int32 works! Yay!
 
user142019
Fuck. ;_;
 
user142019
Wait wat.
 
@JohannesSchaub-litb What will you be doing there?
 
user142019
11:26 PM
ghci> unsafeCoerce (-1 :: Int32) :: Word32
-1
 
user142019
I have a negative unsigned integer!
 
@FredOverflow doing masters in TU Darmstadt
and working near frankfurt :)
 
@JohannesSchaub-litb Informatik, I suppose?
 
0
Q: When did Community Wiki die?

amanaP lanaC A nalP A naM AI just saw a comment that stated that community wiki is dead: What does that mean? The OP was just stating that if you do not want to seem like you are "farming" rep, mark the post as community wiki. So what does that mean that it is "dead"?

 
@FredOverflow yeah
 
user142019
11:28 PM
This makes no sense. I'm confused.
 
casper casper casper
 
user142019
typeOf does show Word32.
 
user142019
And Word32 is unsigned.
 
user142019
Yet the value printed is -1.
 
user142019
Maybe show is bugged.
 
Ell
11:32 PM
Can you get the address of stuff in haskell? I'm almost 100% the answer is no
 
user142019
Haskell has pointers.
 
user142019
And probably with some GHC hacks you can.
 
Ell
It has pointers?
 
user142019
@Ell Only really used for optimizations and for interfacing with C.
 
user142019
11:35 PM
Haskell doesn't really have objects so it doesn't really make sense to take an address of something.
 
user142019
You can take the address of functions if you want.
 
You know that feel, when you hit a problem, and that the one colleague who can help you has just left?
 
Ell
What about values?
 
user142019
foreign import ccall "&func"
funcaddr :: FunPtr (IO ()) -- the address of func

foreign export ccall func :: IO ()
func :: IO ()
func = putStrLn "Hello, world!"
 
^ Brillant. Next time someone debits "There is no 'I' in team ... " :)
 
Ell
11:37 PM
@etienne I feel like that when my internet goes down :(
 
user142019
@Ell that's like taking the address of an rvalue in C++.
 
user142019
What would be the address of 1?
 
Ell
Oh
 
@sehe that seems to have "gone viral" today
 
user142019
&1 -- meh
 
11:37 PM
@EtiennedeMartel ... the planet
 
user142019
Haskell has only const rvalues. :)
 
@LightnessRacesinOrbit Oh. I'm always late reading twitter
 
@EtiennedeMartel Heh. No.
 
What did the polar bear say to the penguin? Nothing, they don't live on the same continent.
 
@sehe Someone FB'd it earlier
 
11:38 PM
^ this should be wellknown here (sbi takes care of that)
 
user142019
@sehe so that's why you never talk to @jalf?
 
@sehe That only means the penguin won't hear him.... doesn't mean he doesn't say it....
And maybe he uses the internet? Or a phone?
 
@Zoidberg I try not to
 
Stupid tweet
 
@LightnessRacesinOrbit lololol
@LightnessRacesinOrbit Gah. Notice the twitter account, mebbe?
 
11:39 PM
@sehe Is it that meta?
 
user142019
I'll call my to-be-forever-unfinished Minecraft server clone Lambda Ore.
 
Ell
What are you supposed to do if you figure out one of those math problems you win cash prizes for? Who do you talk to?
 
user142019
To me.
 
user142019
So I can send them in and get all the money. :D Fuck, shouldn't have told that.
 
Ell
:3 noo, I want all teh monies :(
 
user142019
11:41 PM
/b/
 
user142019
Which is the worst and most restrictive GPL license?
 
@Zoidberg GPL.
 
Ell
v3 isn't it?
 
user142019
GPL-2, GPL-3, LGPL-2.1 or LGPL-3?
 
Ell
Isn't it the latest one
Lgpl is less restrictive IIRC. Tbh I really don't know :o
 
11:43 PM
Why are dogs so silly?
 
Do you count AGPL?
 
Ell
Cos they are dumb
 
that's even more restrictive.
 
user142019
Ah fuck it, I'll use BSD.
 
user142019
BSD is a cool license.
 
user142019
11:43 PM
It doesn't give a damn.
 
user142019
zLib is even cooler.
 
user142019
It gives even less of a damn than BSD does.
 
@Zoidberg You're gonna love this, on the question "How would you improve this course?" a student gave this answer:
 
And this, frankly, just seems criminal:
 
11:45 PM
> The Logan County Sheriff's Office says this is clearly an accident and they aren't expecting criminal charges -- A 3-year-old child in Guthrie died [...]
 
The WTFPL (Do What the Fuck You Want to Public License) is an extremely permissive way of licensing intellectual property rights, most commonly used as a permissive free software license. It is essentially no different from dedication to the public domain. was written by Banlu Kemiyatorn who used it for Window Maker artwork. Sam Hocevar, a French programmer who was the Debian project leader from 17 April 2007 to 16 April 2008, wrote version 2.0. It allows for redistribution and modification of the software under any terms—licensees are encouraged to "do what the fuck [they] want to". The l...
 
user142019
@FredOverflow am I allowed to put that in my bio?
 
@Zoidberg Try it <-- harder
 
@Zoidberg Is that a serious question? :)
 
user142019
Ah well. Simple geometric shapes: no copyright.
 
11:47 PM
> The probable limit of possibility... is a year because it's been a year that this supplier has been supplying.
 
user142019
FCUK IT.
 
user142019
 
user142019
:3
 
@Zoidberg If any, it would be with the original creators of the character
 
user142019
11:48 PM
Hmm, how would I do in Haskell a Minecraft game tick.
 
user142019
I was thinking of this:
 
@Zoidberg tick?
 
@FredOverflow Drew it yourself?
 
user142019
@sehe One tick. Like, every tick everything updates its state.
 
user142019
I was thinking of tick :: GameState -> Random -> GameState.
 
user142019
11:49 PM
But maybe I can do something more fancy with arrows.
 
3 mins ago, by FredOverflow
@Zoidberg You're gonna love this, on the question "How would you improve this course?" a student gave this answer:
 
Ah.
 
user142019
@FredOverflow oh missed that lol. Cool. :P
 
@Zoidberg Minecraft is java. You cannot do a minecraft game tick in Haskell (unless you write a JVM in Haskell. Oh wait... )
@Zoidberg Incroyable
 
user142019
@sehe No I mean in a server implementation in Haskell.
 
11:49 PM
@sehe <3
 
Alors, c'est le mercredi, hein?
 
user142019
lol "globals" in Haskell.
 
Lightness Races in Orbit, Nottingham, United Kingdom
69k 7 88 175
cool
didn't know it did that
 
@sehe Quoi?
 
also, I want more fucking badges
 
user142019
11:50 PM
main :: IO ()
main = do
    my''Global'' <- newIORef 42
    -- define all functions in here as lambdas
 
@EtiennedeMartel Isn't it? Oh shit. I didn't notice the time
 
user142019
@LightnessRacesinOrbit 69k nice number.
 
@Zoidberg Haha that's funny because it's a sexual position, see.
 
 
11:51 PM
@sehe Nous sommes effectivement mercredi.
 
Thank fuck for @Andrei!
 
I knew I was getting old when I stopped snickering at the number 69.
 
@EtiennedeMartel You guys. Always a little late
@AndreiTita I never did. I must have been fossile at birth
 
@AndreiTita I don't think I ever "snickered" at it.
 
@AndreiTita sexual position? Explain further.
 
11:53 PM
@Crowz Like, how people place their bodies with respect to one another when they fuck.
 
@AndreiTita Pics?
 
Meh, google it.
 
user142019
Also...
 
Would you stop it with those pictures?
 
user142019
I already stopped, you fool.
 
11:56 PM
ITT the sarcasm level is... stupid meme
 
@Zoidberg Thank you very much.
 
user142019
D:
 
@sehe Yes.
 
@AndreiTita You took long to reach such an obvious conclusion
 
@sehe I had it on a low-priority thread.
 

« first day (837 days earlier)      last day (4097 days later) »