« first day (2393 days earlier)      last day (2745 days later) » 

07:00
@ATaco D: how could you
You, You did see what I did to that last one, right..?
BRB porting RProgN2 to C# and putting each method in it's own file.
@Pavel *two
Oh yeah
07:01
Apparantly methods can only be partial if they have a void return type with either only only ref or no parameters, which makes me sad.
And returned tokens were a nightmare of [0][1][1][0][1]
You passed a callback to a readFileSync + eval you could have replaced with a require
Yep, I know.
I still think even the current version is Logicode-level bad
I made a more visual editor for writing tokens.
07:04
> arithmatic
It doesn't have to be correct, it has to work.
> paranexp
Parenthesis Expression.
> exporblock
Just because it's called paran, doesn't change that fact...
07:05
what is with this naming lol
I don't name things well.
May I remind you, Crementor.
@ATaco too lazy to complain about something twice :P
It functions a lot better than the last one, regardless of what the names are.
I'm actually quite surprised how similar Charcoal's parsing/scopes are to Logicode lol
I think Charcoal's scopes are still like 90% identical to Logicode's
I'm not sure how either of their scopes work.
07:14
@ATaco Magic
Because *Language<T> is unapologetically a Frankenstein of Javascript and Lua, local variables can be defined with either var or local
@ATaco You forgot let
I didn't forget anything. :)
Also you can do x + (local y = 2); if you're into that, because Assignments in Expressions taken to the extreme.
if(local x = get(i++)){print(x)} will localize x to the if block's scope, too. Which is nice.
@ATaco so I'm actually porting RProgN2 to C# now. In Flags.java, is the bool obtained from the hashmap ever actually null?
package rprogn;

import java.util.HashMap;

public class Flags {
	public static HashMap<String,Boolean> flags = new HashMap<String,Boolean>();


	public static void SetFlag(String flag){
		SetFlag(flag.toLowerCase(),flag == flag.toLowerCase());
	}

	public static void SetFlag(String flag, boolean value){
		flags.put(flag, value);
	}

