« first day (1976 days earlier)      last day (2860 days later) » 

12:01 AM
The eternal tradeoff between speed and safety strikes again...
 
I'm on I now!
 
So is that "showcase your language" question still active? Are things still happening there?
 
Excellent!
 
Do I even want to know
 
0
Q: Professor Schwartzman's Acme Canine Decoder 2000

A. MirabeauIntroduction We -- especially the geeks among us, who tend to be fans -- all remember this old Far Side cartoon: Clearly, Professor Schwartzman could have brushed up on his programming skills just a wee bit more before he put his invention to use. But can you replicate it yourself... using as...

 
12:46 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ it's just a song <_<
 
it looks weird
 
@Quill uh, why are they .html files in src/
this is big problem pls fix
 
idk, probably the remap istanbul command
take a look at the command that I added to the make file
 
not the Constantinople one?
 
12:58 AM
thank you
 
np
@Quill do I have to do a make build now before doing a make test? And do I need to build with source maps for it to work?
 
not necessarily as long as you build with sourcemaps because you need sourcemaps and yes
The sourcemaps tell Istanbul where the original code comes from
Try adding inline after --source-maps in the make file
not in quotes, just in words
 
with an = or not?
 
no (I don't think so)
on the bottom of the built JS files will be a sourcemap comment if they're inline
 
  Assignment
    definition
=============================================================================
Writing coverage object [/home/ubuntu/workspace/Cheddar/coverage/coverage.json]
Writing coverage reports at [/home/ubuntu/workspace/Cheddar/coverage]
=============================================================================
make: *** [test] Error 69
i dont even know what broke
 'a' => CheddarVariable { Value: [Object], Writeable: true, StrictType: null },
ono
@Quill I think I unborked mocha :D :D :D :D :D seems to be working now \o/ \o/ \o/ \o/ \o/
omg yes it does work
wait wat shit no it doesnt
 
1:11 AM
Mocha isn't broken.... Your tests / Your code is broken
 
@CᴏɴᴏʀO'Bʀɪᴇɴ pls halp your nthprime is borked pls fix pls
 
@Downgoat just remove it for the moment
 
@Quill no it's babel's tail call optimization. It doesn't work apparently
ReferenceError: regeneratorRuntime is not defined
I've had this problem before
@Quill can I remove babel-cli and babel-istanbul now?
 
No, and yes
babel-cli is what runs the babel conversion
You can remove babel-node though
 
babel-node = babel-cli ;P
 
1:14 AM
:( whatever.... I'm on Cloud9 now if you need a hand
 
@Quill is there a way to remove all dev-dependencies and keep just the normal dependencies?
 
Edit the package.json manually
 
and carefully
 
I mean like the already installed dependencies in node_modules. I want the Cheddar installer to remove all the unneeded dependencies when it is installing a production build
;_; @node_dependencies y u taek so long to instal
@Quill wait why the switch to istanbul rather than babel-istanbul?
 
it's faster, and the tests are all normal JS now
 
1:25 AM
ok good point
 
-.-
class TestLangDetails implements LanguageDetail ...
java.lang.ClassCastException: com.VTC.laura.test.TestLangDetails cannot be cast to com.VTC.langlib.data.LanguageDetail
ಠ_ಠ
Does anybody see what I'm doing wrong here?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ can you un-generator-ify your nth prime code :3 its borking with it
 
@VTCAKAVSMoACE using java?
@Downgoat just take it out. I'm kinda busy
 
okay I'll do that for nwo
 
@CᴏɴᴏʀO'Bʀɪᴇɴ okay seriously not cool
 
1:36 AM
sowee
 
@VTCAKAVSMoACE maybe explicitely define a cast to the thing
 
don't stack calls, break them apart so you can find the issue
 
idk how to java though
 
or stack them on new lines
 
1:38 AM
@Quill I'm using verbose mode with full callstacks, I just didn't post the whole thing.
@Downgoat Doesn't work - I have to use dynamic casting because I'm loading from a inconstant source.
 
@Quill can u pls fix html files bug
 
45 mins ago, by Quill
idk, probably the remap istanbul command
 
how to fix
 
java.lang.ClassCastException: com.VTC.laura.test.TestLangDetails cannot be cast to com.VTC.langlib.data.LanguageDetail
	at com.VTC.laura.core.Main.main(Main.java:23)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
 
ill googl
 
1:40 AM
@Quill One problem is that my code is really, really, really meta.
 
@Quill question: where is the istanbul covergae settings json
 
no settings, the config is in the call made in the makefile
 
such green...
@Quill we forgot to put remap-istanbul in package.json >_>
wait wat
make: ./node_modules/.bin/remap-istanbul: Command not found
 
maybe I'll try clearing the cache
 
1:52 AM
ugh I think my lack of math courses is slowing me down on learning OpenGL
these matrices are really weird.
Besides khanacademy, is there some other websites for learning matrix math?
 
make: *** No rule to make target `node_modules/.bin/babel', needed by `build'.  Stop.
wtf
 
It's interesting how often you have problems with non-Cheddar code. :P
 
I think this is cheddar code
 
Well, I make a distinction between the code that directly implements Cheddar and everything else around it.
 
1:56 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ No, it's problems with the compilation and test result mappings
 
@El'endiaStarman I can not literally make a single change without everything blowing up >_>
 
what about adding a semicolon at the end of a .js file
 
Solution: Stop making changes :P
 
fuc— why the hell is babel not installing >:| it says it installed! Travis what is this BS
Jun 21 at 5:47, by Upgoat
screw it im rage quitting
 
2:02 AM
I hate that 75% of the languages on esolangs are without a (current) interpreter
 
0
Q: ClassCastException thrown when calling .newInstance

VoteToCloseI have a program in which I am loading classes dynamically in order to pick what libraries to use at runtime. For some reason, when attempting to instantiate a direct implementer of the interface needing implementation, it throws a ClassCastException. The buggy line can be found here, but referen...

 
> is taking this threat super-seriously
anytime you here "super-seriously" you know it's not serious
 
/me is grumpy that this isn't working.
 
/me is also grumpy goat because cheese is not working
 
@Downgoat s/here/hear
 
2:04 AM
._.
@Quill isn't travis automatically supposed to run npm install? For me it isn't ._.
 
any real languages that begin with I? all the esolangs ones have no interpreter afaict, or are impractical
 
@VTC Did it fail the same way when you were doing it via setupInstance()?
 
btw isn't cheddar basically Cheese++++?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ IDL?
@CᴏɴᴏʀO'Bʀɪᴇɴ >:| brb filing copyright lawsuit
 
ᴀɢᴀɪɴsᴛ ᴡʜᴏ? ᴡʜᴏ ᴡᴀs ᴛʜᴇʀᴇ ғɪʀsᴛ
 
2:09 AM
yay \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/
@Quill coverage is at 90% O_O :D
 
@Downgoat afaict that can't use strings
 
@Downgoat Nice work
 
The aim of this list of programming languages is to include all notable programming languages in existence, both those in current use and historical ones, in alphabetical order, except for dialects of BASIC and esoteric programming languages. Note: Dialects of BASIC have been moved to the separate List of BASIC dialects. Note: This page does not list esoteric programming languages. == A == == B == == C == == D == == E == == F == == G == == H == == I == == J == == K == == L == == M == == N == == O == == P == == Q == == R == == S == == T == == U == ...
 
@El'endiaStarman o_o I was looking at the wikipedia category for programming languages
wtf
 
@Geobits .setupInstance()?
 
2:17 AM
This is a strange question, but is there a synonym of "duplicate" that doesn't start with the letter "d"?
 
copy
fake
sequentialAddition (shhh it's a word)
 
@DrGreenEggsandIronMan clone
 
for this rube goldberg challenge, I've downloaded like twenty interpreters o_o
 
@Downgoat ooh, that's good. But I should have been more specific, it can't start with "d", "c", or "y".
 
How about "replicate"?
 
oddly specific
 
@DrGreenEggsandIronMan reproduce
 
facsimile, reproduction
wait, noun duplicate or verb duplicate?
 
It's for V. I want all of the commands to have mnemonics for what they do. I already have duplicate, but I want to add "delete"
Verb
 
2:24 AM
copy
 
Io is a pure object-oriented programming language inspired by Smalltalk, Self, Lua, Lisp, Act1, and NewtonScript. Io has a prototype-based object model similar to the ones in Self and NewtonScript, eliminating the distinction between instance and class. Like Smalltalk, everything is an object and it uses dynamic typing. Like Lisp, programs are just data trees. Io uses actors for concurrency. Remarkable features of Io are its minimal size and openness to using external code resources. Io is executed by a small, portable virtual machine. == History == The language was created by Steve Dekorte in...
 
@DrGreenEggsandIronMan fixed
 
@Downgoat no, I like replicate.
 
oh ok
 
Or recreate, or reproduce
 
2:25 AM
which do you like better \uXXXX or \u{code} the latter supports higher code points like emojis though
 
@Downgoat Sounds like the problem is in the tools you are using
 
@quartata I can't find an interpreter for download
 
i.e Node, NPM, Babel, Grunt, JavaScript, OS X...
 
yes node debugger was forged from literal shit
 
@CᴏɴᴏʀO'Bʀɪᴇɴ iolanguage.org/binaries.html
 
2:26 AM
@quartata not using grunt or OS X. JS == Node.
 
@quartata what is this black majik
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I used my eyeballs
 
babel ∈ NPM and NPM ∈ node. so only problem is with you hating node
 
@quartata majiiiik
 
> JS == Node
Jun 17 at 23:30, by quartata
@Bálint Node is a tiny thin layer over JavaScript
Jun 17 at 23:30, by Upgoat
@quartata hahahaha, sure, and python is a tiny thin layer over machine code
jeez make your mind
I mean really
 
2:27 AM
what should be the string representation of a function. e.g. result of print Math.isprime
 
2 ∈ N, so I guess N is a thin layer of 2
 
I'm thinking: "< Function "isprime" >" but that's ugly
 
@Downgoat Whatever your normal Object representation is
 
don't have one yet
 
I recommend <class object-name>
 
2:28 AM
@Downgoat { function isprime of object Math because downgoat }
verbose ftw
 
but where does it state what isprime is
what is isprime is global and isn't in any object
 
> These binaries are provided with absolutely ZERO warranty.
Use at your own risk.
oh geez
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ಠ_ಠ I am not trying to make Java pseudocode
 
@quartata JavaScript is run through engines. The V8 engine powers Chrome and Node, so yeah, they're similar. Browsers have the DOM stuff and limited IO capability, Node has more IO capability and structures for directory style programs
 
@Quill <joke>
 
2:31 AM
@Downgoat {func.isprime} golfier!
@quartata s/</<\//
 
Just pointing out Downgoat's semi-inconsistent relation with JavaScript
 
@quartata </my-feelings>
 
Somedays he says it's the greatest thing ever
 
3 mins ago, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
2 ∈ N, so I guess N is a thin layer of 2
 
Somedays he says it's literal shit
It's OK, I do the same thing with C sometimes
 
2:32 AM
@quartata I don't think anybody told you, but... people are inconsistent. :/
 
@CᴏɴᴏʀO'Bʀɪᴇɴ What about goats?
 
@quartata that is when im pissy because my code is broken
ooohhh i forgot to be throwing syntax errors :|
 
@quartata ... Idk. most animals seem to have it down
 
Seems pretty consistent to me
 
it checks out on the Geiger counter
oh geez my code is filling up with real real escapes
 
2:42 AM
the highest level language
 
how is HQ9+ not on esolang's lang list
 
2:59 AM
Golfed gcd function definition in Pytek: func:gcd(a b){\while(b){b a=a%b b}}.
 
noice
 
3:14 AM
yay
0
A: ClassCastException thrown when calling .asSubclass from separate jar

VoteToCloseOkay, found the answer using the knowledge that Erwin Bolwidt gave me; in class Main, replacing: URLClassLoader cl = URLClassLoader.newInstance(urls); with: URLClassLoader cl = URLClassLoader.newInstance(urls, Main.class.getClassLoader()); Fixes the problem. :P

 
@El'endiaStarman what does b a=a%b b do?
 
@Downgoat Equivalent to Python's b, a = a%b, b.
 
oh. I think you should make it have commas too
 
The trick I'm using is that functions automatically return the very last piece of code.
@Downgoat You can put in commas without a problem.
 
oh ok, good
but I think commas should be required to avoid typos actually executing correctly
 
3:22 AM
Yeah, I may end up requiring them.
I dunno. I kinda like how lists and such look without commas. L = [1 2 3]
 
3:50 AM
look at that beautiful error :^)
 
how does it look on the Web REPL
 
idk not yet pushed
most errors still don't propagate down the many many many many layers of the tokenizer
I'd make the tokenizer simpler but if I want to allow user-defined literals I can't
I'm thinking instead of Chdedar v0.3 I'll go straight to v1 as the upcoming update has sooooo many new features. I'll just cram in functions and classes in the next few weeks >_>
 
@Downgoat *cough*anchoring bug*cough*
 
fixed it
 
\o/
is it on the web repl?
 
3:59 AM
no
not even on GH
ooohhhh. The grammar parser was setting the token index after the derivation was completed >_> that's why the stuff wasn't setting
Syntax Error: Expected a code block at 1:8
0 | if true asdf
  |         ^
:D :D :D it works!
nvm line numbering is off
 
> line 0
nice
 
fixed it >_>
cheddar> 1 1
Syntax Error: Unexpected token at 1:2
1 | 1 1
  |   ^
:D :D :D :D :D :D such beautiful erroring :')
@Maltysen ^^
 
4:16 AM
:D
 
4:27 AM
;_; an error occurred erroring the error about the error erroring the error.
@Quill is it even possible for this to be undefined in an ES5 functio
 
this = undefined
 
wait wat that can actually work
@Quill nope that errors
 
Hey, I just hit 100k people reached on PPCG!
\o/ \o/ \o/
 
wow virtualbox is actually really good
i haven't had a single configuration error or anything yet
 
you can destroy the function's scope in special ways, for example: developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/…
 
4:58 AM
Hey, this is really cool: github.com/sirnuke/steambridge
 
@DrGreenEggsandIronMan \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ congrats!
@Maltysen wat were u expecting?
its open source so bugs are squashsed quickly
 
@Downgoat just that i've always had bad experiences with things in this sort of area
 
D:
 
this has also reminded me just how good of an OS windows 7 was
fricken microsoft, ruining everything
 
@Downgoat Thanks!
 
5:06 AM
>_> i should get back to being active on main
 
5:32 AM
cheddar> 'a' + 'b
Syntax Error: Expected a matching delimiter for `'` at 1:6
1 | 'a' + 'b
  |       ^
:D :D :D string erroring
@DrGreenEggsandIronMan Do you happen to know what does the g command do in vim? I can't find anything on the web >_>
 
Haha, a better question is what doesn't the g command do.
There are a lot of unrelated commands that start with g. gg, gu, gU, g~, g?, :g, ga, gx, gf
And probably a bunch of others.
 
CMC: write a code that will theoretically produce the graham number.
 
BigInt.random()
above is pseudo-code
 
@Downgoat According to vim's :help g, there are 60 commands starting with g.
 
it only theoretically works ;)
@DrGreenEggsandIronMan oh so g isn't like d in the fact that it is a command by itself. It is just part of a command?
 
5:39 AM
No, it's more like <leader> It plus another key is a command operator.
And most of them work with motions just like other operators.
For example, guw converts a word to lowercase, and gu7| converts everything to the seventh column to lowercase, and guG converts everything to the end to lowercase, etc.
Actually, speaking of the gU operator, I just recently used that to beat dennis.
2
A: Capitalize first letter of each word of input

Dr Green Eggs and Iron ManVim, 11 bytes qqgUlW@qq@q Explanation: qq #Start recording in register 'q' gUl #Make the character under the cursor uppercase W #Move forward a WORD @q #recursively call macro 'q' q #stop recording @q #Call the recursive macro Do ...

 
huh. ok, i understand. +2 good explanation
 
Glad to help :) Also, z is the exact same way, although it's mostly for folds.
@Downgoat Haha!
s/can/can't
 
