« first day (2208 days earlier)      last day (1630 days later) » 

12:00 AM
Also, after processing, the script just starts popping values off the reg stack and printing them.
local val = reg.pop()
while val~=nil do
	io.write(tostring(val))
	val = reg.pop()
	if val then print() end
end
That's the snippet that does that.
 
12:29 AM
@ChristopherPeart Don't call it !Jelly
 
I feel Fluff works.
 
Yeah
 
0
Q: Decode a UTF-8 character

nwellnhofThe challenge Your task is to decode the first character in a UTF-8 byte sequence. The input is a byte array or a byte string holding a UTF-8 byte sequence. If the (start of the) sequence is valid, the output is the Unicode code point of the first character in the sequence which is a number bet...

 
0
A: Sandbox for Proposed Challenges

Ar'rithRoman Dates The Romans measured dates based on three days every month: The Kalends, or the 1st The Nones, which was usually on the 5th, and the Ides, which was usually on the 13th. In March, May, July, and October the Ides and Nones fall two days later, on the 7th and 15th. Months There are t...

 
Fluff has a nice ring to it
 
12:43 AM
Nice try, Github, but that's not a string.
 
It's taking forever to load, but I'm guessing $"?
 
@Cyoce Actually, now that it has loaded, I'm not even sure what language that is.
 
@Pavel Ruby. That's why it thinks the %[...] is a string even though it's just modulo
 
Got it.
Does anyone know a good Prolog tutorial?
 
12:50 AM
@ChristopherPeart That's pretty fluffy. What's it for?
 
Code golf
I am too busy to write a nice readme
 
@Cyoce He's writing an Esolang. It uses the Jelly code page and a stack model.
And that's all the specification that exists.
 
@Pavel In Python? That gets ugly without multi-line function literals
 
@Cyoce Jelly was written in Python.
 
@Pavel until further notice you can respond for anything about fluff i have code to write
 
12:52 AM
Python's fine to write a language in.
 
Dynamic typing and arbitrary precision integers are nice.
 
I need to implement Arbitrary Precision Numbers into RProgN some time.
 
Arbitrary precision numbers are hard, I'd stick to Integers.
 
@Pavel I guess, but looking at the Jelly source it is kind of ugly. The definitions are pretty verbose
 
Hard is my middle name
 
12:58 AM
Clearly it isn't verbose, since it was written by Dennis?
 
How can you write a Golf lang if you don't golf the lang?
public class helloworld{
    public static void main(String[] args){
        System.out.println("Hello, World!");
    }
}

public class helloworld{
    public static void Main(string[] args){
        System.Console.WriteLine("Hello, World!");
    }
}
Spot the difference
 
AHA
String[]
and string[]
 
Console.Writeline
 
My difference is a actual problem
 
1:02 AM
The correct answer, is one is Java, the other is C#.
 
@ATaco The real question is why you're using lowercase class names.
 
Golfiness.
Trust me, I'm a taco.
 
But... what?
 
the letters are smaller, so it's golfier.
It's like ' is golfier than "
I'm definitely not just avoiding the fact that I typed it lowercase out of habit because I've been writing lua.
 
@ATaco ' is chars, " is Strings.
 
1:06 AM
Not in all languages.
EG. Lua
 
But it is in Java and C♯
WOOT FANATIC ACHIEVED
 
 
@ATaco Better than the lefthand brace style.
public class Main
{	public static void main(String[] args)
{	String hello="Hello, world!"
;	System.out.println(hello)
;}}
 
At-least that way you can modify your code safely.
 
How is it more safe than righthand?
 
1:19 AM
    public class HelloWorld						{
    	public static void main(String[] args) Oh look I have slipped and inserted some text {
    		System.out.println("Hello, World!") ;}}
 
You can randomly insert text in any brace style.
 
And normally it doesn't ruin some consistent formatting.
But if you've got a line of braces and semicolons, inserting text anywhere means you need to re-align it. And if you extend PAST that line, you need to re-align it ALL.
Go back, through your entire script, and add a tab or a few spaces to the end of each line.
 