	public static boolean FlagToggled(String flag){
		Boolean b = flags.get(flag.toLowerCase());
		if(b==null||!b){
			return flag!=flag.toLowerCase();
		}
		return flag==flag.toLowerCase();
07:28
@Pavel look for uses of SetFlag
I'm just opening the java source in VS Code file by file
None of this reference search business
I think it defaults to null instead of false
But never intentionally null
I'll just use regular bools instead of nullable bools then
public Functions functions;
What is the Functions class?
Nullabools was a limitation of the language, because I can't pass HashMap a primitive
The only import is to Concept
package rprogn.functions;

import rprogn.compiler.concept.Concept;

public class Scope {
	public Functions functions;
	public Concept[] concepts;
	public int iPointer;
}
07:33
Functions is a Scope, well, the asoc half of it
0
Q: How should a full program in R be invoked?

Jarko DubbeldamRelated to the discussion in this post. There are multiple ways of executing an R-file. Each of these methods have either challenges in input or output. Which are acceptable to count as "Full program" and how do we score them? The options are: Using the command line command rscript <filename>...

@ATaco Ah
So I can't actually implement this yet since Functions depends on literally everything
Dammit everything depends on everything else
only callables, which will only be used at the top of Functions
Skip over an import and remove its setDefault call
Ok new plan.
Go to the git history and recreate it.
Good luck when my occasional refractors hit
07:38
Sure
Also the first commit is 40 files
Yeah I noticed
It's mostly junk at least
Oh, and MODE_ZSS is a red herring, But that won't get patched for a while
I'll just copy paste the java files into visual studio and fix errors until it compiles.
This is a good idea.
Sure...
Like a true C# dev
Oh, and good luck when I switch to BigDecimal
I'm not trying to be hostile, I'm just genuinely concerned as to how painful this will be
07:44
Wait, BigDecimal?
Dammit
C# only has BigInteger ;-;
All RProgN2 numbers are very big
Although there is a 128bit decimal
I could just try keeping everything as a decimal
you won't need to get fidgety with that until you start writing the callables at least
This article lists libraries, applications and other software which enable or support arbitrary-precision arithmetic. == Libraries == == Stand-alone application software == Software that supports arbitrary precision computations: bc an arbitrary-precision math program that comes standard on most Unix-like systems. dc: the POSIX desk calculator KCalc, Linux based scientific calculator Maxima: a computer algebra system which bignum integers are directly inherited from its implementation language Common Lisp. In addition, it supports arbitrary-precision floating-point numbers, bigfloats. ...
@ATaco "Arithmatic"
Goddammit
Everything still depends on everything else
The initial commit is too advanced
Fear my source control
07:53
Ok
new new plan
Open the latest rpron2 and convert the files in-place to C#, using VSCode
new new new plan
give up
And go to sleep
Because it's one in the morning
Anonymous
@Pavel I should have listened to that plan 2 hours ago
I wish I could sleep right now
But it's 6PM and I'm on a train
@Mr.Xcoder Not that I can remember; it's something that I've been thinking of adding for a while. I'm also working in the background to make it so all . commands can be represented in 1 byte
@muddyfish Do you mean .a would be encoded as 1 byte?
(for example)
@Mr.Xcoder yes
08:05
Nice idea
I'm currently making it so the internal tests still work
Basically it uses the upper half of the byte
@muddyfish (those have become pretty popular lately): Add a prefixes and/or suffixes built-in.
@Mr.Xcoder so "abcd" -> ["a", "ab", "abc", "abcd"]?
@muddyfish Yes, and [1,2,3] -> [[1], [1,2], [1,2,3]]
Add it as an issue or something and I'll get around to it :P
08:12
Ok =]
@muddyfish Done.
Feel free to make any other as well
Ok, thanks
08:39
@muddyfish 0/10 underscore not dash
09:06
@ASCII-only Is better for your tastes?
@muddyfish yes :P
Today I realized you can have a mustache in emoticons: :{|
Morning fellas
Evening
@ASCII-only got a git repo up for RosetTio yet?
09:10
:|
Too lazy to finish even Hello World lol
Also I forgot >_>
wow
but like
TIO has all the hello world scripts in there
surely you can just scrape em
Yeah
@Mayube I did
but for half of them the Unicode messed up
Plus I can't get the links
If you have some free time can you add the TIO links upwards from the bottom
@Mayube Okay so apparently some of them are really ungolfed
compare this to the TIO one
jeez
Braingolf's is about as golfy as it can be afaik
Yeah, but a lot of them aren't :P
09:23
:/
why can't build tools like dub use incremental compilation
it tries to recompile the dependencies every time
>_>
@ASCII-only don't you think that in charcoal Jump and JumpTo are kind of ambiguous non-verbose? they both and they both take num num as arguments
@EriktheOutgolfer Jump isn't is it?
@ASCII-only it is
09:30
Or else they're supposed to be the same thing then
that, or docs have a problem
@ASCII-only I thought that Jump is relative while JumpTo is absolute
@EriktheOutgolfer Probably this, if they were ambiguous then that would be a massive problem :P
@EriktheOutgolfer Move is relative :P
(that issue with silent pings btw)
silent pings?
yeah...while the speaker top-right is set to "when mentioned"
ok fixed
btw Jump is what then?
@ASCII-only
09:48
0
Q: What's my IP Address?

XynosI'm surprised this hasn't come up in a challenge yet. Using only the input of 1 or 0, output the IP address of the machine you're running on. 0 Being, output my local IP address, ie along the default format of 192.168.x.x 1 Being, output the public IP address, can be verified by using google ...

@EriktheOutgolfer ???
is there a difference between JumpTo and Jump?
@EriktheOutgolfer Um I don't think so :/
they're both in the docs...
...and it's kinda confusing since I thought at first that, well, Jump was relative and JumpTo was absolute
10:15
@EriktheOutgolfer :P The only way to find out is to try
well I'm busy golfing something in it :p
:D +1
BTW I'm always looking for ways to make Charcoal golfier
(although I suspect neil would've fgitw'd while I was sleeping)
Because as people have mentioned, Charcoal is far from optimal
@ASCII-only oh and I don't think ⸿ works as intended...it messes up with the canvas
10:18
@EriktheOutgolfer :/ oh no
honestly I tell it to do px = 0 not px = 0; messeseseseessesess canvas
link?
Also: how much should I permabounty for an ADJUST hello world
@ASCII-only seems pretty easy
10:22
@Mayube Good luck :P looks like 2D malbolge to me
I mean not near as hard but you gotta be careful with your factors
And the rotations after every 2 are probably really annoying, unless you have a oneliner probably
@ASCII-only any prime above 67 sets the accumulator to it's value, which makes things a little easier
@EriktheOutgolfer What's supposed to happen
@Mayube But what if you want 13
@Mayube Ohh yes it does >_>
10:38
@ASCII-only print 2 vertical lines
@EriktheOutgolfer Then don't print down with newlines
@ASCII-only I'm using ...
that's not supposed to move the cursor right?
@EriktheOutgolfer No it isn't
But you're using down and newlines at the same time
try removing the ⸿
@EriktheOutgolfer Yeah what about it
Ohhh so that's what you mean
Yeah when printing vertically it goes to y=0 instead
10:43
I think 111 is prime
which is lowercase o
@ASCII-only umm, is that some side effect or something? because it's not in the print statement as far as I'm aware
@EriktheOutgolfer Huhwat
also just moving the cursor shouldn't change the output right?
@EriktheOutgolfer Nope
@ASCII-only I think I can do an ADJUST hello world, but imma need to make an interpreter first, for testing
10:46
@Mayube It's called TIO :P
is ADJUST on TIO?
oh it is
@Mayube Why do you think I need a Hello world :P
@EriktheOutgolfer Well when printing horizontally ⸿ newlines and moves to x=0
@ASCII-only yeah that's what I expect (although you say that after MultiPrint it decides to go to y=0 instead?)
oh wow the included hello world just prints hell
@Mayube Yeah nobody bothered to make a normal one
As a bonus, if you do it you get to submit to the Hello, World! question and submit it as the official TIO one
@EriktheOutgolfer No, when printing vertically >_>
10:50
so...is it MultiPrint's or ⸿'s (sorry no better name) fault?
@EriktheOutgolfer ⸿? It's basically like a super-newline
okay so IA seems to print H
@Mayube :D Yay
@ASCII-only so MultiPrint messes up right?
@EriktheOutgolfer No? That's intended behavior
10:53
wait IA doesn't print H
hmmmmmm
anyone pls help try and golf this
8
A: #OctothorpeAsciiArt

DJMcMayhemBrain-Flak, 420 bytes (()()()){({}<(({})){({}<<>(<>({})<>){({}<((((()()()()){}){}()){}())>[( )])}{}(<>({})<>){({}<((((()()()()){}){}){})>[()])}{}(<>({})<>){({}<((( (()()()()){}){}()){}())>[()])}{}(<>({})<>){({}<((((()()()()){}){}){})> [()])}{}((()()()()()){})<>>[()])}{}((({}))<(({})(({}){}){})>)...

I'm writing a brain-flak answer to the same challenge
Guess how many bytes I would need :P
@LeakyNun 1337
@LeakyNun 780
@Mayube Yeah because the IP initially moves up and to the right
11:05
no
because A pops from stack2
This prints H though
I think i still need to make my own inteprreter so I can get proper debug output
@Mayube True
11:26
@Mayube Hmm should we include bytecounts
yes
@Mayube Do we include "bytes" or golf that out :P
1
Q: It's a Bit of a Stretch․․

Kevin CruijssenInput: We take two inputs: An input b with two distinct values: Left and Right.† And a positive integer n. Output: Based on the Left/Right input, we output either of the following two sequences in the range of 1-n (in the sequences below the first 125 items are displayed): Left: 1, 6, 7, ...

0
A: #OctothorpeAsciiArt

Leaky NunBrain-Flak, 338 bytes (({})<>)(())<>({}<>)(()()()()()){({}<(<>)<>{({}<<>({}<(((((()()()()())){})){}{}{})<>([({})]()){(<{}({}<((((({}))){}){}{}){({}<<>(({}))<>>[()])}{}>)>)}{}(({})<{{}(<(()()()()()){({}<<>(<([{}](((((()()){}){}){}){}()){}())>)<>{({}<<>({}<(({}))>())<>>[()])}<>({}<>{})>[()])}{}>)}>...

12:07
Azure uses JSON as the programming language for policies. shudders
12:20
adds Azure to google blocklist
@DJMcMayhem I love how we're collectively having a Mandela Effect reaction to your hashtag challenge.
Hmm is there any really simple 2D language to implement
@mınxomaτ Well, PowerShell has built-ins for converting to/from JSON, so I guess it's not terribly surprising.
:O The proof 0.999999999... = 1 (i.e. 0.(9) = 1) is soo easy :O
@Mr.Xcoder and there's like 3 of them that are easy
12:35
i've always found those proofs pretty...
what's the word
@totallyhuman hey
someone's got a suggested edit on one of your answers
CMC: Get the mean of the means of the prefixes of a list
*looks*
12:36
[1,2,3]->1.5
5 bytes in Jelly
alright how do i tell this guy that he shouldn't edit
@totallyhuman he doesn't have rep to comment
@totallyhuman You reject it and ping him.
12:37
this is how you're supposed to do it when you don't have rep, and the reviewers comment for you usually iirc
only you were in chat so I caught you here :P
@StepHen Maybe solve my CMCs in Proton?
I was trying to do that
@Mr.Xcoder I stay away from prefix/suffix challenges in general
@StepHen why?
12:41
@Mr.Xcoder Jelly, 5 bytes ÆmƤÆm
@totallyhuman I dunno
@StepHen Come on, there's a built-in.
@Mr.Xcoder yeah, but without a builtin it's not the simplest thing in the world, that might be why I dislike them :P
either you have the builtin or you don't
It's just [l[:x]for x in range(len(l))]
@Mr.Xcoder ok, now try it without slice notation
it's simple in Python, but not in other langs
12:43
That's harder
Also it's like a 20 byte builtin
right, that's why I don't like it :P it's only easy because of slice notation
@ASCII-only not in Proton :P
@NathanMerrill Ah, I see what you're saying now. But how does that differentiate from Perl versioning, as I mentioned in my answer? Perl gets -M5.010 (or whatever) as free flags to implement various language features, so why can't Cubically get a free -4 to implement a 4-wide cube?
Personally, I'm also of the opinion that MetaGolfScript should be unbanned. If people want to answer boringly, that's their choice.
@AdmBorkBork unbanned, but the # should be part of the bytecount
@AdmBorkBork and iirc as long as you need to specify a flag to run the program, it doesn't take bytes
i.e. since in Klein you have to specify a topology to run it, you don't lose/gain bytes for which one you chose (might be wrong)
because each flag makes it completely different
12:56
@totallyhuman right, but since you need to specify one of them to run it at all, you don't count it in the bytecount
if they were optional you'd need to include them in the bytecount
@StepHen Nathan's point is that the -209180605381204854470575573749277224 causes that program to run on a zero-byte file, so is the number the same as the Perl flag versioning?
@AdmBorkBork It's hilarious
It seems like it should be a dupe, but seriously no one can find it
@AdmBorkBork wait, there's a MetaGolfScript interpreter that takes flags?
@StepHen Possibly. It'd be easy enough to write one.
so technically, if it weren't banned explicitly, it'd be legit 0 bytes...
13:02
Yeah, but boring.
MGS answers should be appropriately downvoted for not really adding anything to the site.
@totallyhuman Meta<anything> would be 0 bytes
Besides, you've already figured out a short GolfScript answer to get the appropriate MGS answer, just post the GolfScript one.
@AdmBorkBork Well it doesn't have to be short because MGS is 0 bytes anyway
Sure, I gotcha
but no one uses GolfScript anymore
13:06
@StepHen Afaik you have to count the topology as 3 bytes, but all topologies are 3 bytes
@BusinessCat I believe that was changed, codegolf.stackexchange.com/a/135581/65836
that's how it was originally since WheatWizard changed it so that the arg was required, not optional, it's not part of the count
@BusinessCat actually I'm wrong cc @AdmBorkBork
10
A: Scoring mandatory but varying command-line arguments

Martin EnderThey're evidently part of the program, and they're important information so they should be counted. That said, I'd probably count them as 3 bytes (not 5 as would normally the case when you have to add a space, a hyphen and your three characters to the command-line invocation) since the "standard ...

OK, that's completely contradictory to how Perl is calculated.
maybe I dunno
@AdmBorkBork for the IP address challenge, can eth0.me be replaced with any website, or does that one in particular do something special? I noticed it showed my IP address when I went to it
@AdmBorkBork But Perl has a default version number maybe? And since these are versions anyway it's equivalent to a rollback?
@StepHen The eth0.me site is particular. Like whatismyipaddress.com or ipchicken.com, just that there isn't extra junk with it, so it's cleaner (i.e., golfier) to get the address
13:14
@AdmBorkBork it's that kind of outsourcing the problem then? or no
I don't know how else to get what my public IP address is. It's not present anywhere on my computer.
Whether I'm outsourcing it to my router/firewall, or to an external website, it's still not local.
The other answers are doing something similar.
Trivia: Google has a quick answer for that question: google.com/search?q=whats+my+ip
@AdmBorkBork I know, I wasn't questioning you, I was questioning the whole premise of the question
@mınxomaτ wait why is that in hex, last time I checked searching what is my ip on Google gave it to me in decimal
Yep. It's a poorly executed question, IMO.
IPv6 probably
13:19
@StepHen No, this is not a kolcom, you're not outsourcing a big literal so it's fine
@StepHen hex likely means it's ipv6
> A variant of this is posting an answer that takes input from the user and then submits it to somewhere on the Internet that is responsible for solving the problem and send back the output.
@AdmBorkBork oh... um... heh
> Fetching the desired output from an external source

This includes doing an HTTP request to fetch the page with the question and extracting a solution from that page. This was mildly amusing back in 2011, but now is derivative and uninteresting.
Yep.
Unless the challenge specifically requires that. E.g., there was one back when the Olympic Games were going on that asked to fetch medal counts from a website and then calculate who is leading.
13:34
Ummm... is anyone else unable to submit an answer? It keeps saying "an error occurred"
@BusinessCat Internet problems on your end probably
Duplicate the tab and try again
OK went through finally
Good morning everyone
@Doorknob oh happy birthday sometime recently
13:51
searches Quora gateway timeout
finds results on Quora
yay
@ASCII-only clicks a link, gets a modal, copies URL into new tab
@StepHen ???
@ASCII-only that's what you do if you don't have a Quora account but you click a link on a Quora question :P
hmm.. rotating an 8-bit value 15 bits to the right is the equivalent of rotating it 1 bit to the left, correct?
since a modal pops up and says "create an account on Quora to view Quora questions"
13:56
@StepHen I've never had that
@Mayube huh I've never not had that
@StepHen But... but I have an account
And I can't even access the homepage
@ASCII-only yeah that's what I thought :P website's probably down
I kinda like Adjust's idea of using the prime factors of characters as its operators

« first day (2393 days earlier)      last day (2745 days later) »