« first day (1627 days earlier)      last day (3323 days later) » 

12:01 PM
btw about that VCS thing
I'd like to write a semantic VCS
 
Can't repro on Coliru. There must be something else at work.
 
Xeo
two key classes?
 
something that instead of "4 lines changed" tells you "1 function has an additional param"
 
Xeo
@BartekBanachewicz what's a "function" to a VCS
 
56 secs ago, by Bartek Banachewicz
I'd like to write a semantic VCS
 
12:02 PM
Morning
 
it needs to be able to work on ASTs
 
Xeo
hf writing a parser for every language :D
 
I don't want to support every language
I was thinking about doing it for some parts of C++ as proof-of-concept
 
You chose C++ for a PoC?
 
I haven't chosen anything yet
 
Xeo
12:03 PM
use Haskell, it got a built-in parser for itself
 
I was thinking about Lua, but Lua is dynamically typed
 
Xeo
Really, don't try C++ for a PoC
 
@BartekBanachewicz I think plasticSCM is supposed to have one
 
@Xeo it has parsers for a lot of languages
 
12:04 PM
@R.MartinhoFernandes I did all my PoCs in C++ in my current job
 
Xeo
@sehe Did those PoCs involve parsing C++?
 
@sehe Parsing C++?
 
Not for a semantic merge tool though o.O
@Xeo zertainly not
 
Xeo
well then
 
I was also thinking about Java
 
12:05 PM
Are you done decapitating me for missing a bit of context :)
 
@BartekBanachewicz That comes with trauma
 
Xeo
?
 
#define private public
 
Xeo
... erm
 
user1804599
12:06 PM
Stack Overflow is slow. Good.
 
Xeo
I won't say anything here.
 
@R.MartinhoFernandes the point is having a C++ semantic comparator could be useful at work
 
That's not what a PoC is.
 
@R.MartinhoFernandes should be a compile error
 
Xeo
12:07 PM
@Mgetz Is with VC++'s stdlib, if done before a standard include
 
How can I measure ram usage, cpu cycles and video memory being used by an application?
 
be god
 
@Mgetz I added it to the top of main to do some special testing.
 
@R.MartinhoFernandes who said a PoC can't be useful
 
> veeeery special testing
Main site is really dying on me. Tooo damn slow
 
12:09 PM
well parsing Haskell is also an option ofc
I wonder if I could integrate it with git diff somehow
 
@sehe I have not added the public API for inspection yet, so I needed to see the entrails.
(And it won't be just T const& t() const { return t_; })
 
@sehe ... I can't help point inform you I really want to point out the obvious pun :\
@VictorLopez stop watch
 
Just wat.
 
@sehe I like how you have the wine icon associated with 'hh'. short for 'he he, a sneaky bit of wine at work'?
 
still waiting for my sympathy
 
12:15 PM
@thecoshman So this has to do with the time and the cycles. I got it now.
 
> Bopomofo
 
@LightnessRacesinOrbit why should we just hand over our precious precious sympathy
 
> Ive never seen ">>" or "true" in C – etorr96 11 hours ago stackoverflow.com/questions/29358595/…
 
Do we have sympathy?
 
12:17 PM
@DonLarynx interesting. Also Y U no onebox link comment
 
@sehe my face :O
 
Main site status: dead, no respondy
 
Xeo
2 mins ago, by sehe
user image
:P
 
Ive never seen ">>" or "true" in C — etorr96 12 hours ago
That's how it's done
 
Loading package ghc-paths-0.1.0.9 ... linking ... done.
(module B where
 main = print "Hello, World!",
 [/, n, -, -, -, -, -, /, n],
 {AbsBinds [] []
    {Exports: [B.main <= main
                 <>]
     Exported types: B.main :: GHC.Types.IO ()
                     [LclId, Str=DmdType]
     Binds: main = System.IO.print "Hello, World!"}})
hey, this seems to work
 
12:20 PM
@sehe You can override getline and extraction operator for C using char[];
shit...can you?
 
@thecoshman html help thingy
@DonLarynx I have no idea what shrooms you're on (about)
@DonLarynx C doesn't have overloads, let alone userdefined operators
 
@sehe A classic
 
I searched it especially for you
 
6
Q: What's StackEgg?

M DI recently show in SO. What does it means? Why this image is showing here!

oh brother
 
I appreciate
 
user1804599
12:24 PM
@sehe wrong.
 
user1804599
Many things in C are overloaded.
 
user1804599
For example, + works on many types, and * means many different things depending on context.
 
@райтфолд April fools!
 
holy fuck
 
@LightnessRacesinOrbit "Maybe you should learn how to google first"
 
12:26 PM
the hello-world exe has 63MB
derp.
 
@sehe very slooooow
 
user1804599
I had a wonderful idea.
 
if I had a ____ for every time you said that
 
is SO getting DDoS'd or something
 
user1804599
YAML-based lisp.
 
12:30 PM
> Please report this as a GHC bug: haskell.org/ghc/reportabug
 
id be _____
 
oh well
maybe I should ask on SO first before reporting
 
user1804599
Good thing I already have a VM! :P
 
this stack egg thing is funny. People go for "questions" until it's full because it was down to zero, then "close" because quality is terrible, then start over.
 
I'd rather we had a proper tamagotchi
 
12:35 PM
tamagotchis are terrible
 
@райтфолд that's not what I said. But whatever. yeah. Google adhoc polymorphism etc. Yawn
> There is no such thing as "secret legal proceedings"

"Proceedings" are legal or they are secret.
+1 insightful
 
0
A: Shortest Substring Index

orlpPyth, 39 bytes Lsm.:bdtUbKfT.zj\,mhf!}Yjb-Kk+yky++bkbK Bruteforces all subsets of every string in increasing length and checks if that string occurs inside any other. If that doesn't work, it will do the same except for all subsets of \nstring\n.

 
@orlp The site is down
 