No worries, you can set up Emacs to do that for you.
 
Pls no onebox
 
1:21 AM
I don't know how to control the onebox
 
Insert random text in the same line
@DJMcMayhem CMC: Properly align Java code into right-hand brace style in Vim.
 
wat
I just like using modified OTBS
 
wat
#include <iostream>
int main(int argc, char* argv[]) {
    std::cout << "Hello, world!" << std::endl;
    return 0;
}
 
1:25 AM
2
Q: Convert braces to Right Hand Brace (Sad Brace)

ATacoRight hand brace is a style of code bracketing in which curly braces and semicolons are all aligned to a single point on the right side of a a file. Generally, this is considered bad practice, for several reasons. The Challenge Take a multiline string through any method, and convert it's bra...

 
wat
Good idea to use Reddit + redditp.com for a school slideshow?
The sub is set to approved only
it will be playing on one of our wall mounted TVs, probably the one in the lunch room/commons, every day 8 hours a day 5 days a week
 
And now, thanks to ATaco, we have a name for this indentation style.
 
I love coining things.
 
Before ATaco, it didn't need a name.
 
Would a post on Code-review containing RHB be instantly delete-hammered?
 
1:40 AM
Do it m8
It'll be fun
 
I don't want <100 rep on Code-Review ;-;
 
Wait one sec
I'll give you the perfect code
import org.lwjgl.input.Keyboard;
import org.lwjgl.input.Mouse;
import org.lwjgl.opengl.Display;
import org.lwjgl.opengl.DisplayMode;
import org.lwjgl.opengl.GL11;
import org.newdawn.slick.opengl.ImageIOImageData;

import javax.imageio.ImageIO;
import javax.naming.NameNotFoundException;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Scanner;

//import static javax.swing.plaf.metal.MetalBumps.createBuffer;
@ATaco run ^ through your RHB script
 
import org.lwjgl.input.Keyboard                                                                                                     ;
import org.lwjgl.input.Mouse                                                                                                        ;
import org.lwjgl.opengl.Display                                                                                                     ;
import org.lwjgl.opengl.DisplayMode                                                                                                 ;
 
new cheddar-parser is super-smart:
1 | test(
  |     ^

Unexpected end of input at 1:4

    • Potentially missing closing `)`
 
It's wide enough that SE converts it to LHB ;-;
@ATaco Submit that to CR
 
1:46 AM
My rep is on the line and I think this counts as conspiring against another community.
 
Error in line 65 btw
 
@ATaco brb submitting such code to CS teacher
 
Intentional, the ) blocks it.
@Downgoat Post results.
 
in The 2nd Monitor, 9 secs ago, by Pavel
import org.lwjgl.input.Keyboard                                                                                                     ;
import org.lwjgl.input.Mouse                                                                                                        ;
import org.lwjgl.opengl.Display                                                                                                     ;
import org.lwjgl.opengl.DisplayMode                                                                                                 ;
 
Gasp, did you warn the Code-reviewers?
 
1:50 AM
No, I just dumped in the text and left.
@ATaco You should add it as a test case
 
It's a little long and contains conflicts with the spec.
 
O_O
Fix your script then
You can just link a gist you don't need the entire thing
 
Nah.
 
It'll be worth
 
@ChristopherPeart def toThe(a,b): should probably renamed to def power(a,b):
 
1:53 AM
yeah
 
@ATaco Or manually fix line 65
 
The spec, for the challenge, states that {}; wont appear in the middle of a line for the purposes of this challenge.
I'm not adding a testcase that goes against this.
 
fix your script
 
nah
 
@ATaco Commited
 
2:37 AM
Can you earn Fanatic more than once?
 
2:49 AM
@Pavel no
Okay, I have simplified, can anyone familiar help fix conflict in:
wait oops wrong grammar
 
Aww
 
ok this is correct grammar:
start: lambda | prop;

prop
   : identifier
   ;

lambda
   : typedId '->'
   ;

typedId
   : identifier ':' identifier
   | identifier;