%s ftfy
 
It's only on one line.
 
oh
yeah >_>
> some commits
 
5:50 AM
@Downgoat very funny
 
I think "some" is underestimating it a bit
@LeakyNun >_> was that sarcasm
> 89.596%
noooooooooooo ;_; just short of 90%
 
Do you think "Find all the lists that sum to n" would be closed as a dupe of this:
15
Q: Random Golf of the Day #3: Integer Partitions

Martin EnderAbout the Series First off, you may treat this like any other code golf challenge, and answer it without worrying about the series at all. However, there is a leaderboard across all challenges. You can find the leaderboard along with some more information about the series in the first post. Alt...

 
@DrGreenEggsandIronMan no, because IIRC, he specifically tells you not to generate all partitions
 
Hmm. It still feels like a trivial change.
There's also this challenge, but it's old and low-quality (popcon for no good reason):
2
Q: Compute the number of ways how you can express a number as a sum

Petr PudlákFor a given natural number n, compute the number of ways how one can express n as a sum of positive natural numbers. For example, for n = 1 there is just one way. For n = 4 we have 5 possible ways: 1 + 1 + 1 + 1 1 + 1 + 2 1 + 3 2 + 2 4 The ordering of terms in a sum doesn't matter, so 1 + 3 an...

 
> popularity-contest
@PetrPudlák y u do dis
@DrGreenEggsandIronMan code-golf or fastest-code?
 
