« first day (2447 days earlier)      last day (2691 days later) » 

04:01
@Pavel good luck, I hope at least someone drags your inert body around to some interesting parts of the station before you succumb to your wounds
Complexity ranges from "Click stun batton on criminal" to "Write a program which calculates the inverse of the function which calculates the distance in which a projectile moves so that you can calibrate a machine which lets you steal the Head of Personnel's pet corgi."
@ATaco Yeah I'm already stuck. Halp how to download/launch game.
Once you've downloaded byond, Open the launcher.
Which is the blue one.
Then, immediently click the sign up button.
Attempting to launch it does nothing, which concerns me.
Wait, are you on Linux right now..?
04:03
Windows
Oh, Which version?
7+ is fine.
10
All good.
To be clear, first link on byond.com/download, right?
The fact that it isn't launching is concerning.
Yep, if it isn't working, just download the portable version.
04:04
Ok so apparantly there's a byond process running but no window.
Huh
Oh, check your bottom right bar thingy.
I forget what it's called.
the hidey button
@HyperNeutrino you can hit me Riker or Doorknob up with any Nethack questions by the way
ooh okay thanks :D
The System Tray.
That's the thing.
04:07
It worked
I right clicked it and did open byond
yay
Sign up and login first, although guests work in many Byond games, SS13 has them banned by default.
Ooh, immediatly doing an update. Lovely.
@ATaco have you played La Mulana? Watching blind playthroughs of Dark Souls and La Mulana has become a recent pastime of mine.
Nope, never heard of it actually.
But it costs money, and that's not guud
I think the original version is still free
04:11
@Pavel Ping me when you've logged in, and I'll lead you to SS13 from there.
@HyperNeutrino :D happy to help
you playing on NAO right now?
not right nao
2
(sorry)
I have no words
@HyperNeutrino yes let's star "(sorry)"
@ATaco I just realized I'll have to be busy for a bit. Will you still be on in like 45 minutes?
@HyperNeutrino this is a thing
04:12
Yep.
it's worse when you're a healer and it happens to your pet on turn 1
:P
but yeah I was like "ooh caret I wonder what that does" and then "oops I'm dead"
@HyperNeutrino hey btw, free random plug: play on [email protected]
04:12
@ATaco You can send me a friend request in the meantime, I'm PavelB
@HyperNeutrino ^ is trap >_>
never step on one if you can avoid it
@EricTressler I've no time for a new game anyway, I've just started playing Divinity 2 with a mate.
squeaky boards aren't that bad but eh walk around anyway
@Pavel I can't actually, I'm at work.
@Riker is NAO not cool anymore
04:13
@quartata nao doesn't have cool variants
@ATaco Ah.
@Riker found that out after stepping on the same bear trap 5 times because I keep moving the wrong way from lack of hjkl experience :P
@HyperNeutrino lol
@ATaco Divinity 2, or Divinity: Original Sin 2
it gets really natural after a while
04:14
but NAO has Rodney, checkmate
@EricTressler The latter.
@quartata hardfought has beholder, in #hardfought :P
I usually use alt.org/nethack/hterm, that's the one you're talking about?
> eyes twitch
@HyperNeutrino are you on win or unix?
@HyperNeutrino I could have sworn nethack has a setting for arrow keys.
04:14
@Riker chrome OS
lol
XD
@Pavel it has a setting for numpad, but fun fact chromebook has no numpad lol
@Pavel it has numpad but eveyone hates it except for Doorknob
04:15
numpads are pointless
telnet isn't a think on chrome OS
even out of nethcak
I agree.
arrow keys can't do diagonal movement anyways
@HyperNeutrino use ssh instead of telnet (same syntax).`
even better, use ssh [email protected]
@quartata NAO isn't running the /dev/null/ tourney though
04:16
oh the ssh command got removed from chrome OS
@HyperNeutrino wut
it's an extension now >_>_>
Byond was designed for numpad.
@HyperNeutrino There's an SSH client app
I have a numpad. Never used it.
04:16
@HyperNeutrino ... install it? or maybe use puTTY? I don't really konw >_>
chrome OS has an extension for SSH
huh
@Riker Chrome OS is literally just Chrome and nothing else
hey got it lol
Actually, Dreammaker might be the reason for my distaste for Python
04:17
@quartata I've used it very limitedly for school so I'm not really aware of that
I did get in trouble for using ctrl-alt-s to open cool math games in 3rd grade though
@ATaco c'mon don't blame such a wonderful language (Python) for the failures of someone who likes slashes too much (lol)
what is C-A-s
@HyperNeutrino turn colors on by the way
04:18
if you can
like you mean on NAO?
@ATaco I don't know australia time, when will you be not at work?
About 4 hours from now.
I should, but likely will not, be asleep at that time.
That'll be right, I've plans to play Divinity with previously mentioned mate.
04:27
Actually, I just remembered I'm taking the PSAT tommorow, so I will be asleep.
Rather soon, actually.
Eh, wasn't going to get much gaming into the rest of today anyway.
Although I hate it, DreamMaker is pretty good at what it does.
Lots of languages end up being used in places where they were entirely unintended to be used, and it turns out weird.
JavaScript comes to mind.
It's there for making fancy animations, not entire applications.
In this case it's a tool designed explicitely to do this job and it actually does it pretty well.
It's just ugly and lends itself to copy-paste coding.
Mathematica is like that. Amazing at math, yes, but if you're trying to write a program with more than 5 lines in it you're doing something really wrong.
Two statements is usually the maximum for sane mathematica code but there are exceptions.
Yes, but at the same time the size of the average Mathematica statement is not normal.
04:33
*flashbacks of trying to cram entire C# program into single LINQ expression*
You could techincally do the same things in Mathematica as you could with, say, Python, but actually attempting this is a terrible idea.
ARBLE is fully turing complete in a single statement but it hurts your head but at the same time you get more avantages in golfing if you use a single statement.
You can do lambda calculus in it, but I don't think any sane person would try.
Mathematica is basically Calculator++, not for actual programming.
@Pavel You what
@ASCII-only You have attempted this also, haven't you.
@Pavel i thought that would be pretty easy
@Pavel no :|
I don't use actual LINQ
04:37
o_0
I'm fine with the fluent interface style LINQ ty
It's like the best part of C#
D: how
How much code can you stick in a single expression
It's great fun
Isn't that basically Node.JS?
04:38
CSharpHasAllNiceCamelCaseThings and linq just has to ruin it
Eh?
Linq functions are all named Select and Where and such.
like select x from FooBar.SomeMethodName() where x < 3
async(()=>async(()=>async(()=>async(...))))
^ that is real LINQ @Pavel
@ATaco It's fun tho isn't it
04:40
@ATaco :| no.
you must be doing something wrong
Wait 'till you see a-ta.co's source code.
side note: C# async is the best
That is correct.
because it's sane
none of this syntactic sugar over Promise crap
Oh, wait, you've seen MaybeLater's source code.
04:42
Yes >_> I have
var v = getVar(scope, dat[0][1][0][1][0][1]);
var ind = parseExpression(dat[0][1][1][1][1],scope);
var val = parseExpression(dat[2],scope);
try{
	v[ind] = val;
}catch(e){}
I'd like to think of my code as Self-Documenting
Logicode was basically equally bad
You know your code is good when it uses a depth 6 indexing in a single expression.
In practice, the most useful part of cramming everything into LINQ, other than satisfying my odd desire for write as much as you can in one statement, is that it's really good at preventing variables from being declared and then staying in scope long after you no longer need them.
Funky, the spiritual successor to MaybeLater, had to be abandoned because it's tokenizer had a complexity of $O(2^n)$ and I couldn't think of a way of fixing it without completely reworking it.
04:45
A lot of the time you have to declare a variable before a loop starts, and then it persists after the scope of the loop ends even though you only use it in the loop.
This doesn't really happen with Linq
How someone screws up bad enough as to have a tokenizer take $O(2^n)$ is left as an exercise.
And frankly, having loose variables pisses me off so bloody much.
wait what
O(2^n) tokenizer? how tho
@ATaco ...
actually Proton's tokenizer is probably about that
04:46
@Pavel Nor with JS and let
Not $n^2$
$2^n$
oh god
what on earth lol :P
@ATaco .......................................
It takes seconds to tokenize 10 lines.
04:48
Adding an extra element would have course take double that, And then double again for another.
oh god rip
How tho
The tokenizer I wrote was reallly bad.
I can totally believe this happened but I want to know what your algorithm was
04:50
ಠ_ಠ
At the very least, this tokenizer also made everything in the perfect format for the interpreting step.
You can play with the tokenizer Here
This contains the tokens used by Funky, and some CSS to make it a bit prettier.
But you can edit the tokens, and the CSS to your hearts content to play with different settings. It's rather easy to make things that parse brackets and such.
<-- still doesn't know JS
I also don't know JS, I think.
Anonymous
JS is really simple. You start typing, and then give up and use a language with sane casting and syntax.
7
I hopped between lots of different languages for a while, but I've settled on C#.
05:04
<- Knows JS
<- Likes C# but hates VS and too lazy to get Rider
@Mego :|
<- Knows and dislikes JS
Typing is really annoying while your phone is actively trying to update your keyboard.
@Mego If I could downstar this i would
@ATaco it's also terrible :|
@ATaco *tokenizes
05:10
@ASCII-only you could just not use an IDE if you're that lazy.
@ASCII-only I refuse.
VS Code works
@Pavel Sublime works
@Pavel well I can't exactly do that when working with a library I knew nothing about
I believe the term for this is RTFM.
@ASCII-only Check out the Jetbrains Toolbox App. It's like a package manager for Jetbrains IDEs
is there an Emoji programming language? like with different operations represented by ASCII emojis. an example program might look like ":D:(:P:DDD:'(:B"
05:13
D:
Super simple to install
Emoji yes, Emoticon, not so much.
Besides Emoticon I suppose.
truly, everything has been invented
how about a programming language where instructions are represented by Oscar Wilde quotations?
Unlikely.
so some low-hanging fruit still remain :D
05:16
welp I was killed by a kitten (nethack)
How tho
Rest In Paws
@Pavel much more time consuming than alt space
I don't even know how I got killed by a kitten lol
@jaytea so basically a Wilde version of ArnoldC
@HyperNeutrino infected scratch :P
05:23
:P
CMQ: Favorite esolang that you made
05:40
RProgN2
But ARBLE is challenging that.
what the...
PPCG is giving runtime errors for loading the main site
What are the errors?
Server Error in '/' Application.

Runtime Error

Description: An exception occurred while processing your request. Additionally, another exception occurred while executing the custom error page for the first exception. The request has been terminated.
It's fine for me
05:48
Welp, No idea.
maybe it's just my computer?
it appears to be happening to all SE sites including SO but not the main home page (hot questions)
mother meta still works
anyway gtg now o/ everyone
o/
06:05
Is it just me or is SE breaking
@HyperNeutrino oh ok
googlecache ftw i guess
question: what does $\text{GCD}\left(a,b\right)\text{|}C$ mean
like I know what GCD is but what is | oeprator
06:28
@Challenger5 Add++
fn fib(n)
  case n
    when 0, 1: 1
    else: fib(n - 1) + fib(n - 2)

fn fact(n)
  range(1, n) |> List.reduce((a, b) -> a + b)

range(10) |> List.map(fib) |> print
Does this look good?
I'm not sure what syntax is good for strongly typed functions: I'm currently deciding whether to put it in the actual function definition itself, or do a Haskell thing where all the types go in the previous line
06:49
fib = Int -> Int
fn fib(n)
  ...

fn fib(Int n) -> Int
  ...
I don't know which one is better
type Point
  Int x
  Int y
Types in my language
And you can just use it like that, to access an item in a point, just do a.x
 
2 hours later…
09:01
0
A: Sandbox for Proposed Challenges

Luke StevensOptimised Hashing code-challenge hashing string code-generation For a given set of input, output a program that can 'hash' the input with a minimum number of collisions. The Challenge Write a method or function that receives an array of Strings (see input for more detail) and outputs a full p...

hmm... in 05AB1E I have a list of tuples, and I want the tuple product, so øP almost works, except when there are no tuples
and while I can fix that it sends my byte count back up: 1D‚D[ˆD¯!øP¹*D¿÷Z#Ó€gZ<Øs`›ǝ]¯øRεʒ≠
@Neil There is an 05AB1E chat room.
Also, what do you mean by "no tuples"? An empty list?
yeah
Yeah, you can't zip an empty list
I managed to rearrange my loop to avoid that, so I now have [D¿÷Z#Ó€gZ<Øs`›1D‚Šǝˆ¯ø!P¹*]¯øRεʒ≠ but it looks like that approach costs too much to build the final result anyway
09:19
0
Q: looping of buttons in jsp page

user75141I am creating 10 buttons in a for loop and 10 tables in another for loop in a jsp page.when I click on first button the first table should be displayed and vice versa till 10th table.but I'm unable to do it. please help. I want it only using jsp and javascript.in the below code if I click on butt...

 
4 hours later…
12:54
-3
Q: VBA to identify if a shape has solid fill or no fill and if so insert a number

NicoleFirst off, I should note I am VERY new to this. I am trying to export a Questionnaire in adobe pdf into excel and then create a formula/macro to identify which shape is checked (or in excel it just shows as a solid filled shape) to then quickly calculate the results from the form rather than by ...

13:35
hello
@HyperNeutrino Hi
14:22
Interestingly enough, in Python, a = a[:] at the beginning of a function can prevent accidental modification of things outside of the local scope, but a[:] = ... can be used to modify the original object rather than the argument lol
Anonymous
@HyperNeutrino Well yeah. That's because a = a[:] creates a new local variable named a that shadows the nonlocal/global a, and is instantiated with a shallow copy of the nonlocal a. If you don't do that, any modifications to a will affect the nonlocal one.
Anonymous
This is why global and nonlocal exist
Yeah. I just find that moving the [:] to the other side of the equation "reverses" the functionality (kind of?) :P
Anonymous
That's because [:] is .__slice__((None, None, None)). You're calling a method on an object, and if there is no object with that name in the local scope, it looks outwards.
Is there a .__slice__ function? I thought it was just .__index__.
Anonymous
14:33
Err, yeah, .__index__
Anonymous
.__index__(slice(None, None, None)) is what I meant
Anonymous
I need another cup of coffee
lol :P
ah ok
yeah that makes sense why it works
I found the fact that things like a.b and a[b] are all instance methods a bit awkward at first but I've grown to love it and abuse use it a lot
Anonymous
It's great
Welp I tried making a ASM-like TC language in under an hour
turns out I failed and this took longer than I thought and it's nowhere near TC :P
it looks something like this:
N.B. Cat Program

:1 mov $OUT $IN
   mov $OUT "\n"
   jmp :1
14:48
I have a new approach to my 05AB1E answer, also 33 bytes! [D¿÷Z#DÓ€gZ<Ø1‚s`›iR}DŠ!*]\)øRεʒ≠
anyway gtg o/
🦉🐨@ASCII-only what’s then dyntax for requiring param nane in call
@Downgoat Spelling/10
15:04
@Neil Do the last iteration always end with [1,1]? If so you don't need \
oh, good point!
@Downgoat wat
1
Q: Create a pointer sequence

Funky Computer ManLets define a pointer sequence to be any sequence such that a(n) = a((n-1)-(a(n-1))) forall n greater than some finite number. For example if our sequence begun with 3 2 1 Our next term would be 2, because a(n-1) = 1, (n-1)-1 = 1, a(1) = 2 (this example is zero index however it does not matt...

@ASCII-only what part need clarification
@Downgoat what is requiring Param name
15:09
Latam?
func foo(arg: Int)
you can do foo(1)
how do you specify foo(arg: 1) is require
I was thinking:
func foo(!arg: Int)
@Downgoat please don't
You shouldn't force users to do things
Forcing users to do things is basically the entirety of computing.
@FunkyComputerMan no python doesn't have currying
that defines a recursive function a
although I think you need infinite output
That's what I thought
right?
15:16
@ASCII-only yes that’s why we are adding ! Feature
Otherwise likely all arg will be require
0
Q: Nth Ngonal Numbers

GryphonMost of us are probably familiar with the concept of triangular and square numbers. However, there are also pentagonal numbers, hexagonal numbers, septagonal numbers, octagonal numbers, etc. The Nth Nagonal number is defined as the Nth number of the sequence formed with a polygon of N sides. O...

15:32
@Downgoat why not all optional
@ASCII-only ...
sheep/goat bad idea
How...
99.99% of function calls don't have named args
Do we really want users to spend 75% of their time just writing arg names
And also that's just more things you could possibly spell wrong
@NieDzejkob huhwhat :| why remove message
Ok, I have an idea for a language, but I'm not sure if it'd be allowed to compete here. If I describe it, can you guys tell me if its allowed?
@cairdcoinheringaahing no internet language pls
15:41
(intrnt lol)
Essentailly, its based on a Rubiks cube, where each orientation decides what program to run out of a bunch of programs stored (kinda like meta-golfscript), but in order to choose which program to run, you have to tell it in the code (with a long syntax) and programs in it can use multiple different stored programs
For example, you would rotate the "cube" to decide which stored program to run
So you'd have 6 built-ins?
No, over 43 quintillion different builtins (not that I'd implement all of them)
Anonymous
So you'd have 54 available commands at any point, and which commands are available depends on the state of the cube?
No, only one command at any time, which would depend on the state of the overall cube
15:47
Oh, I see. So a hypothetical program to compute primes could be UULRRD6
Yeah, but it would be a lot longer
Anonymous
Hmm... Another neat way of doing it would be that you have 9 available commands (the 9 squares facing you), and what those 9 commands are would depend on the state of the cube.
@cairdcoinheringaahing good luck writing 43 quintillion builtins...
> not that I'd implement them all
@Mego you mean 54
@cairdcoinheringaahing so it will never be even remotely close to finished
Anonymous
15:49
@ASCII-only No, I mean 9.
@Mego such a waste :(
The question isn't how I'd do it, it's "Would this type of language be allowed?"
@cairdcoinheringaahing of course...
@ASCII-only All possible programs are Mathematica built-ins, it's just that most of them are NOPs that throw a syntax error.
It's like fancy Cubically
Anonymous
15:49
@ASCII-only I also suggested 54
Feeds
3:16 PM
deleted this message
It seems I hit a blacklist
With builtins instead of numbers
@cairdcoinheringaahing I don't see why not.
@ASCII-only It's like Meta-GolfScript crossed with Cubically
But, I'm of the camp that says that MetaGolfScript should be allowed.
15:50
@cairdcoinheringaahing well no...
@AdmBorkBork Why?
You don't specify anything in language name...
Anonymous
MGS adds nothing to the site
2
So how is it like MGS
Why not? It's a valid (if boring) language.
Banning it just leads to weird questions like caird's here
15:51
@AdmBorkBork it's an infinite number of languages...
@AdmBorkBork no.........
@ASCII-only Because it doesn't actually compute the programs, its stores then indexes into them
Anonymous
@AdmBorkBork Let's preview what will happen if MGS is unbanned. First, a newbie answers in MGS, feeling clever. After receiving the most downvotes ever on PPCG, they complain on Meta. More people post MGS answers, more downvotes are received, and then the community decides we're better off without MGS.
Anonymous
@AdmBorkBork caird's proposed language has nothing to do with MGS. It's a clever way of encoding a huge number of programs.
@cairdcoinheringaahing so? It's nothing like MGS... it isn't even golfy at all
@Mego wouldn't Huffman coding be close to optimal and much easier
Anonymous
@ASCII-only I never said it was optimal. Just clever.
15:54
Fair enough
Although imho it's not that clever
Maybe because it seems to similar to Mathematicubically
Ok, good. Just wanted to check it wasn't too close to MGS to be banned
@cairdcoinheringaahing :| MGS was banned because infinite language interpreter loophole
Anonymous
@cairdcoinheringaahing The problem with MGS (and MGS-like variants) is that they store the information in the language name, completely subverting the byte count. Your proposed language has absolutely nothing to do with MGS.
Exactly, it's not even remotely like MGS lol
FWIW, this is the most downvoted answer on the site
Anonymous
15:59
13 downvotes is it? That's not that bad.
Did your search include deleted answers?
Anonymous
I'm sure there have been other answers with more downvotes that have since been deleted
Anonymous
@AdmBorkBork IIRC only mods can search deleted answers
@AdmBorkBork No, I can't look for deleted answers unless I manually check every questions
Whereas this is the most downvoted question (non-deleted)
16:17
@cairdcoinheringaahing those answers... Just why
@cairdcoinheringaahing huh I thought it would be one by geobits
@ASCII-only People think they're being funny? Clever?
@cairdcoinheringaahing woah brachylog 0-byter
@ASCII-only Geobits is the downvoter, not the downvotee.
0
A: Sandbox for Proposed Challenges

flawrIn Search of a Soulmate code-golfarray-manipulationdecision-problem Given a nonempty finite list of integers, output a truthy value if there are exactly two equal entries and all other entries are distinct, and a falsey value otherwise. Examples truthy: [1,1] [1,2,1] [1,6,3,4,4,7,9] falsey: ...

@ASCII-only I still think this is a truly brilliant answer
17:13
I've just discovered the biggest problem with designing a language based around a Rubiks cube: I can't solve a Rubiks cube
Woah we finally have the mobile app add. Maybe I can help with the iOS app too :-)
@Mr.Xcoder Is that only for Android?
@cairdcoinheringaahing Huh?
@Downgoat Umm, can you change the userscript settings given that the new top bar has changed?
@Mr.Xcoder Oh wait, just reread your message. Never mind

« first day (2447 days earlier)      last day (2691 days later) »