it's R/R conflict between 2,3 2,6 -> 2,3 but I don't see why should be error
there is -> to assert
 
wuuuut is that?
 
Why could prop reduce with -> lookahead I have no idea
 
What kind of syntax is that?
 
3:00 AM
@Pavel standard EBNF
 
Ok, I'm not familiar with EBNF, just BNF I think?
 
I don't know why bison is doing LALR(0) please assist >_>
 
Automatic Chat PrettyPrinting
 
How'd you do that?
 
I'm writing a userscript.
 
3:03 AM
Share plox
 
Once its finished.
 
@Pavel We are really trying to be professional chat room can we please not make intentional attempts to not use valid english please
 
ಠ_ಠ
 
> Avoid posting messages that add nothing to the conversation (^, ಠ_ಠ, rofl, etc.).
can we please not throw Chatiquette out the window thinking it does not apply to us
 
Are you implying that my ಠ_ಠ adds nothing to the conversation?
 
3:09 AM
@Pavel Yes, because it does not
useful contribution implies a message contains actual semantic content
 
I say that it does, if I had typed out my grievances with your message in words, would it really have been more effective than the incredibly expressive ಠ_ಠ?
 
I can understand you don't want to be the source of problem but it explicitly states against ಠ_ಠ so perhaps consider that too...
 
This is the perfect place for rules lawyering...
 
Yaint getting along. Cmon!
 
This userscript will automatically prettify codeblocks! Even supports this kind and (See more) and all that jazz.
 
 
@ATaco gimme dat
userscript
 
I posted the link just in the same message
 
@ATaco does it only support Java or does it do other langs too?
 
@ATaco i click that, and it show the gif again
 
wat
3:28 AM
@Downgoat you have a mac, correct?
 
Yes
 
Supports all Langs that google prettify does
 
wat
@Downgoat do you have certificate issues on inexpensivecomputers.net?
 
Gists expand out fully o_0
 
@wat No technical issues
 
wat
3:31 AM
@Downgoat oic
 
however it looks like the "inexpensive computers" logo image is broken
 
wat
what about s.dk0.us
also, image loads for me
and I'm on Mac OS. (BTW did I mention that I installed Mac OS yesterday)
On my Dell laptop. I'm still kinda proud of that.
I feel like uploading a screenshot
 
Also, Prepending lang-ALANGUAGE followed by a : will force it to that lang.
 
wat
 
lang-html: for k,v in pairs(thing) do print(k,v) end -- This is clearly not HTML
 
3:32 AM
> 500 Internal Server Error
 
wat
@Downgoat yeah there is no index page so it does that
 
@wat O_o how is this possible. Hackintosh?
 
wat
@Downgoat yeah. take a look at the screenshot
 
cool, nice
 
wat
yeah it's pretty great.
power management is terrible though, i get ~1-2 hrs of battery life
 
3:34 AM
O_o wow OK
I guess the kernel is only optimized for Apple hardware
 
wat
sometimes 2.5 hours. I think that's just my battery though, was getting the same on linux.
This computer has an Arrandale CPU which is supported by the Apple power management driver.
 
Well now you get to use iTerm 2 which is really awesome :D
@wat are you using Dell XPS?
 
wat
@Downgoat is it? I prefer GNOME Terminal. There's a gap between the edge of the screen and the text, so my zsh theme looks slightly off.
@Downgoat I have a Dell Latitude E6410.
 
@wat Hm, you might want to try Hyperterm
It has a ton of customizability
 
wat
Something I like about the keyboard on this laptop is that the keys are mapped to the correct positions. For example, if you look at a normal PC keyboard, Alt is mapped to Command.
 
3:37 AM
Hyperterm looks awesome but doesn't have as many features as iTerm 2
 
wat
Super is mapped to Option. Control stays the same.
> css html react
Ugh.
 
:P It also does use Electron which may or may not be a good thing
 
What's up with Electron and why do people seem to hate it?
 
wat
I think I've voiced my strong dislike of JS a lot
 
