« first day (2553 days earlier)      last day (2283 days later) » 
00:00 - 19:0019:00 - 00:00

12:28 AM
hah I totally thought I could get away with installing an unstable DE on a custom Linux distro for chromebooks
 
1:01 AM
I have a new charger now
 
@totallyhuman What DE?
 
@HyperNeutrino Increments and unincrements (I and `+` in Jelly)
Also, Jelly's mould (shape one list like another)
 
@HyperNeutrino added 2 in
idk about the bool one since I was too lazy to scroll
may be a dupe
 
@Pavel Pantheon :P
but I'm ridiculously happy with how gallium is working out on this former piece of feces
 
Eh, xfce isn't bad
 
1:18 AM
oh yeah xfce + arc dark + papirus, it's great
 
yay thanks for suggestions :D
array into booleans is just truthify so I'll add that in
 
plus a drop-down terminal, which I never realized could be so useful
 
@totallyhuman Absolutely. Drop-down terminals are neat.
 
1:51 AM
Python question, if anyone happens to know the answer: Say I have a directory A. A contains file a.py and also subdirectory B. Subdirectory B contains b.py. In b.py, how can I import a.py?
Diagram:
A
|- a.py
|- B
   |- b.py
I want to have import a in b.py, but if I just write that, I get ImportError.
 
i'm not sure, but maybe import A.a ?
 
@mudkip201 Still ImportError.
 
308
Q: Importing modules from parent folder

Ram RachumI am running Python 2.5. This is my folder tree: ptdraft/ nib.py simulations/ life/ life.py (I also have __init__.py in each folder, omitted here for readability) How do I import the nib module from inside the life module? I am hoping it is possible to do without tinkering with...

check the second answer
 
Ah--that's what I get for looking in Python docs instead of StackOverflow. :P
 
well... :P
ah
@DLosc perhaps from A import a, as suggested by those docs
 
1:58 AM
@mudkip201 Unfortunately, this won't work for me, since per the comments, "You have to be in a package, i.e., you must have an init.py file." I don't--this is more ad-hoc than that. It'll be easier just to move b.py into the A directory. Thanks, though!
(That's __init__.py)
 
yw
 
(I was reading docs.python.org/3/reference/import.html, incidentally.)
 
For those of you that were asking earlier about how the other dimensions worked in Funge-97, this is a short sample of Quadrefunge-97 code that demonstrates the basic concepts: Try it online!
I'm not exactly an expert on the subject, but if anyone wants to know more, I'll do my best to answer any questions you might have.
Although maybe the esolang room (whatever it's called) may be a better place for that.
 
2:20 AM
I think it's not good to integrate additional dimensions beyond the two in befunge, because there's no intuitive presentation. Where as characters in a wall of text is easily mapped to a pair of X and Y coordinates based on the column and row it's in, and moving a pointer inherently just means going to an adjacent grid, there's no clean way to lead into any more beyond that. While there are solutions like using markers or splitting code into multiple files, they just don't preserve that "obviously adjacent" style.
 
I didn't invent the language. It is what it is.
 
Back a while ago I used Atom more than Sublime because a) I broke sublime and b) sublime had some things about it that I didn't like. Then I upgraded Atom and now Atom has almost all of those exact things that caused me to convert to Atom D:
 
lol
 
@HyperNeutrino have you tried... VSCode?
 
I have a answer that requires hitting page-down 15 times to get past it. Can I put a lot of it in a GitHub gist and just keep the final program?
 
2:32 AM
hm no i haven't. is that good or are you saying "be glad atom is not that"
@MDXF most of it is explanations or something like that?
 
@HyperNeutrino VS Code is basically what Atom should have been, IMO.
 
@HyperNeutrino codegolf.stackexchange.com/a/153761/61563 nope most of it is BF derivatives
 
oh okay. hm I might check it out sometime but no I've never seen it before
oh it's that challenge. oh god D:
yeah I'd say do that so people don't have to scroll for 18 years :P
 
Yep gonna do that now
 
It's much faster, has incredible intellisense (especially for js), and IMO looks nicer.
 
2:34 AM
it takes me 30 PG-DN hits to get it completely off the screen
oh cool. thanks for the suggestion!
 
