« first day (2030 days earlier)      last day (2813 days later) » 

6:00 PM
@Dennis Hahaha
Sneaky byte golfing
 
1
A: Can you outgolf me? (Robbers section)

DennisAcc!!, 526 525 bytes, DLosc N Count x while _%60-46 { (_+_%60*5-288)*10+N } _/60 Count i while _/27^i { _+27^i*(_/27^i*26-18) } _*3+93 Count i while _/27^i/27%3 { _-i%2*2+1 Count j while _/3^(3*j+2-i%2)%3 { _+3^(1+i%2) Count k while _/3^(3*k+1+i%2)%3-1 { _+3^(3*k+1+i%2)*26 } } } Count i while _/...

Eh, Signing in will always be optional, but how would you prefer to authenticate on TIO? isn't getting a strong favorite. I might have to implement both. ._.
 
Neither are really preferable
What would the account be for exactly?
 
@Dennis dedicated accounts are painful, though
for both parties
 
Google sign-in sucks
Hence neither option being preferable
 
6:10 PM
@quartata To edit the code of your server-side permalinks.
 
Seems like a long-lasting cookie would be sufficient
I think ideone does that too
 
@Dennis If they select "dedicated TIO account", just redirect them to the page to set up a Google account, so they can set up one just for TIO
 
@quartata Hence optional. If you ever clear your browser cache, you'll lose it though. And you won't be able to edit it from another browser/device.
 
eh
 
Anyone here with Batchfile/PowerShell experience?
 
6:12 PM
me
 
I have a program xyz.exe that prompts the user (y/n). However, neither piping "y" (echo y| xyz.exe) from std nor from a file (xyz.exe < y.txt) produces an actual answer.
 
brb testing
 
I think this is caused by some kind of delay. In that case I would need to hook the process std to interact. But I have no idea how to do that in batch.
 
Does the user need to type just "y", or "y\n" (y with a newline)?
 
works for me
 
6:16 PM
@TùxCräftîñg I know that this usually works. But here it doesn't.
@trichoplax y and newline. I've tried that ofc.
 
@quartata If you have a suggestion, I'm all ears. I'd like to create an option that people would actually want to use. Every time someone forks instead of editing, I lose a bit of disk space.
 
It's a standard CLI PE32, not an MSIL assembly. So in theory this should really work.
 
@Dennis Local storage would be slightly better than cookies since usually it isn't cleared
 
i tried with a python program, brb trying with a actual C program
 
6:18 PM
AFAIK the program is VC++ compiled.
 
i dont have this horror on my computer to text
but i think it should be the same behaviour GCC-compiled
 
Don't think so. Because GCC on windows links it's own libs static, while VC uses the CRT.
 
@quartata Point taken, but I'll still have to fork if I edit answer I posted from my phone.
 
ah >_>
 
@Dennis If the code is always short enough, could you encode it directly in the URI? That wouldn't allow editing without also editing the link in the PPCG post, but would that allow you to avoid dedicating disk space to it?
 
6:22 PM
@trichoplax That's what I'm currently doing (without the server-side option). It requires updating the link every time you edit your code though.
 
@mınxomaτ GNU Coreutil yes is the answer
 
@ReleasingHeliumNuclei No it isn't.
 
@mınxomaτ "yes" it is
badum tsss
 
yes | program
 
6:24 PM
Hm, just disassembled the program. It seems to refuse any pipe or redir...
 
@ReleasingHeliumNuclei I already told you that piping didn't work. It doesn't matter what generates the "yes".
Now I need some way to send keystrokes to windows with batch...
 
@Dennis Is it worth a poll to see whether people would prefer the way it currently is or updating but needing a Google account? They'd still need to update both the PPCG post and TIO, right?
 
@mınxomaτ maybe ^D is also being sent or something?
 
6:26 PM
No.
 
i think you must use some weird driver manipulations
 
@mınxomaτ i sent the message before you said piping doesn't work? Or is chat borking?
 
> However, neither piping "y" (echo y| xyz.exe) from std
 
@mınxomaτ yes isn't just one y, i though that could be the problem
 
There is just one prompt. No need for more "y". Also I need the next prompt to be answered with "n".
The program has a /y switch, but that just plows through everything.
 
6:29 PM
AHHHH BATCH SWITCHES
 
@trichoplax I'm not replacing the current scheme. Both URI and sever permalinks will be available.
 
@TùxCräftîñg Halp how do i strikethrough
 
---halp---
or <s>halp</s> on the site
 
does it work
Wow it does
 
@Dennis Ah I see. The exact choice of method seems slightly less important then - hopefully less pressure...
 
6:36 PM
My language haz printing strings and single chars and storing single chars. What should i implement next? there are lots of things, but I dunno where to start
 
If there's no strong favorite, I'll probably go with dedicated accounts. I think more people would refuse to create a Google account than a TIO account.
 
@mınxomaτ It could be using console input functions rather than reading from stdin.
 
@ReleasingHeliumNuclei making your code better?
 
@feersum Yeah, I'm trying to hook it somehow now.
 
like creating a parse function taking a string as input to reuse it
for funcʈiøηs
 
6:38 PM
I'm also not exactly pleased with the idea of including some Google-controlled JS in my website.
 
@TùxCräftîñg i thought you meant **argv :D
 
and argv too
( ͡° ͜ʖ ͡°)
 
and it look more like a painful to use esolang than a golf lang
 
6:40 PM
rH0re1rl2ro3r,4r 5rW6rr7rd8r!9p!0p!1p!2p!2p!3p!3p!4p!5p!6p!3p!7p!2p!8p!9 wtf is this horror srs
 
Gonna change readme
 
