talk.tryitonline.net

For general discussion and feature requests regarding tryitonl...
Mar 16, 2019 16:40
@Dennis My bad, at some point I was cleaning up my repos and forgot it was linked to TIO, it's online again.
Mar 15, 2019 19:45
@Dennis Nice, thank you!
Mar 13, 2019 15:10
@Dennis Sorry for the late reply, yeah I think that should do the trick
Mar 10, 2019 01:37
@Dennis: Can you cabal install haskell-src-exts please? Would be useful for this :)
 

 Of Monads and Men

For discussion about, learning of and golfing in Haskell codeg...
Mar 15, 2019 22:12
And it does GHCi integration (not sure how well though, never used it)
Mar 15, 2019 22:12
@JosephSible Just had a look, repl.it is fairly up-to-date
Mar 15, 2019 22:04
(not that I've ever used Hugs)
Mar 15, 2019 22:03
But it won't work with Hugs :p
Mar 15, 2019 22:03
There are a lot of CPP-macros by GHC, so you could use __GLASGOW_HASKELL__ `divMod` 100
Mar 15, 2019 21:56
@flawr -cpp flag could help ^^
Mar 15, 2019 21:55
I have no clue about fedora's package manager, but there are custom repos with newer ones. Though I'd understand if Dennis wants to wait for a stable, official build & also GHC is huge
Mar 15, 2019 21:54
Mar 15, 2019 21:52
Wow, TIOs GHC is at 8.2.2 why are Fedora repos so outdated?
Mar 15, 2019 21:49
@flawr I felt like using a temporary new one and I like the Georgian alphabet ^^
Mar 15, 2019 21:20
@ბიმო (except for also counting new-lines as ;)
Mar 15, 2019 21:20
Here's the tokenizer
Mar 15, 2019 21:17
Atm. it's just count tokens, straight. I'm wondering if I should use custom rules for number and string-literals, that they count as their full length (eg. "" costs 2, "enc" 5 etc) since there is potential to abuse this..
Mar 15, 2019 21:16
Regarding this [code-challenge] (tldr: count Haskell 2010 tokens instead of bytes), anyone have a strong opinion for introducing custom token costs?
 
Mar 15, 2019 17:18
@JosephSible ^
Mar 15, 2019 17:15
Btw. the same permutation as in the description 2,1,4,3,6,5... would give (-)<*>((-1)^), 639
 
BMO
Feb 14, 2019 23:31
Also needs constant refresh, etc.
BMO
Feb 14, 2019 23:31
One thing is zero-rules ^^
BMO
Feb 14, 2019 23:31
Yeah, most of it doesn't really work :S
BMO
Feb 14, 2019 23:10
Ah it needs /index.html: bforte.github.io/index.html
BMO
Feb 14, 2019 23:08
Did some typescript to graph the stuff but it wip
BMO
Feb 14, 2019 23:08
Somehow I get a 404, probably takes some time (never did github.io static sites before)
BMO
Feb 14, 2019 23:07
BMO
Feb 14, 2019 22:58
But this stuff is not feasible at all, keeping track of all the variables is too much :(
BMO
Feb 14, 2019 22:55
@ASCII-only: imgur.com/a/9qtvIOY
BMO
Feb 14, 2019 22:33
But same with 0a+0b+s->Out_"x" instead :(
BMO
Feb 14, 2019 22:31
Ah, maybe shouldn't be an Out-atom, sorry
BMO
Feb 14, 2019 22:28
^ this is still not effectively deterministic, I don't understand what that means?
BMO
Feb 14, 2019 22:28
`_->10a+8b+s
s+a->s
s+b->s
s+0b->Out_a`
BMO
Feb 14, 2019 22:25
@ASCII-only I'll see, things changed quite a bit.. Before it was just a quick and dirty thing, I did some refactoring :(
BMO
Feb 14, 2019 18:42
The thing is now that I changed the code, transform is not needed..
BMO
Feb 14, 2019 18:41
Also why is there a new D3 flag? It doesn't seem to be needed :S
BMO
Feb 14, 2019 18:39
BMO
Feb 14, 2019 18:39
@ASCII-only I tried to adapt it, but I seem to have broken it:
BMO
Feb 14, 2019 16:03
@JoKing Yeah, atm that's the only way to implement weights (which is a bit restrictive since you can only have fractions)
BMO
Feb 14, 2019 16:01
@ASCII-only Sure, if something gets faster/more comfortable and nothing is changed with the probabilities of executions, I'd like that :)
BMO
Feb 14, 2019 15:57
@ASCII-only I don't think it's possible in general, maybe recognizing some often recurring patterns is possible though.
BMO
Feb 14, 2019 15:56
@JoKing I'm not yet sure about these atoms, currently % just clears the whole universe and ? dumps the complete state to stderr.
BMO
Feb 14, 2019 00:08
Did you do some work on detecting multiple-rule cycles or the like?
BMO
Feb 14, 2019 00:07
@ASCII-only I don't understand what effectivelydeterministic is supposed to do?
BMO
Feb 14, 2019 00:06
Also maybe debugging atoms?
BMO
Feb 14, 2019 00:06
Up to suggestions for output etc.
BMO
Feb 14, 2019 00:05
BMO
Feb 14, 2019 00:05
I did some work on Alchemist, prints the universe and "compresses" rule:
BMO
Feb 14, 2019 00:04
@ASCII-only It just checks whether there were multiple rules applicable, if so the computation is not determinitic
 

 The Nineteenth Byte

The Nineteenth Byte: General discussion for codegolf.stackexc...
BMO
Feb 7, 2019 16:24
@BMO Updated the readme