3:24 AM
I need a bit of Java help: I'm doing JSplitPane::setDividerLocation but it has no effect on the actual divider location which still shows up as 0. The order of events is create the split pane with components, add to the frame, set the frame to visible, change the divider location, and repaint the frame.
 
And I want to make a Rubik's Cube / Cubically room but it would just get frozen like all my other rooms
 
3:57 AM
CMP: Unicode for a scramble cube builtin?
 
Anonymous
@MDXF Same character as solve cube but Zalgo'd
 
@Mego that's a good idea but Zalgo comes after the character so how does the interpreter detect that XY (x = solve cube, Y = something zalgo) means command(XY) and not command(X) command(Y)
 
if you don't give Y its own meaning then XY is unambiguous
anyway gtg o/
 
Anonymous
@MDXF By correctly parsing Unicode combining marks
 
or doing things correctly ^ but ehh that takes effort :p
 
4:05 AM
eww, effort
6
 
4:21 AM
@mudkip201 Are there any Pyt docs? It looks pretty cool.
 
Asking PPCGers for documentation is pretty hit-or-miss
 
@Pavel hey mine are good cubically.github.io/docs
 
@tfbninja Yes there are, see github.com/mudkip201/pyt/wiki
 
Thanks! @Pavel
 
4:36 AM
@Pavel VS Code is also the best performing Electron app I've seen, it's pretty impressive
I wish it had better C++ intellisense though
 
5:03 AM
@quartata That's because it's not pure electron, lots of performance-intensive components interop with native code.
 
5:15 AM
@totallyhuman The next time I barf a frustrating tech problem into tnb, I'm citing this message.
 
@Pavel I figured, although the UI is still smooth
 
 
1 hour later…
6:37 AM
I posted in meta one possible challenger on the relevant function Atof in codegolf.meta.stackexchange.com/a/14666/58988 if someone want see what to change is welcome... thanks
With possible one vote for to decide if repost it in the main site or not
 
0
A: Sandbox for Proposed Challenges

RosLuPWrite a bullet proff Atof This is the function that every language has to have the function Atof, that means Array to float (for Reference K&R pag 69 70 in the italian version), it is a function that gets one number from one string. I say to write Atof function that has the follow two argument...

 
@RosLuP I edited it to be more readable, I think it maintains the original intent
 
7:23 AM
@Οurous thank you
 
8:05 AM
Today was my last day at work. I start the Uni business next week.
 
8:47 AM
1
Q: Bottom part of the Hourglass

Kevin CruijssenChallenge: Input: Three integers: bottom-edge length; starting amount of grains of sand; index Output: Output the state of the bottom part of an hourglass at the given index, based on the given bottom-edge length and amount of grains of sand. Challenge rules: We simulate the grains of sand w...

 
9:05 AM
When you golf so hard the compiler apologizes: Parse error [main.icl,3;31,nested guards]: sorry, but for the time being there is a default alternative for nested guards expected
 
@MDXF 🔀︎
 
 
3 hours later…
11:59 AM
@Adám For the array-to-float challenge, [...] means ? in regex, not *.
 
@user202729 You're right. I'll fix that.
@user202729 Maybe I should add PCREs?
 
... what if the language has multiple float types?
(multiple includes infinity)
 
@user202729 Are there languages with infinitely many float types that do not have infinite precision?
 
Choose the most or the least precise?
 
What about finite, but >1?
 
12:07 PM
@user202729 I'm sure the best is to let the answerer choose. I'll add that.
 
 
1 hour later…
1:07 PM
0
A: Sandbox for Proposed Challenges

Comrade SparklePonyPredict the DNA Nucleotides! Your task: Given the nucleotides on one side of a piece of DNA, predict what nucleotides are on the other side of the piece! Background Information: DNA is made up of 2 helixes, each of which contains nucleotides (which are proteins) represented by the letters A, ...

 
1:39 PM
Any Common Lisp people here?
 
Anonymous
@Dennis Nope, just Lisp royalty :P
 
I'll take what I can get. ;)
 
Anyway, I'm wondering whether it would make sense to offer both GNU CLISP and SBCL on TIO.
 
@Dennis ...should I interpret that the good or the bad way
 