> betseg committed on GitHub ye
ಠ_ಠ
 
idea: please commit with meaningful commit messages
...
 
^^^
echo '#!/usr/bin/env node' > $2
echo "with (require('$STDLIBPATH')) {" >> $2
node $NEOSCRIPTPATH $1 >> $2
echo '}' >> $2
10/10 best code generation
 
6:45 PM
( ͡° ͜ʖ ͡°)
 
@feersum Further RE revealed it uses a different ConsoleMode :/
But that's good news, since I can just patch the binary.
 
@TùxCräftîñg ok i will
> :D
 
@TùxCräftîñg :| that was long time ago
 
6:53 PM
@Downgoat my v1 was like printf("int main(){");/*other things*/printf("return 0;}");
 
.__________.
 
but the :D commit i never forgived
 
you should be generating an CST and from there translating that to string
 
guys at CR are evil
they say golfed code is bad
 
6:55 PM
^^^ I called them evil code reviewrs but riker commented it otu
 
Any Makefile ninjas lurking around?
 
i do Makefiles but i wouldn't call myself a ninja
 
@BernardMeurer i know how to makefile but im still shit ninja at makefile
 
Well maybe y'all can give me a hand
 
6:57 PM
 
I grabbed this from the project I'm modifying right
Well, sweet, it works just fine
 
All the kids in here are usually up with the shiniest new technologies so I'm always surprised how many of them use the primitive, archaic make.
 
i mainly use cmake
 
But assembly is kind of a pain so I'm moving to C which is nice and high level
 
which generate makefiles...
 
6:58 PM
Me too, but you can generate many other things instead of makefiles.
 
the kernel use C...
 
@feersum wat why is make archaic
 
i write my Makefiles by hand, like a Real programmer (plz summon the relevant xkcd)
 
I have a modified version of that same makefile for a kernel written in Rust
 
6:59 PM
:31805558 haha ninja'd
 
ninja'd because of shitty connection
 
I know that to compile my kernel.c I need gcc -c kernel.c -o kernel.o -std=gnu99 -ffreestanding -O2 -Wall -Wextra
But how the heck do I add that to my makefile?
 
(and because of uncooperative browser)
 
@BernardMeurer under which target? wat
 
> kernel written in Rust
ಠ_ಠ
 
@ReleasingHeliumNuclei Yeah, it's p cool
 
a OS written entirely in rust
 
@Downgoat Is lost
 
(obviously there is some asm code)
 
@TùxCräftîñg well, there's Node OS, Linux kernel + Node.js
 
7:01 PM
dont make joke with daft punk
 
@TùxCräftîñg Apart from getting into protected/long mode you shouldn't need much more assembly
 
huh?
 
u gitlab?
 
7:03 PM
no
 
@TùxCräftîñg ye
 
@Downgoat Currently negative numbers are not supported.
so explain me this
 
0
Q: Quick Golf: What's on TV?

βετѧ ΛєҫαγChallenge Write a program which, using the XML data from the site here, display the name of the programme which is currently showing on BBC 1. Information All times are given at London time (GMT+1 at the time of posting and GMT+0 after the 30th October). Each programme is given a start and e...

 
becus u gotta use integer wrapper for negatives
 
7:10 PM
though it might be borked idk
gtg gotta write essay
 
7:21 PM
> "S***, did we just send that notification to everyone?" - some dev, probably
 
ı hαvε crεαʈεđ α $crıpʈ ʈø 1337ıƒγ α $ʈrıηg
 
@TùxCräftîñg Now we'll have no way of telling who is genuinely 1337...
 
@TùxCräftîñg is it like sed -e 's/[Ll]/1/g' etc etc
 
question: is there better word for astoundedness
 
7:35 PM
amazification?
amazifiedness
 
How do you checkout to a tag?
 
What do you mean by checkout?
 
Oh you mean a github tag?
 
7:36 PM
I thought you meant like
 
Ah, lol
 
I don't know much about git or github but lots of people here do
 
@trichoplax i dont think i can use that on essay
@BernardMeurer git checkout <tag>?
 
@Downgoat Oh, lol, it's not for a challenge? I'll rethink...
@Downgoat Something like awe?
 
espaco@Arch ~/f/blog_os> git checkout  entering-longmode
error: pathspec 'entering-longmode' did not match any file(s) known to git.
@Downgoat :/
I had tried that already
 
7:39 PM
do a git tag
your git is borked :/ otherwise
 
I see entering_longmode there
 
hm. try git checkout tags/entering-longmode
 
You can use "awe" both for "astound", and "astoundedness" - "awe" works as a verb or a noun.
 
espaco@Arch ~/f/blog_os> git checkout tags/entering-longmode
error: pathspec 'tags/entering-longmode' did not match any file(s) known to git.
 
@trichoplax oh that's good tyvm
 
7:41 PM
Noop
 
@Downgoat yvw:)
 
@BernardMeurer idk, do git fetch? no idea why thats happening
 
HA
HAHAHAHA
_ not -
 
...
 
bαcκ
is Chatgoat active somewhere?
 
7:51 PM
no but i can start him if you want
 
@Dennis Maybe you could have a unique edit token for each permalink
Having to save something to edit it seems like a lot of effort
 
I'm not following.
 
Like, if you have tryitonline.net/run/ID, you could also have tryitonline.net/edit/PRIVATE_ID
 
@Dennis idea: do what regex101 does, when someone wants to make a change, you save a "revision" instead, you can reference first revision, latest revision, etc.
 
@Downgoat That's forking
And his point is that eats up disk space
 
7:59 PM
^
 
He needs a direct method to edit
 

« first day (2030 days earlier)      last day (2813 days later) »