« first day (2631 days earlier)      last day (2198 days later) » 

12:08 AM
@totallyhuman +1
@Pavel Yeah, they don't even use hotdog.vim
 
12:24 AM
@HyperNeutrino :| does Ceres actually have base 255 numbers
 
12:56 AM
@LuisMendo :| links don't work 0/10
 
Seems that there are some arguments around the GoL NMP.
CMM: Should an easier challenge be marked as dupe of a harder one?
 
@user202729 depends on if the challenges are similar
 
1:15 AM
@StephenLeppik I've voted to close this as "unclear what you're asking" because it's not clear what a loop is. (unobservable behavior + assume language features)
Also, ^^. I noticed that you "leave open" in the review queue so ~
 
@Mego i agree, ovens suck
Sep 13 '17 at 3:11, by Downgoat
Pro Tip: do not drop phone in oven while cooking pizza
 
@cairdcoinheringaahing Looks good then.
 
1:32 AM
@Downgoat You never actually answered what happened to the phone
 
Sep 13 '17 at 3:12, by Christopher 2EZ 4RTZ
@Downgoat I would ask for pictures but your phone is in a pizza right now :/
ok dropping phone in oven does not mean in pizza
@Pavel oh it was fine but taking out wasn't easy :P
they are like these hot orange things that you do not want to touch
 
1:45 AM
J: Can I do a gerund-insert and evaluate left-to-right?
 
Anonymous
@Downgoat Heating elements. Something very flammable and greasy got on ours
 
oh my
 
Codegolf is so much fun.
 
no repro
/s
 
 
2 hours later…
3:32 AM
so I have this site for my APCS java class, which accepts java code. I can enter this and have it grade me 100%:
    public static void main(String[] args) {
        System.out.println("Your code has been evaluated against a set of test data.");
        System.out.println("You had 50 out of 50 tests pass correctly.");
        System.out.println("Your score is 100%.");
    }
4
 
Of course, everything can be hacked. Just if you know about it.
 
@ConorO'Brien That's the most beautiful thing I've ever seen
 