Anonymous
1:53 PM
@Dennis How would that be different from the 3 versions of C# you have on TIO?
 
or the 5 versions of Python
 
well python 2 and python 3 have some pretty big differences
but like CPython vs PyPy vs IronPython so I see what you mean
@EriktheOutgolfer there are actually 7 versions
2 other things but those are Jython (not really Python) and Symbolic Python (esolang)
 
Anonymous
@EriktheOutgolfer There are actually 8 versions :P 1 vs 2 vs 3 are major differences. CPython vs PyPy vs Cython vs IronPython vs Jython offer significant differences, also, because of implementation details
 
is Jython even actually Python? I thought it was a Java-like language with python built-ins that compiles to JVM
or wait maybe it was a python-like language with Java built-ins
 
Anonymous
@HyperNeutrino It's Python hosted on the JVM
 
Anonymous
1:56 PM
Like IronPython but substitute JVM for .NET
 
Oh okay.
 
@Mego I'm fairly certain that there are significant differences between the .NET Core and Mono versions of C#. I have no clue if the same is true for SBCL. A recent addition to TIO required it, but symlinking clisp to sbcl seems to have been enough.
 
Anonymous
@Dennis The main differences between .NET Core and Mono are the lack of WinForms, WebForms, WPF, and ODBC in .NET Core, which doesn't make any difference for TIO's purposes, since you can't display forms or connect to a DB in TIO
 
Anonymous
Also you can't do Windows syscalls (like pInvoke) in .NET Core, which, once again, isn't relevant for TIO anyway :P
 
Anonymous
For TIO, the only real difference is performance, which is masked by the gremlins that randomly slow down the servers :P
 
2:08 PM
It's more than that. For example, 0b00010011_00000011_00011001 works with .NET Core and VIsual C#, but not Mono.
 
Anonymous
@Dennis That's just because Mono hasn't fully caught up to C# 7. I meant fundamental differences that transcend language versions.
 
ELVM is my new favorite toy.
7
 
@Dennis Witchcraft.
 
Anonymous
@Dennis Me too. I've been playing around with it, and it's awesome.
 
Anonymous
The logical next step is to use ELVM to generate polyglots
5
 
Anonymous
2:24 PM
And I just now realized that shinh made it. Because of course they did.
 
The any-to-EIR compilers are still building after 11 hours...
 
Neutrino is turning out so much more nicely than Enlist :D
 
2:44 PM
beeps
 
how goes it
 
you mean neutrino?
 
All in favor of waiting a few more days to collect nominations for best of? Not all categories have nominations yet.
 
I'm fine with that though I haven't really been following progress yet. Which ones have no nominations yet?
 
Anonymous
2:50 PM
@HyperNeutrino Best Mathematical Insight has 0, Kansas City Shuffle has 1
 
... What's EIR?
 
oh okay thanks
 
Anonymous
@user202729 ELVM IR
 
Anonymous
Like LLVM IR but for esolangs
 
New rule: If your program is not shorter than that generated by ELVM IR, it's not a serious contender.
 
Anonymous
2:52 PM
Basically shinh takes "so concerned with if you could that you never stopped to think if you should" to heart and produces great but mostly-impractical stuff :P
 
Anonymous
Like anagolf and ELVM
 
Why doesn't Unicode have 3D drawing characters...
 
(pls add bottom far back line ty)
 
No wiki?
I need new keyboard again...
 
@HyperNeutrino why does it output 5/2 instead of 2.5?
 
3:02 PM
because sympy
@user202729 I'll be adding that sometime. It's CP437 in case you're wondering.
@J.Sallé sympy does that (precision). you can add -n as an argument if you want to use native python number types
or --native
 
Anonymous
@HyperNeutrino Do you use just sympy or sympy+numpy?
 
just sympy right now
 
@HyperNeutrino ah, I see
 
i have lots against IEEE and how 0.1+0.2!=0.3 :p almost all languages I make use sympy numbers
(at least recent languages)
 
What do you have against the Institute of Electrical and Electronics Engineers?
 