6:03 AM
@Downgoat yes
 
;_;
 
ah ok. would be more interesting under fastest-code imo, but fastest-code questions are difficult to do
 
You know, that could be really interesting, and it wouldn't be (close to) a dupe anymore.
 
@DrGreenEggsandIronMan just saying, builitins for this are there in as far as I know, Pyth and Mathematica, and probably others
./ Pyth, 2 bytes
 
6:05 AM
question: is sudo find / -delete an alternative to sudo rm -rf / --no-preserve-root
 
@Downgoat are you trying to kill a computer? ಠ_ಠ
 
no just curious
hey maybe you could try it on your new VM
 
rm -rf / --ing a VM is extremely fun
 
@Downgoat its windows
 
ಠ_ಠ why would you make a windows VM
that's like making a Java interpreter in Jelly
 
6:10 AM
@Downgoat because having windows running on my actual computer would be even worse
 
ok fair point
 
@Maltysen ;-; Y u hat windoz?
 
becus noting werks on it
tri instal ches or gnu maek
 
I did install cheeze. It worked on the first try.
 
wat reelee
can u updat to v1.0.0-pre pls then
 
6:14 AM
@DrGreenEggsandIronMan windows 7 is kewl, but the stupid microsoft people only give you the other ones, which deserve hate.
 