@orlp What attracts you to that
@khajvah Nope. It's just TERRIBRU slow
 
@R.MartinhoFernandes You're joking about it but I had interesting times trying to link stuff in a complex distributed program before realizing some smartass used #define private public on unit test modules
 
12:37 PM
@sehe It's fun
I don't have a problem with government withholding secret information in court, it's just that if they choose to do so the court should assume that the information was as positive as possible for the opposing party
 
@Puppy I dunno what's so terrible in them
 
@Jefffrey this is kinda nice (if you imagine it with the right accent it's quite realistic) puzzling.stackexchange.com/questions/8882/dirty-old-italian
 
I don't see how the player was supposed to derive enjoyment from them
 
@Puppy you open them, you hack them and play pac-man
that's the intended usage
 
You mean, DOOM
 
12:40 PM
yes, definitely
 
@MarcoA. shots fired
 
Yay, I can generate a 2^32 x 2^32 blank Life field in 5 microseconds gist.github.com/rmartinho/21aeb836e167f4674458.
 
@sehe I had wished for someone else to be fired :/
 
@Puppy you never see the fun in things that don't tell you exactly what you are supposed to do.
"What's this? use my imagination? fuck that"
@R.MartinhoFernandes that's a long time to do nothing :P
 
@thecoshman You say that like I never enjoyed playing KSP, Baldur's Gate and many other RPGs, and that I don't spend a fair proportion of my spare time deriving fun from programming.
 
12:43 PM
@Puppy because that is exactly true and I refuse to listen otherwise XD
o_0 I really need to book flights to London
 
okeydokey
 
that shit is going to be getting expensive :\
yes, I fly just so I can shit.
 
omfg this DDoS has been going on for like a week now
 
@Puppy you don't see many other things
 
@ScarletAmaranth which what?
 
12:44 PM
@R.MartinhoFernandes Me too. If I don't have to do anything else with it: struct { uint64_t w,h; } Life(1ull<<32, 1ull<<32);
 
@thecoshman github
 
@sehe oh no wait ull.
 
@sehe What about generating a completely full one in 5 microseconds?
 
goddamn postfixes.
 
@ScarletAmaranth oh right, 'they' are targeting specific repos aint they
@R.MartinhoFernandes memset :P
 
12:45 PM
@thecoshman A 2^32x2^32 field?
 
@Puppy :/ I also made that constructor call, not uniform initialization form so I don't run into compiler dependent narrowing. Yup.I thought about this
 
@thecoshman no idea; all I know is it takes ages to view gists
 
@R.MartinhoFernandes sure (I have no idea what I'm on about)
@ScarletAmaranth vOv not for me
 
@R.MartinhoFernandes Well. Lazy init :) Flyweight. Etc.
I'm pretty sure Life is considered essentially simple, so I bet we can just initlaize the state by blitting bits and leave the code to treat the mess
@thecoshman inb4 Premium Github Account
@R.MartinhoFernandes with memmap, no problem. Lazy init in the mix, done
 
12:48 PM
@sehe What about iterating that 2^30 generations in 50 microseconds?
 
@R.MartinhoFernandes you're rolling a hashlife implementation?
 
@R.MartinhoFernandes That's gonna be tough. I'm not convinced that should be possible. Unless you arrived at some kind of closed form and only evaluate the cells you are interested in?
 
@ScarletAmaranth Almost done, I think.
 
Xeo
Hashlife is a memoized algorithm for computing the long-term fate of a given starting configuration in Conway's Game of Life and related cellular automata, much more quickly than would be possible using alternative algorithms that simulate each time step of each cell of the automaton. The algorithm was first described by Bill Gosper in the early 1980s while he was engaged in research at the Xerox Palo Alto Research Center. Hashlife was originally implemented on Symbolics Lisp machines with the aid of the Flavors extension. == Hashlife == Hashlife is designed to exploit large amounts of spatial...
or how did that go?
there we go
 
:slightly :better
 
12:49 PM
going to bed before the turning of the clock, damn gonna miss the start of the troll festival :(
 
@Xeo I forgot about that :P
 
Cool stuff
 
sup whities
 
Soon I can start actually doing the game parts.
 
Once again you shed much light on the issue... thanks alot! I really wonder if you've ever considered wrinting a cookbook about Spirit... seriously! — fhw72 2 mins ago
 
12:51 PM
ITT sehe is an alot
 
Mmm. I might actually consider this if someone already has a project on Boost. I believe there's Highscore with a boost book. I've never read it :|
 
@sehe Not at all! But spent too long without nick change, the character was starting to settle in for good
I had antelope for dinner it was good
 
GNU is back
 
@MomotapaLimpopo I'd like to try it, but I can't see it being any good.
 
@khajvah no rage my fair-skinned friend
GNU/Javascript is the language of the web
 
12:53 PM
rage?
 
@thecoshman if you can't see it, your eyes are not any good
 
@MomotapaLimpopo [flag]
 
weather you like it or not
 
@MomotapaLimpopo IKR
 
For a 2^64x2^64, 2^62 generations, it takes 10% more than 2^32x2^32, 2^30 generations.
The crazies.
 
12:54 PM
I want to work for wolfram
 
Assigning functions to do stuff in a class feels so weird. Like I can pass in customized getters and setters and other behavior right in the constructor. It feels dirty
 
All those ThePhDisms were worth it.
 
@khajvah you'd have to start with "working"
 
@sehe little by little. I am still a student. (I work too though)
 

« first day (1627 days earlier)      last day (3323 days later) »