3:10 PM
:(
 
^^ their absurdly high prices
 
Anonymous
@HyperNeutrino ...You do realize that Python has a fractions module, and so using sympy just for rationals is a bit overkill, right?
 
yeah, but later on I'll be adding stuff like e and pi and also there are complex numbers (not sure if fractions support those)
can't edit anymore but i meant IEEE754 :P
 
Anonymous
@HyperNeutrino For irrational/transcendental numbers, mpmath is lighter. Python's fractions support any numeric type.
 
Oh hm thanks. I might switch in that case
 
3:13 PM
But mpmath is still floating point, no?
 
it claims arbitrary precision
but mpm only does like computation stuff, it doesn't actually let you store number types which is what i need
 
@HyperNeutrino That just means you can make rounding errors as small as you want, not that they won't happen.
 
oh yeah ok. yeah no that doesn't work for me, i just read the docs
 
I wish there was a lighter version of SymPy. I do like that sqrt(2) is the actual square root of 2 instead of some approximation, but I don't need most of the stuff it has to offer, and I could live without the +500ms startup time.
 
Anonymous
@Dennis Yeah, but with irrationals/transcendentals, you can't do much better. Just symbolic computation tricks to reduce rounding errors. Which I guess is a fair reason for using sympy.
 
3:18 PM
yeah, the thing that makes me hesitate to use it so much for all of my languages is the startup time which really hurts proton because it's slow anyway
 
Are there any two hexadecimal numbers that only use the digits a-f, such that their difference is 9?
 
No.
Subtracting 9 from a hexadecimal number ending in a-f produces a hexadecimal number ending in 1-6.
 
oh, clever
 
CMP: Favourite branch of maths and / or physics / chemistry / biology / CS?
 
no CS?
 
3:26 PM
@Mr.Xcoder Maths: number theory; Physics: string theory (that a branch?); Chemistry: Inorganic; Biology: herpetology; CS: infosec
 
@Fatalize Added
(sorry for the ping J)
 
Np hahahah
 
Math: algebra I guess
Physics: Electromagnetism
Chemistry: despised it
Biology: despised it
CS: machine learning
 
math: probably linear algebra
phys/chem/bio: haven't done enough
CS: machine learning/AI as well :D
question about chat privileges: does counterflagging a flagged message subtract one flag from it?
 
Hmmmm. Kinda I think
 
3:32 PM
@Mr.Xcoder You didn't answer yourself
 
Hmmm good idea
 
@Pavel Are you going to extend the deadline or should I lock the post at 16:11?
 
@Mr.Xcoder math: number theory. Physics: astro or quantum. Chem: nuclear. bio: biochem. CS: graph theory
 
@Mr.Xcoder /Maths\?/: geometry, unless I stumble upon a particularily hard problem, then it's number theory. I love modulo arithmetic... Physics: classical mechanics, I guess. Chemistry: I'll pass on this one. Biology: genetics is the only one tolerable. CS: Hmm... data structures? Wait, do we count programming as a single branch?
 
Anonymous
@Mr.Xcoder Math: calculus; physics: QFT; chem: organic; bio: not really all that interested in bio in general; CS: computational classes
 
3:35 PM
@Mr.Xcoder Maths: abstract algebra / Physics: gravitics / Chemistry: ehh / Biology: ehh / CS: neural networks
 
@Mr.Xcoder Mathematics: Algebra and Calculus, Physics: Thermodynamics and Fluid Dynamics, Chemistry: organic, Biology: I don't really like anything about it, CS: Programming Language Theory (didn't study yet, but I want to in the future)
 
"Physics: Thermodynamics and Fluid Dynamics"
How can anyone ever like this
 
@AdmBorkBork gravitics?
@Fatalize ¯\_(ツ)_/¯ I love them
 
The hate for biology is real in this 'ere chat eh?
 
Now that you said that I got PTSD from those courses a few years ago
 
3:37 PM
@J.Sallé biology is heavy on just memorising stuff
same for history, for that matter
 
@Fatalize Huh why? Perhaps you didn't have good professors?
 
@Mr.Xcoder Maybe "gravitational theory" would be a better name
 
@NieDzejkob I’d argue that there’s as much memorization as any other science eg physics
 
@NieDzejkob Definitely agree. I hate history, and I don't like Biology nor Geography too much
 
There's probably plenty of interesting stuff in biology, but it's a long way past the "learn everything by heart" sections. Stopped studying it at 15yo so can't really say much about it
 
