« first day (481 days earlier)      last day (2013 days later) » 

3:00 AM
Nothing is useless for code-golf...
 
3:25 AM
@user202729 But some stuff is so unlikely to be used that it isn't worth wasting extremely limited storage space on it
 
I know... it's impossible to install everything.
 
Especially considering that TIO is currently at 94% disk usage...
 
174
A: Why is GHC so large/big?

Simon MarlowIt's a bit silly really. Every library that comes with GHC is provided in no less than 4 flavours: static dynamic profiled GHCi The GHCi version is just the static version linked together in a single .o file. The other three versions all have their own set of interface files (.hi files) too...

 
4:16 AM
Fun.
And TIO has the entire Haskell platform.
Actually, Fedora 26 has the latest version in the repos. Might be smaller to install the Fedora-specific version.
 
Hey, I just saw that comment about that 1-100 challenge.. Maybe you could add a random time-out for various languages for the next few weeks and announce that in said challenge which would possibly help with people trying to force solutions.
(or just announce it & not implement it could help as well)
 
There's already a 60 second timeout, and I don't want to impair normal TIO usage because of one challenge.
 
Yeah, I understand. Just thought I might share this, since you seemed concerned
 
4:37 AM
Oh, I am.
 
Let's just hope this doesn't affect TIO too bad, good luck with it & thanks for running this truly awesome service!
 
4:53 AM
:)
If it gets bad, I can always spin up a few additional servers.
 
 
7 hours later…
12:08 PM
@Dennis 94%!? How big is the disk?
 
20 GiB
 
12:28 PM
Huh. That gives about 50M average language size, which is reasonable. I don't know why my brain finds this surprising but I can't seem to convince it otherwise.
 
More than half of the languages actually occupy less than 1 MB each.
 
 
6 hours later…
6:15 PM
I've installed the Haskell platform from Fedora repos now, which saves a lot of space. Please let me know if this causes any issues.
 
 
1 hour later…
7:30 PM
@Dennis: So far I only noticed that System.Random is missing
I just went through most of my Haskell answers and this seems to be the only important module that is missing (apart from Network.HTTP.Simple which I used once but since TIO doesn't allow inet access this is not needed..)
Oh maybe installing Data.Matrix would be a good idea too, haven't used it so far but who knows
 
@BruceForte And that worked before?
 
For System.Random I'm pretty sure, about the Data.Matrix package I'm not sure
 
@Dennis Yes, it's even cached: codegolf.stackexchange.com/a/150721/56433
 
7:46 PM
I guess installing it via cabal install --global random would be the easiest, maybe a per-user install would suffice too but I don't know anything about the TIO infrastructure
(for Data.Matrix it would be just matrix)
@Laikoni: Maybe you know a better way? (I prefer using stack)
 
@BruceForte I use cabal on Windows, so I don't really know if there are differences on Fedora.
 
I know that on Linux there's a difference between --global and (if I recall correctly) omitting that flag does only a per user install by default.. Those are the reasons I use stack :) It's like virtualenv for Python
 
8:28 PM
I'm using --global for the other packages anyway.
I just don't know why I need it all of the sudden. I went from a 8.0.2 Haskell platform to a 8.0.2 Haskell platform...
And the Fedora package ghc-random is installed, so...
 
8:47 PM
That's really weird, according to this it should work with ghc-random
 
I seem to need ghc-random-devel, as plain ghc-random doesn't come with System/Random.hi.
Any chance that's a bug?
 
Ooh, that kind makes sense. I think this is desired behaviour
Just had a quick google, seems like it's a common problem
 
I think it's a bug in Fedora's haskell-platform meta package. For pretty much all ghc-* packages, the corresponding ghc-*-devel is installed as well.
 
(even though that's Ubuntu & not Fedora)
Maybe it is yeah
Well, I'm glad you figured it out and it seems to have an easy fix.
 
OK, System.Random is fixed. Kind unnerving that it broke in the first place though...
 
8:59 PM
Thanks a lot & sorry for the hassle :(
 
Thanks for finding that regression as soon as you did.
 
The least I can do :)
 
9:29 PM
There seem to be some leftovers of the previous install. ghc-pkg check isn't happy. I'll fix that in a little while.
 
I think that's pretty normal :P On my machine the output isn't very nice either
 
Ah, OK. Already reinstalling everything. :P
 
Hehe, well with an automated setup that's an option.. In my case I'd rather not do that
Out of interest, how many instances are you running for TIO atm?
 
5 production servers and a testing server.
 
Wow, didn't expect that..
Are there a lot of people that are using TIO not for PPCG?
 
9:39 PM
I'm not really sure tbh.
 
Would be interesting to know, but please don't include google-analytics.
 
Never.
 
Hehe
 

« first day (481 days earlier)      last day (2013 days later) »