@PhiNotPi Just part of general JS hate
 
wat
3:39 AM
@PhiNotPi It
 
JS isn't the worst thing.
 
wat
It's making respectable desktop programs into web apps.
 
It's no-where near the best.
 
wat
BRING BACK THE GTK
 
But it's not the worst.
 
3:40 AM
@ATaco well it is rather slow but to be fair android does just about the same thing
 
@wat What does GTK stand for?
 
wat
@Pavel It's a UI toolkit. Originally GIMP Toolkit but not anymore
Another thing I dislike about Mac OS is that it does not support intel wireless cards in any way. I had to use an old Breadcom 802.11g card that's super slow, 22 Mb/s max
WHY THE HELL IS A TERMINAL 120MB WTF
@Downgoat explain this pls
 
Wait you are still using Wireless Card O___O
that is the real problem
 
wat
@Downgoat It's a laptop. How else?
 
Ethernet.
 
3:43 AM
@wat well you have to bundle chromium and v8, node etc.
@wat Ethernet, integrated wireless inside
 
wat
@Downgoat .....
@Downgoat Define integrated wireless inside
 
I mean let's be honest, every computer for the past 10 years has had wifi builtin
 
wat
It's usually a mini PCIe card.
Or M.2 which is also mini PCIe
 
to be clear, I am talking about this thing:
 
Generally not the easiest thing to switch out.
 
wat
3:44 AM
@Downgoat Not even close.
 
My computer doesn't have Integrated Wifi.
It's a 2016 rig, too.
 
wat
@Pavel In this case it is one screw to open the back cover and one screw to take out the PCIe card.
 
@ATaco for desktop computer I can understand but laptop...
 
Also, thoughts on the Prettifier script? Anyone?
lang-lua: --Pretty //Colours Gee
 
My old laptop had a wifi card that actually had antennas sticking out of the laptop.
 
wat
3:46 AM
 
Oi, please stop oneboxing that many images
 
wat
sorry
 
You don't need the Abrasive "Oi" there Pavel.
 
wat
in my defense they are relevant
 
irrelevant but look how amazing that error is omfg
 
wat
3:49 AM
also gtg to dinner be back soon
 
I like that Error.
 
wat
goat to go
 
That is a nice Error.
 
wat
kek
 
@ATaco :D
 
3:49 AM
Did you write that?
 
@wat when you goat to goat you goat to goat.
 
@PhiNotPi Electron is a GUI framework that lets you write apps in JS and HTML. The reason why people hate it is because it's literally embedding a full Chrome instance into your app which is overkill and bloated
 
@Pavel yup, part of Ches v2 (Cheddar 2.0's parser)
I am still using lex and yacc files so switching over to C++ when time comes will be hopefully trivial
 
I would have no problems with Electron if it was implemented in a less insane way. I like HTML.
 
Why are there 4 carrots pointing at goat and not to the end of the line where the error actually is?
 
3:50 AM
@Downgoat flex is a PITA with C++
 
Also, your poweline font is horribly alligned
 
@quartata what is so bad? works decently with VSL
@Pavel nah, those are just two side-by side lines
 
Has anyone made a challenge with this oeis sequence?
 
Hmm. I always had issues with it. Lots of parts of it need extern C
 
oic
 
3:52 AM
@WheatWizard n(n+1)/2 + 1 is triangular numbers + 1, no?
 
Ah yes tis thank you
 
I think part of the reason Electron has taken off honestly is that there are no better alternatives. Cross pltform GUI has always been tough and most modern high level languages don't have it built in or only have Tk. Electron has the advantage of making bundling easy so.
 
cheddar will fix this
it will have GUI.make() function
it will generate a random sequence of bytes at random length
eventually at least one sequence will be valid machine code for your app
 
100% Global Support for YOURAPP.app
 
Cool story.
 
3:59 AM
 
Vala would be a great solution if it wasn't for GTK needing Xquartz on OS X (which no longer comes by default). And Qt is just a nuisance to distribute.
 

« first day (2208 days earlier)      last day (1630 days later) »