3:38 PM
if you have a good teacher you shouldn’t need to memorize much
 
But... What do you memorize in Physics? The formulas needed or what?
But, I think I would agree with ^^ if I had a good teacher
 
@Downgoat same
Well I might be biased since my biology teacher was my dad >.>
 
might
 
@Mr.Xcoder That was entirely what my Physics 101 course was in college. I hated it and wound up barely passing it.
 
3:43 PM
;-; sad to hear that.
 
@Mr.Xcoder masses of various particles, vocab, and maybe 1 or 2 more complex equations
 
ew vocab
 
What’s so ew about vocab :|
 
Oh you are probably talking about atomic and sub-atomic physics and the like (late high-school stuff).
 
@Downgoat i have to remember how to spell things and it's annoying and it's just pure memorization :P i hate it less for english stuff mostly i just hate french vocab units. but physics i guess is fine for the most part
 
3:46 PM
I also like Energy-related stuff in Physics
 
what grade/year are you people in
 
8th :P
 
oh huh lol :p
 
you?
 
3:47 PM
Out of? 12?
 
It sucks that kinematics is what generally is first taught in physics
 
yeah.
 
@HyperNeutrino Ph.D. student
 
oh nice :D
wait gaot what grade are you in
 
feels old
 
3:48 PM
:P
 
10th :P
 
oo cool :P
 
:o what? I thought you finished high-school for some reason (dumb me)
 
@Fatalize feels older
 
@HyperNeutrino y tho?
 
3:50 PM
because you guys are talking about school units and stuff and i had no idea what you were talking about so i was wondering if you are all a few grades ahead or if it's just because the canadian school system is really slow
 
Triangularity now has loop(s)! \o/
 
anyway gtg for a bit
 
Guys, does anyone know if it's possible to follow/bookmark a tag to get notified when a new post happens under that tag?
 
@HyperNeutrino they allow you to fly plane in Canadia that early :o
 
Anonymous
3:52 PM
@J.Sallé You can subscribe to an RSS feed
 
@Mr.Xcoder Oh right, Geography is horrible too.
 
I would't say it's horrible, I am just no fan of it
 
Oh god Geography
 
@HyperNeutrino Pretty sure the average PPCG population learns about science/tech subjects outside of the school ones
 
;-; I dislike the "mad teacher: You don't know what types of rocks are in the Eastern side of the middle portion of the Carpathian mountains? How can you be so superficial? How can you not know that?!?!?!" kind of situations
3
 
3:55 PM
@HyperNeutrino How locals would call that is complicated because the governing party just changed and they HAVE to revert the school reform, but it's somewhat like the 9th grade of primary school
 
@Mego yeah I thought of that, but that's tied to the browser, right? I've never actually used an RSS feed.
If it's tied to the browser I should probably wait until I get home to do it :p
 
Anonymous
@J.Sallé You can use stuff like IFTTT to email you when feeds update
 
@Mego Oooooh, I'll check that out. Thanks
 
4:18 PM
@Downgoat ?
@Fatalize well yeah that's true but we were also discussing how horrible the school system is :p or something like that
 
what tool would you use to find common sequences of space-separated words in a string?
 
I think It would be perfect if everyone could choose what to learn in school.
 
after a certain level
 
@NieDzejkob Python :P
@totallyhuman Yeah, like you should learn to read, write and perform basic arithmetic first
 
otherwise you'll just have everybody trying to be an astronaut or something
 
4:27 PM
@Mr.Xcoder Oh god no. Even less people would understand basic math.
 
33 secs ago, by Mr. Xcoder
@totallyhuman Yeah, like you should learn to read, write and perform basic arithmetic first
Of course there would be some mandatory classes.
 
also if nobody's brought it up yet, schools should not be using java for beginners
 
... Nor C++
 
OOP is evil, and C++ is evil on a separate level
 
i have a feeling i would've struggled with java in school if i hadn't known python before it
 
4:30 PM
My "informatics" lessons in high school involved a lot of Outlook.
 
;-; Ours involve C++
 
LOL, the first 8 years of "informatics" here is PowerPoint, formatting stuff in Word, MS Paint, and typing stuff from the textbook into the computer
 