8? Yes. 10? No.
 
nah. version 7 of windows is best version of windows
 
@Downgoat you're using make now? turning to the side of the tabs? ;P
 
tabs are better for somethings than spaces, and vice-versa
 
No, not really.
 
6:19 AM
waddya mean?
 
There is never a time in my life when I've honestly thought to myself, "Hey, life would be so much better if I could use one character that is displayed as God-knows how many spaces, except that it changes in every single program I use, rather than just using the exact number of spaces that I want."
 
tabs good for makefile. spaces good for javscript with 1000 closures
tabs are golfier too
 
What? No they aren't.
Not unless you're using python 2 with more than one level of indentation.
 
\s\s\s\s = 4 bytes \t = 1 bytes
 
Yeah, I know. When do you actually need four spaces? (in golf)
 
6:23 AM
idk tabs have their uses and so do spaces
especially on older systems/utilities where at the time spaces wouldn't of been very practical
 
Tabs can only create pain.
 
@DrGreenEggsandIronMan but that's the point. why do you want to control the width of your indentation instead of letting the person currently viewing it control it?
 
@Maltysen Well then it sucks to suck.
If they really care that much, :%s/ / /g or whatever they prefer.
Or, I suppose :%s/ /\t/g
 
@Quill for some reason when I construct a class. It's not getting it's prototype
 