(@someone: the other message is more readable on the starboard)
(wait, does @someone ping anyone? I don't think so)
 
only if it showed some sort of autocomplete
 
3:35 AM
@user202729 Not unless there's a user in here named "someone"
 
First 3 chars match is enough. Still, no one.
 
Hmm, would it? Try @DJMblahblahblah and see if it pings me
 
@DJMblahblahblah
 

Sandbox

Where you can play with chat features (except flagging) and ch...
 
Anonymous
A PHP headache I ran into at work today: tio.run/…
 
3:37 AM
@DestructibleLemon But I can't ping myself... (except message reply)
 
Anonymous
Fun fact: mods can superping themselves
 
Anonymous
@Mego pings me
 
@Mego Woah. Even if you're not in the room when you post that?
 
@DJMcMayhem That was not a superping.
Nope, it is. But then you must be in a room to write a message. (right?)
 
@DJMcMayhem Took me longer to get that joke than I care to admit.
 
3:48 AM
Or not? inspect the [send] button
 
@Dennis My favorite style of joke is intentionally saying the most stupid sounding thing I can think of
 
Been there, done that, got yelled at.
 
Because you hate being the butt of a joke? :P
 
Don't remind me. >_<
 
Anonymous
@DJMcMayhem Yep, mod magic
 
Anonymous
3:52 AM
I wonder... What if I post a message, leave the room, and then another mod edits it to superping me?
 
For your own sake, do not look into the chat API
Or more accurately, the lack of a chat API
 
Yep
 
$.ajax({'type' : 'POST',
        'url' : `/messages/${id}`,
        'data' : fkey({'text' : text}),
        'success': nullFnc,
        'dataType' : 'json',
        'error' : nullFnc})
That's how I edit messages in Caret Reply
 
0/10 quoted JS object
0/10 passing object to $.ajax
 
That's modified from SE's MasterChat.js
 
3:55 AM
0/10 needing to include success and error
0/10 using {text: text} instead of {text}
 
I re-iterate, that's modified from SE's MasterChat.js, that's how they do it.
 
Anonymous
Golfed: $.post(`/messages/${id}`,{fkey:fkey,text:text})
 
0/10, using jQuery
 
@Mego *{fkey,text}
 
Anyway, we all know that Best Practices are optional.
 
3:57 AM
@ATaco yes I'm complaining about SE's JS
 
Anonymous
@ASCII-only Good point
 
@ATaco so is jQuery
 
@Mego '/messages/'+id
 
@ASCII-only 0/10 template is better
 
Someone over in the Anime lounge is trying to make a client thing
 
3:58 AM
@ATaco why are you using jquery and not fetch() this is offensive
 
@Downgoat 0/10 simplicity is better
 
> Golfed
 
I was looking at function Ct before giving up and search for $.ajax(.
 
Because I stole it from SE, gawd.
I thought I warned not to look into the chat API
 
I've looked at the chat API before
far too many times
 
Anonymous
3:59 AM
The chat API isn't that different from the regular posts API
 
I think it's 99.95% of the reason my code style is so bad
 
Anonymous
Similar endpoints, same fkey param
 
@Mego At least the posts API is consistent :P
 
(Atleast the posts API is documented)
 
Anonymous
@ASCII-only And docu- ninja'd
 
3:59 AM
But it's golfed minimified...
 
I just want to be able to turn a chat ID into a CodeGolf.SE ID without having to load their profile and pray
 
CMC: Golfed Hello, World! in tio.run/#CSL (Current progress, stack-based language that basically has reversed source (except for E!))
 
bad jQuery users
 
@ATaco fetch(`/messages/`+id,{method:'POST',body:fkey({text})})
no evil jquer either
 
On the topic of Template Strings, Funky does it strangely.
print(`1+1=[1+1]`)
 
4:02 AM
I hope you can escape them
 
Anonymous
@ATaco Load https://chat.stackexchange.com/users/{id}, find $('.user-stats td.user-valuecell a'), use that href to get the parent site ID, then use SE API to find PPCG ID (if parent site is not PPCG)
 
You can.
 
btw has anyone here made a compiled language with Automatic Memory Management
 
print(`1+1=[1+1]`)
print(`1+1=\[1+1]`)
 
1 1 '1+1=@+'! out
 
4:03 AM
@totallyhuman is this real gotat check these days
 
you think Funky has it weird off? :D
 
Is that templating or formatting?
 
@ATaco it's a bit of both
 
Looks like the easiest way is var x1=$.ajax.bind($);$.ajax=function(){console.log(arguments);x1(arguments)}
 
4:05 AM
Funky's templates are based off of BYOND's, because I'm a terrible person.
 
Perl 6 has the best string interpolation IMO
 
Have a quine f=@print`f=[f]f()`f()
 
what is BYOND?
google is not yielding any relevant results
 
A terrible thing.
 
:O @ASCII-only do you have any idea if possible to make quine in VSL without dynamic memory implemented yet
 
4:06 AM
@ATaco What's the @ for?
 
@Downgoat do you have +(string, string)
 
In this context, @ is equivalent to ()=>
 
I am not in TNB right now
 
@Downgoat downgoat I've been hyped for VSL for so long, I will probably have a heart attack if it becomes a popular language
 
or print(*object)
 
4:07 AM
/proc/fib(n)
	if(n<1)
		return n
	return fib(n-1, n-2)
That's BYOND's fibonacci, not so bad right?
 
@ATaco my god this PoS is still updated
@ASCII-only no because that require dynamic memory :P
 
@ATaco -1 negative numbers bad
 
Eh, It's just a generic Fibonacci implementation.
 
@DestructibleLemon you're telling me f(-2) isn't -2????????
 
The only way to do string concatenation in BYOND is "[a][b]"
 
4:09 AM
@ASCII-only no, no var args in preference of arrays
 
@ConorO'Brien 0/10 not golfed
 
it's java, so it never will be
 
@Downgoat does VSL support inline arrays currently? or compile-time arrays at all for that matter :P
 
@ASCII-only see the problem is this require dynamic memory :P
also not sure on how array implementation should work
 
mob/proc/t(var/i)
	src<<i
	while(i)
		src<<i
That's a golfed Truth Machine
 
4:10 AM
crazyguy is love C++ vector implementation so wants to do this 3-pointer thing but I am thinking just implement it like a list
 
@Downgoat compile-time array shouldn't need dynamic memory though?
@Downgoat hmm, *start, length should be enough. or something like that
+ block of memory
 
they still do because Array is an aggregate object (i.e. a pointer) which means it is still initialized in a way during startup
 
@Downgoat :| but is string not pointer too
 
@ATaco this is funky?
 
No, BYOND/DreamMakerLanguage
 
4:12 AM
oh
 
@ASCII-only we'd want to avoid doing this since that means doing for (let i = 0; i < 1000; i++) a.push(i); you'd have 1000 reallocs though, I'd just use a start, length, capacity structure
 
so you can't remove any of that whitespace?
 
@Downgoat also golf VSL hello world pls
 
Funky's Truth Machine is a lot smaller
 
@ASCII-only true
but string is not generic
 
4:12 AM
@Downgoat hmm imo arrays and lists should both exist
 
I'm having problem implementing generics atm
 
lists should have capacity
 
CMC: Truth machine in a language you made
 
@ASCII-only nah, I'm just doing List as array. and if you want fixed-length data you can use a ByteSequence
 
4:13 AM
0
A: Implement a Truth-Machine

Destructible LemonQuarterstaff, 12 49-?{49!}49! explanation (value = 0 to start) 49 - add 49 to value - - invert value (value = -49 now) ? - take a character of input (49 for "1", 48 for "0"), and add it to the value (value = 0 or -1 now) { - begin while not loop. will only be entered if input is 1 or sta...

 
btw I've removed tuples since those had some ambiguity issues
 
5 imaginary internet points if you can work out what on earth that for statement is doing.
 
still not sure on how we'll be doing capture
C++ represents them as structs
We'll probably do that but we'll have to work out how that'll deal with function local (stack-allocated) vars
 
@ATaco doesn't work for 0? :p
 
Prints "nil", which is falsey.
 
4:14 AM
@ATaco why is there unmatched parens
 
but it aint 0
 
Because Funky is actually horrifying.
 
attache: {DoWhile[_,Print!_]}
 
@ConorO'Brien Sesos, 2 bytes: V0
 
4:17 AM
@Downgoat :| what about MyComplicatedClass[]
 
Same byte count, fixes a=0
 
@Dennis "undefined bytes (it's complicated)" I love it :D
 
btw @ASCII-only is ?? basically the same as $0? Do we really need foo(??.x) when you can do foo({ $0.x })
@ASCII-only do:
const c1 = MyComplicatedClass(...)
const c2 = MyComplicatedClass(...)
const classArray: Pointer<MyComplicatedClass> = Pointer<MyComplicatedClass>::c1
 
Parans are unbalanced because for has implicit left and right parenthesis, but you can optionally provide a right parenthesis early.
 
@Downgoat wait ?????
also :D $0 is still a thing?
 
4:19 AM
Both are seperately implicit.
 
@ASCII-only ._. this is feature you yourself porpoised and added
@ASCII-only yea definetly
 
for(i=0; i<10; i++) print(i) is the same as for(i=0; i<10; i++ print(i) is the same as for i=0; i<10; i++) print(i)
 
also grammar is now context sensitive lol, had to do because of initializers
 
@ATaco what if I had a variable name starting with "for" like "forum_posts"? lol
 
Although it's possible to do, it often conflicts with the keyword
Funky assumes you want to use keywords more than you probably do.
 
4:21 AM
lol
 
@Downgoat >_< what did it do again
 
@ASCII-only made the expression its in a lambda and evaluated to $0
 
forum_posts = {}
print(forum_posts)
That works exactly as you'd expect it do.
 
so e.g.: ints.map(?? + 1) increments by one
 
@Downgoat oh. isn't/wasn't that just ?
 
4:22 AM
we had ambiguity problems with that
 
right.
well i wanted it for things like ?? + ??
 
@ASCII-only this would throw bork alert
 
 
@Downgoat wait what :|
 
4:24 AM
@ASCII-only ambiguous type
 
@ConorO'Brien Charcoal, 7 bytes: ¿N«1W1D
@Downgoat ambiguous type?
@Downgoat also pls golf VSL hello world?
 
@ConorO'Brien RProgN 2, 6 bytes ]³]]p:
 
@Downgoat right. but ?? + ?? shouldn't be compiled directly, only when it is used and types are known
same with e.g. generics
@ATaco :D :/ what's with broken highlighting
 
No no, that's working fine.
The highlighting is working exactly as it should, it's the language itself that is doing that horrible thing.
 
4:36 AM
@ATaco why not just use ace vihan.org/p/tio
idk if that even still works
 
(Because that doesn't support Funky's horrifying Syntax)
 
ace supports context-sensitive grammars?
 
I haven't written an Ace grammar for it, either.
I'm not sure how I would, I think the tokenizer might be Turing Complete.
 
4:52 AM
@ATaco 1. it doesn't have to be a complete grammar 2. use a sublime-syntax (or was it TextMate?) instead please
@ATaco the for in forum being blue is intended?
 
> Test 69 passed, but took 1 attempts (less than perfect).
did it not want it to try at all?
(from the acid3 test)
 
5:08 AM
That's intended
Because it's the keyword for
And in that particular context, it actually acts like for
 
6:08 AM
@ATaco classic "that's a feature not a bug" :P
 
Like in Charcoal's verbose mode >_>
 
@ASCII-only btw we really need to work on VSL tokenizer efficiency takes like 60ms to tokenize basic program :P
 
@Downgoat just tokenize? O_o
how about identifier
 
@ASCII-only yeah
@ASCII-only i think this is slowest part
 
if it's problem with identifier then we can't do anything about that because babel is bad.
 
6:13 AM
because we suport all unicode
 
could you leave out babel and see how long it takes
@ATaco +1 for Funky's write, -0.5 for no p or puts
 
@ASCII-only even slower
btw babel doesn't compile what doesn't need to be compiled for latest nodejs
so it only compiles like very new things like class porperties
 
hmm
 
and imports
btw have goat to go to sleep since am sick and need snoozes and almost midnight
 
:| JS has no unicode category support yet :/
 
7:17 AM
I can't code in emojicode now :/
 
@betseg why
 
My old phone was rooted so I could revert to old blubby Android emoji
But new one has those 💩y new Nougat emoji
@ASCII-only I was typing that
I want my warranty so no root :/
 
7:42 AM
0
Q: Generating a random array of numbers for a user to guess

YoYo MaWrite a program that randomly generates an integer with 10 to 20 digits. The program will then asks the user to guess a digit used in the number. If the digit appears in the number, display the number with the guessed digits and an “x” for the unknown digits. Allow the user to guess n times where...

 
8:20 AM
@ASCII-only But hey, the resulting 404 page is also geocitiesized
 
8:35 AM
-5
Q: A matlab program that gives random multiple choice answers

Derrick SAI need help creating a program in matlab that gives the same questions but randomises the answers

 
The OP of both NMP above are unregistered.
@NewMainPosts I think that I can submit a [C++98, C++03, C++11, C++14, C++17, C++20], but that's too lazy.
 
@user202729 I suppose that's better than someone with a SO account asking a "This should be SO" question. That always frustrates me
 
@ATaco That's easy to avoid in APL.
 
9:05 AM
I was close to getting a gold medal for logging in 100 days (was at 85/100 ), but I couldn't login yesterday and its gone now >.<
 
I ended at 99 days once before I got it due to a worktrip which made me forget to log in
 
the achievement should have been like "login 100 days" instead of 100 consecutive days
 
9:21 AM
Nah, 100 days total is easy. 100 consecutive shows commitment (bugs not counting of course) :P
 
@cairdcoinheringaahing 100 consecutive days is exceedingly difficult for orthodox Jews:
2
Q: Can we get our own custom Enthusiast and Fanatic Badge?

yydlEven though we're run on a generic platform (aka StackExchange), I think it's safe to say that we have the right to our own identity, and consequently our own rules. There are currently two elements of the site: the Enthusiast Badge and Fanatic Badge that both require a user visiting the site a ...

 
3
Q: Build a golfing language with me

caird coinheringaahingA lot of PPCG users helped with the creation of this challenge, both in chat and the Sandbox, specifically Martin Ender, AdmBorkBork, Emigna and user202729 Our community has found it necessary to create a set of languages designed specifically for golfing, "golfing languages" as we call them. Su...

 
@Adám That's quite interesting. I checked the number of people with Fanatic on Mi Yodeya: 38, compared to 301 for PPCG
 
@cairdcoinheringaahing But that's actually exactly the same percentage of users!
 
9:37 AM
38/17184 (0.0022) for Mi Yodeya, 301/79830 (0.0038) for PPCG
(Yes, I signed up for Mi Yodeya just to get that stat :P)
 
@cairdcoinheringaahing Uh... the KC codes look a bit bad.
 
@cairdcoinheringaahing Hm, I counted pages of Users. 18.6 18.0=38 301÷204 1672
 
All of them matches ^\$(\d+o)*$.
 
Yeah, I didn't really golf them that much at all
 
9:41 AM
Wait a minute...
 
@NewMainPosts And there's the obligatory, silent downvote.
 
@cairdcoinheringaahing However, I have a feeling PPCG's number of users is hugely inflated due to HNQ, spam, homework, and work. In a daily basis, I recognise the user names of almost all those that answer Qs.
 
1 1 char != 1 byte. Why are you counting #10 as 46 bytes?
2 I guess need to fix my quine...
 
@user202729 I'm not, I'm counting them as encoded in the Bugle encoding
 
(sorry, I've never actually counted the code page)
 
9:43 AM
@user202729 Why?
 
(that was in UTF8?)
No.
Wait, how does the codepage work...
 
The code page aligns with Ascii, the quine is fine
 
Oh I see.
> The 0xFF character is not to be used for a command, as its used to indicate that the next hex value in to index into the second half of the code page.
And I forgot to check for bugs in the codepage conversion part.
curl view-source:codegolf.stackexchange.com/revisions/… > __tmp
grep unprintable __tmp  | xxd

[...]
000000c0: 6473 2077 6974 6820 616e 2075 6e70 7269  ds with an unpri
000000d0: 6e74 6162 6c65 2063 6861 7261 6374 6572  ntable character
000000e0: 3a20 6060 2c20 616e 6420 6d61 7920 6e6f  : ``, and may no
000000f0: 7420 6265 2064 6973 706c 6179 6564 206f  t be displayed o
[...]
Huh?
 
Yeah, SE really doesn't like unprintable characters :/
 
It's the [BEL]?
&#7;
 
> It's possible to have raw DEL character () on answer submit, but not edit submit.
Similarly for some other unprintable characters.
 
@user202729 Thanks, it should be visible now
 
@cairdcoinheringaahing What prevents me from simply implementing a built-in for one of the challenges?
 
Nothing, although it's fairly uninteresting. I'm kinda expecting at least one answer to do that, minimum
 
It's uninteresting but isn't that the best way to win?
 
9:57 AM
Each builtin must improve at least 2 challenges.
@cairdcoinheringaahing Escape the \ too.
 
Ah yeah. ^^ I knew I forgot something :P
 
aaaand... it took another revision.
(the grace period is both too long and too short at the same time)
 
¯\_(ツ)_/¯ Doesn't matter that much - everyone makes mistakes
 
@user202729 Where is that written?
 
Do we have a "escape HTML" challenge?
 
10:00 AM
> In order to be valid, a new submission must have golfed submissions for at least 2 of the problems, by at least 1 byte for each
 
Oh
Why is that hidden in the tasks section? This seems super important
 
To test your ability to read carefully :P
 
0
A: Sandbox for Proposed Challenges

AngsFruit bagging factory Your mission is to build an algorithm (program or function) that can optimize bagging fruit from a conveyor belt into a bag. Each bag has to weight strictly more than weight units, just to be sure no one complains. Your bagging machine has always a lookahead of n fruits fro...

 
@Fatalize Repeated it again in the Rules section, thanks for noticing (or not, in this case :P) it's obscurity
@user202729 The grace period just doesn't make sense Case in point
 
10:26 AM
@dylnan this is something ais523 is known not to be comfortable to answer
and the answer is really a bit...
@LuisMendo hey, you tried to link me to a virus!
I have Kaspersky Anti-Virus 2018
 
@dylnan ais523 doesn't like reputation (and delete and recreate an account every time an answer is posted is too time-consuming). — user202729 1 min ago
@EriktheOutgolfer ... virus?
 
yes, his starred message took me somewhere where Kaspersky flagged as "threat of data loss"
so, yeah, I didn't proceed any further
 
10:47 AM
@EriktheOutgolfer What?
Hm no idea. AFAIK, it's a page that alters the aspect of other pages, for fun
 
@LuisMendo 13.04.2018 13.47.29;Dangerous URL blocked;http://www.wonder-tonic.com/geocitiesizer/content.php?theme=2&music=5&ur‌​l=https://codegolf.stackexchange.com/questions;http://www.wonder-tonic.com/geocit‌​iesizer/content.php?theme=2&music=5&url=https://codegolf.stackexchange.com/questi‌​ons;KSN;Google Chrome;04/13/2018 13:47:29
 
How can JS affect data?
 
that is, I tried to visit it at 13.04.2018 13.47.29, but it was blocked: Dangerous URL blocked, because of KSN, by using the Google Chrome and the block happened on 04/13/2018 13:47:29
KSN stands for Kaspersky Security Network, that is, researched sites going there based on other users' visits
so I doubt there are any false positives there
 
Technically if I golf the existing Bugle programs it would be harder for the next answerer...
 
@LuisMendo so, yeah, I'm not going there, maybe you unknowingly posted a virus or something...
what anti-virus do you have btw?
 
10:54 AM
Windows Defender, integrated in Windows 10
 
I don't have any (yes, apart from Windows Defender)
 
interestingly, only Kaspersky identifies it as Phishing
but that's enough for me, since Kaspersky is like the best anti-virus out there at least for me
 
That may be because the page modifies the aspect of other pages, making them look like crappy 90's sites. So technically it's phishing
 
Just be careful not to download viruses...
 
@EriktheOutgolfer so it's either Kaspersky not liking that much comic sans or a false positive I'd say :p
 
10:57 AM
^ I can undertand that :-D
 
or maybe Kaspersky actually knows that the site looks like PPCG and thinks that it is trying to trick you into using it as PPCG
 

« first day (2631 days earlier)      last day (2198 days later) »