tfw you don't check your email for about a week and you get > 1k notifications from the Mail app ಠ_ಠ
 
I learned my first programming language in college >.>
 
4:31 PM
With exam question like What key combo do you press to check your inbox?.
4
 
the 9th year began with Excel, then more presentations, then finally obsolete-for-ten-years-already html
 
@Dennis I'm in a similar situation rn. We have taken a break from C++ and are studying... Windows!
 
XD
at least they'd pick linux :P
 
@Dennis I wonder whether the teacher would accept C-a 1, sometimes C-a h, c =
also, the presentations MUST (the RFC meaning) contain hyperlinks
 
And there are questions like How do you create a new PowerPoint project? and How to you open a blank canvas in MS Paint?
 
4:33 PM
@Mr.Xcoder Not that similar. Outlook took a year. There was no programming at all.
 
Eugh....
Not to mention my teacher is against Linux and Mac :(
 
I used two links: one linked to a hidden slide with a near-rigorous proof on how hyperlinks in presentations suck, and a return link. She didn't complain...
 
And she doesn't know Python
 
how does one not know python
and know c++
 
I learned C way before I even knew Python existed.
 
4:35 PM
yes but if you've worked with literally any language before python, you can work with it
well, not any language
 
Nov 27 '17 at 18:36, by Mr. Xcoder
Lol... Our CS teacher was asked by a pupil to recommend him another programming language to learn (we learn C++ (eugh!) in school). They said that Python is among the best choices. Two weeks later (today), the boy asked them a question about Python classes. They said they don’t know Python......
Relevant about her ^
 
Well, I can recommend people to learn Python without knowing Python myself.
 
... :S why
 
@Mr.Xcoder have you told her she's completely and utterly crazy wrong?
 
Why not? I know about Python, have heard good things, see its popularity, etc.
 
4:39 PM
@J.Sallé Well, 50% anyway. hides
 
@Dennis fair point. Which half, though?
 
Linux is love, Linux is life.
 
agreed
 
Indeed
 
@J.Sallé Attempted to.
 
4:42 PM
@Mr.Xcoder well, tell her the internet people also think so.
 
For professional work, I can recommend people learn Python in the same way that I can recommend people not learn punch cards.
2
 
@AdmBorkBork algol is fun though
 
Sure, but I wouldn't see it being very popular in a professional setting.
 
Not at all (unless you devise a time machine, in which case: please share the tech)
 
@Dennis I'll extend the deadline
 
4:45 PM
OK
 
Nominations for best-of will last for another week until February.
 
Meta really has decreased in activity. The Best-Of post has less than a thousand views :/
 
@cairdcoinheringaahing I don't think most people are even aware meta exists
 
Anonymous
@cairdcoinheringaahing Really PPCG as a whole feels like it's not as active as it used to be
11
 
@HyperNeutrino Like a surprising amount of people here, 10th grade
@Mego I wouldn't know firsthand, but the site analytics definitely give that impression :/
 
Anonymous
5:01 PM
According to the site analytics, there was a significant drop in traffic in early December, and though traffic has been increasing weekly, it still hasn't recovered to pre-December levels
 
Search Engine Visits
google 62,228
yahoo 735
bing 490
yandex 245
Proof google is the best
 
Anonymous
So the question is: what happened in early December to cause such a drop in traffic?
 
@Mego I see a spike on the 5th Dec
Although, it dropped quite heavily for the week after
 
@Mego christmas rush starts?
 
Anonymous
I would think we'd have higher traffic during December because of winter break and such
 
Anonymous
5:11 PM
The spike on 5th Dec was probably a bunch of college kids who didn't bother studying or reading our help pages that came to PPCG to ask programming questions for their finals
 
maybe all of my advent challenges drove people away from the site
 
@AdmBorkBork Snapchat dog filter is popular but that doesn’t mean you should reccomend it :P
 
@Downgoat don't compare python to snapchat filters ಠ_ಠ
 
So, speaking of generating site activity-- :D --people seem to like the language of the month idea, but I'm still lacking some implementation details.
1) Is a month a good time frame?
 
you’re right. One has had a lot of thought put into its design, the other one is just a programming language :P
 
5:18 PM
err no
 
IMO both had a lot of thought put into its design
 