6:27 AM
I'm mostly kidding, although I do really dislike tabs.
 
> console.log(CheddarString.prototype.Scope);
< Map {
  'slice' => CheddarVariable {
  Value: CheddarFunction { args: [Object], body: [Function], preset: null, cache: {} },
  Writeable: false,
  StrictType: null } }
> console.log((new CheddarString).Scope);
< Map {}
@Quill why is above very borked pls halp, i tri lots
@Optimizer O_O did he live
 
@Downgoat why wont he? he just opened his parachute..
 
but what if he falls so slowly earth rotates and he falls into ocean and dies
 
you know right that they are falling down and falling down slower has better chances of living
 
What if parachute breaks from high altitude
brb sleeping
 
6:31 AM
@Downgoat but they are rotating along with earth.
 
@Downgoat code sample of code constructor?
 
@Maltysen I don't think that that kind of physics is valid for goats..
> Breakups can be rough.
> Its not EU, its me.
 
@Downgoat wut
 
@Quill ?
@Maltysen i dont think youve played goat simulator
 
@Downgoat new CheddarString()
 
6:34 AM
physics doesnt work for gaots as it did for newton
@Quill same result with that
 
then your constructor is borked
 
ono pls halp. how to fix this is vrey important i fix
Hello @OmarSirwan!
 
import CheddarString from '../../../interpreter/core/primitives/String';
CheddarString.Scope = require('./static');
CheddarString.prototype.Scope = require('./lib');
export default CheddarString;
 
Hello @Fatalize!
 
Can you actually set properties on classes like that?
 
6:37 AM
well the CheddarString.Scope = require('./static'); works
I have to do it this way otherwise circular dependencies come to f*** me over
maybe i should ask on SO, but SO is very critical and I'll probably get CVd and downvoted into oblivion
 
@Downgoat why can't you load Scope in the constructor like normal
 
@Downgoat ewww that is human goat pics. click bait
 
deviantart is weird
 
6:48 AM
@Downgoat I just check the starboard then leave to try to work and you pull me back in this black hole…
 
@Fatalize well its ok, you'll just be on here at work anyways
:P
 
but I wanted to work :(
 
Bounced a command shell off ISS in space with AX.25 UI frames (APRS messaging) @kevsheldrake @travisgoodspeed ;-) https://t.co/jTDrwRIi3P
 
7:23 AM
@Quill will cause cyclic dependency error
 
0
Q: Theoretically output Graham's number

Leaky NunGraham's number G is defined in this way: u(3,n,1) = 3^n u(3,1,m) = 3 u(3,n,m) = u(3,u(3,n-1,m-1),m-1) [Knuth's up-arrow notation] [Conway chained arrow notation] THEN g1 = u(3,3,4) g2 = u(3,3,g1) g3 = u(3,3,g2) ... G = u(3,3,g63) Your task is to write a program/function that will output the...

 
0
Q: Theoretically output Graham's number

Leaky NunGraham's number G is defined in this way: u(3,n,1) = 3^n u(3,1,m) = 3 u(3,n,m) = u(3,u(3,n-1,m-1),m-1) [Knuth's up-arrow notation] [Conway chained arrow notation] THEN g1 = u(3,3,4) g2 = u(3,3,g1) g3 = u(3,3,g2) ... G = u(3,3,g63) Your task is to write a program/function that will output the...

 

« first day (1976 days earlier)      last day (2860 days later) »