(watch the dog filter be implemented in python /s)
 
whatever your argument for python is, do you really think snapchat thought about filters
 
if they actually thought about filters why would they have like 18 million
 
like really thought about them
 
5:19 PM
(i don't actually know how many filters there are i don't have SC)
 
remember the hot dog
and the banana
 
@totallyhuman true, they did have a sheep filter
 
D: how could they
 
...that too i guess
 
@HyperNeutrino I have a grand total of 0 :P
 
5:22 PM
lol :p
 
I feel like the ELVM repo should contain some warnings. After 14 hours of compilation, the results take up 45 GiB, and we're still not finished...
 
did you try to compile every test to every target?
 
I just ran make.
 
Anonymous
@Dennis Yeah for some dumb reason that runs tests in between compiling each backend
 
There's a single file, elvm/out/eli.c.eir.tm, which I assume is an ELVM IR interpreter written in a Turing Machine. It's 31,222,256,729 bytes long.
 
Anonymous
5:27 PM
Including vimscript tests that take forever, which I assume is because they're trying to train a neural net to learn how to save+quit in vim
 
Anonymous
@Dennis That's an ELVM IR interpreter written in C and compiled to a Turing Machine
 
Q: If a language requires 2 CLA in order to run (in addition to the file), how is it scored? For example: python file.py 10 20 <inputs>
 
Exactly. It's very impressive, but I don't really need an ELVM IR interpreter written in TM.
 
Anonymous
@cairdcoinheringaahing Usually requiring extra input isn't allowed
 
What if the two extra CLAs are required to make any program run in the language?
 
5:32 PM
@cairdcoinheringaahing what (kind of) language are you thinking about?
 
Anonymous
@cairdcoinheringaahing Then that's a bit different. That would just be part of the language's invocation.
 
So I'm thinking about making a language where a central array in the main memory, and it requires to CLA to determine the size of the array. Would each different option be considered a different language, would they not count to the score, or would they be scored in another way?
 
maybe you could just dynamically allocate the array?
 
I think CLAs aren't counted in the bytecount anymore as long as you don't cheat by using -D... in C or something of a similar sort of idea
 
Anonymous
5:46 PM
Flags and such aren't counted in the bytecount anymore by the latest consensus - they're considered separate languages. In this case, I think that's apt - a variant of the language with X bytes of memory is different than a variant of the language with X+Y bytes of memory.
 
0
Q: Write a bullet-proof "Atof"

RosLuPWrite a bullet-proof "Atof" Atof (Array to float) is a function that every language has to have. (K&R: Atof in chapter 4.2 and strtod() in appendix B.5.) It gets one float from one string. For the purposes of this challenge, the number formats you must recognise are: [spaces][-][digits].digit...

 
0
A: Sandbox for Proposed Challenges

BeefsterPalindrome Compression Challenge: write a program that compresses and decompresses text losslessly. It should be specialized to work well with palindromes. The best compression with the smallest source wins. Scoring 500 * total_bytes_saved / program_size - Highest score wins total_bytes_saved...

 
Anonymous
NB: it's a lot easier to find meta consensuses when they were proposed by me :P
 
@Dennis How are you going to get it on TIO? You definitely can't build it there.
 
Anonymous
Also I recommend changing g++-6 to g++ in the Makefile, because g++7 won't be detected. Silly hardcoding tool versions.
 
6:13 PM
That would work too. I made a bunch of symlinks.
@Pavel I also can't copy it there. At least not all of it. I just want to see this build finish to know what I can do differently next time. The final result will most likely end up in github.com/TryItOnline/tiosetup-binaries.
 
@Dennis are you familiar with category theory?
 
Nope.
 
ok thanks
 
Anonymous
6:52 PM
Man, the tests for ELVM aren't great. The Java tests only work with Java 8 - not 9.
 
Anonymous
There's no forwards-compatibility with them
 
Anonymous
Because _ is used as an identifier in a lot of them
 
Anonymous
Oh wait, I think this is generated code. That's even worse
 
Anonymous
Though it's solved fairly easily by just making it emit code with two underscores instead of one :P
 
00:00 - 19:0019:00 - 00:00

« first day (2553 days earlier)      last day (2283 days later) »