« first day (2086 days earlier)      last day (2748 days later) » 

3:00 PM
is on game theory or executing koths?
 
@Downgoat eas
 
wat
 
You wrote "bird of a feather", not birds.
So "eas"
 
still wat
 
So far I've done a couple things. 1) explain a lot of KOTH subcategories (1v1, small group, large group, arena, custom language, asymmetrical, etc.)
 
3:01 PM
'the fuck is this character
 
^
ampercant
 
2) explain the process of writing/hosting a KOTH
 
halp how to spel amperatncansdkjflajsk;dh
 
@Downgoat "End" (motion) "append" (insert mode) "s" (the letter)
 
@Downgoat "Ampersand", but you're @Typogoat so who cares?
 
3:02 PM
@Downgoat Ampersand
Ninja'd
 
thx
@PhiNotPi suggestion: add picture :D
 
@PhiNotPi You should do a blog post about the quest for tetris sometime
 
in PPCG Blog, 13 hours ago, by Downgoat
more photos = better
@DJMcMayhem Phi has a dedicated blog for that (IIRC)
 
Maybe port some of the posts over?
 
3:03 PM
@DJMcMayhem They're really long, and very linked.
 
Zalgo is on on the block
 
Idk, it seems like a really interesting topic that's slightly out of the norm of what the blog would usually get, but still very related to PPCG
 
@EriktheGolfer you'll need to submit to the publication
 
@TheveryevilROFLcopter Thanks!
 
I could do a single summary post (given that it's something several PPCG users have been involved with), but all of the gory details will have to stay on my own blog (because sanity).
 
3:05 PM
@wizzwizz4 It now use a ELIZA-based algorithm
 
Programming languages have double negatives.
Somebody needs to perform a linguistic analysis of programming languages.
 
@noɥʇʎPʎzɐɹC I tried. I lost the ability to use coherent grammar. Luckily I'd taken a backup of the old state of my grammar parser, so I generated training data using the backup and piped it directly into the new one, so NOT A BOT!
 
@wizzwizz4 so relatable. You know I had an experience with a backup of the old state of my grammar parser.
9
Q: Copy image to clipboard with javascript in Chrome only

Mike JaffeIs it possible to have javascript copy an image to a clipboard? I'm looking to replicate the "Copy Image" function that Chrome has when you Right/Control click an image in the browser. I've seen solutions for text, some Flash based solutions for text as well. But I'm interested in image data onl...

 
@Downgoat Could you put @Chatgoat into The Block?
 
3:18 PM
Fun iz coming
 
@Downgoat I can submit for myself, but not on the code-golf blog :(
 
@Adnan Thanks!
 
@EriktheGolfer can you send me screenshot of editor page?
 
Can I edit things after they've been published?
 
yeah
 
3:26 PM
is there any challenge on implementing
yes is a Unix command, which outputs an affirmative response, or a user-defined string of text continuously until killed. == Description == By itself, the yes command outputs 'y' or whatever is specified as an argument, followed by a newline repeatedly until stopped by the user or otherwise killed; when piped into a command, it will continue until the pipe breaks (i.e., the program completes its execution). It can also be used to test how well a system handles high loads, as using yes results in 100% processor usage for systems with a single processor (for a multiprocessor system, a process must...
 
@noɥʇʎPʎzɐɹC Done: for(;;)printf("y");
 
@wizzwizz4 nope, it would repeat stdin, if there is no stdin, output "y"
Hey kids! Wanna burn your CPU? Just run the yes > /dev/null command!
 
@noɥʇʎPʎzɐɹC ches: for(;;){(IO.prompt()||"y")}
 
@noɥʇʎPʎzɐɹC Hey kids! Wanna burn your CPU? Enter your answer into the terminal now!
4
 
40
Q: yes is 91 lines long

Ramon Sniryes, from coreutils, is 91 lines long. Many of them are comments, but that is still WAY too long. Write a program that imitates yes: outputting to stdout an infinite stream of "y\n"'s there must be an option to stop it other than killing the process with SIGKILL: but SIGINT and SIGPIPE are fin...

unfortunately with restricted source
 
3:32 PM
@Downgoat It's coming.
 
@EriktheGolfer woah dude get uBlock Origin as your adbocker
3x less memory footprint, 3x less CPU time for your browser
Compared to other adblockers
 
@noɥʇʎPʎzɐɹC What? It's not ABP, it's just based on ABP, but it's much faster than that.
 
@EriktheGolfer Oh, but uBlock Origin is even faster. And open-source. And Adblock is owned by ABP
Performance stats @ GitHub: github.com/gorhill/uBlock#performance
It blocks everything ABP blocks, and more. Same filters.
 
@PhiNotPi my Character class is really getting quite massive. I've got 27 private members
 
RIP
 
3:37 PM
I know. The problem is that they really all belong there
 
@noɥʇʎPʎzɐɹC I explicitly want a "block ad blocker targeting" filter, though.
 
private Team team;
private final List<CharacterAbility> abilities;
private final List<CharacterAction> actions;
private int attributePoints;
private int[] stats = new int[Stat.values().length];
private int smartness, cleverness;
private double health, mana;
private int maxHealth, maxMana;
private int delay;
private int turnNumber;
private int stunTick;
private int poisonTurn, poisonAmount;
private int frozenTurn;
private int silenceTurn;
private int invisibleTurn;
private int turn;
private boolean dead;
 
@EriktheGolfer Well then go into Adblock's settings, find the filter, and copy-paste the URL into uBlock Origin's filter list.
In fact, there's a checkbox for the other open source project "AntiAdblockKiller" builtin.
 
@noɥʇʎPʎzɐɹC That one only works for some very specific websites.
 
@ConorO'Brien for the yup quine, is --cheat allowed?
 
3:40 PM
> uBlock₀ blocks ads through its support of the Adblock Plus filter syntax. uBlock₀ extends the syntax and is designed to work with custom rules and filters.
@EriktheGolfer Yes but uBlock Origin supports all ABP filters. And AdBlock, the adblocker you have now, only supports ABP filters.
Copy-paste the anti-adblock filter into uBlock Origin. It'll work.
 
@noɥʇʎPʎzɐɹC I don't have uBlock Origin right now...
(I'll put it in though)
@noɥʇʎPʎzɐɹC Okay I have opened the Dashboard.
 
be sure to disable Adblock, both running is slowest
@EriktheGolfer click settings > filters > scroll down > custom
 
@noɥʇʎPʎzɐɹC I've paused disabled it.
 
wot
I am trying to download Coco/R for C/C++ but I need to authenticate me
 
@EriktheGolfer so opinion?
 
3:45 PM
@noɥʇʎPʎzɐɹC I have not initialized it yet, I'm checking its settings.
 
@EriktheGolfer remember cog icon top left > 3rd party filters > custom > add that anti-anti-adblock filter
 
@noɥʇʎPʎzɐɹC Enabled it just before you posted the message :)
Ahhh updating takes long.
 
@EriktheGolfer

> explicit is better than implicit
 
@noɥʇʎPʎzɐɹC What do you mean? Is there such an option? That ad blocker is GREAT!!!
 
@EriktheGolfer no, it is a quote from the Zen of Python. uBlock origin might take long to update, buuuut
@EriktheGolfer ??
 
3:52 PM
@noɥʇʎPʎzɐɹC Why two pings for that? I said that ad blocker is so good, that I might be replacing AdBlock with it!
 
Oh. Hooray!
star to let others know?
@EriktheGolfer I did not expect so much enthusiasm. Why that much?
 
@EriktheGolfer did you write click the button to write a story underneath the PPCG dropdown
 
@noɥʇʎPʎzɐɹC Just a question here? Have you fixed your pings there forever? The enthusiasm is because I have never seen such a massive (is it?) list of filters. Ever.
 
@EriktheGolfer huh? what pings? Well uBlock is indeed a wide-spectrum blocker, so it blocks tracking, ads, badware (those annoying .cnet.com sites), and craploads of stuff. All the while, it's faster.
 
@noɥʇʎPʎzɐɹC You have pinged thrice on my message.
 
3:57 PM
ok sorry
 
@Geobits Any news on xkcd Marky? (asking too much I know :P)
 
Put quartata on The Block.
 
@EriktheGolfer you want me to pitch uBlock Origin to quartata?
 
@noɥʇʎPʎzɐɹC No, quartata should be put in The Block, because that's where Marky resides...
 
@EriktheGolfer Oh yessss (found in uBlock's own filter lists):
> forbes.com##script:inject(forbes-defuser.js)
 
4:12 PM
medium.com/code-golf/… my first blog post, on KOTHs. I'll probably add more details to "tips for winning" eventually. Read it and let me know what you think. There's probably some minor proofreading/editing to do.
6
 
@noɥʇʎPʎzɐɹC The Block is a chat-room.
 
Executing time alone gets 0.31s, but time ls is 0.01
 
@Downgoat I think you really need to make me an editor to post on the blog.
 
wtf, npm? you were quitted a long time ago and are consuming 400 mb
 
@noɥʇʎPʎzɐɹC thats because it has no server endpoint and instead does a scrape and stores npm repo client-side
 
4:16 PM
@Downgoat ??
Game where people can change the game's rules ^
 
4:30 PM
»  ./thorc.exe
input: error: Parser Undefined!
╚ý▼:1:39855529 '↑▲▼'
Segmentation fault
Beautiful
 
4:41 PM
@PhiNotPi Great article. "advantages/ disadvantages" would look better if that slash was an "or". Anyway, I'm happy to see that Spacewar! made the list! :D
 
@Downgoat I can't respond on medium looks like, but search meta abuot it.
iirc the knob was involved
 
Are there any negative prime numbers?
 
no
no negative composites either
 
:-(
There goes my proof of the Goldbach conjecture!
 
4:47 PM
@El'endiaStarman thanks!
 
@TheBitByte - what does the no use of ordinals actually mean on that bounty? Does that basically mean the only languages that can compete are ones with some built-in that yields something containing an asterisk? Or do you mean to imply chr(42) is not allowed but chr(6*7) or chr(ord(' ')+10) and the like are?
 
@JonathanAllan He is suspended
 
Oh what?
what happened?
 
@JonathanAllan Annoying people, I think.
 
4:52 PM
tsk
 
I missed it by ~10m, so I'm not sure.
 
And now annoying people un-happened?
 
I don't think we should discuss it without @TheBitByte being able to reply.
 
Oct 11 at 19:10, by Martin Ender
If your only contribution to this chatroom is arguing over pointless things for the sake of arguing, while also insulting other users in here, then please take your contribution elsewhere.
 
@TheveryevilROFLcopter I really don't think we should be discussing this.
 
4:53 PM
fair enough
 
That's not very considerate to the people elsewhere.
 
@EᴀsᴛᴇʀʟʏIʀᴋ doorknob? Wat
@noɥʇʎPʎzɐɹC npm downloads entire repo which is probably why
 
@Downgoat and then it keeps it in memory. Not swap either, but REAL MEMORY.
 
@noɥʇʎPʎzɐɹC well yeah during the download
npm doesn't choose memory or swap that's up to OS afaik
 
@Downgoat this is long after the download
 
5:02 PM
That is not possible
unless you are using crap OS
 
@Downgoat sounds like a job for AvocadOS
 
I love debugging for hours a typo ._.
 
@TheveryevilROFLcopter Really? I don't.
Our opinions differ more than I thought...
 
@TheveryevilROFLcopter Was that sarcasm?
 
5:07 PM
Obviously ._.
 
Could you please make the verb italic in future? It helps.
For example:
I really like deleting my backups instead of restoring from them.
 
@PhiNotPi ಠ_ಠ
speaking of which. Zyabin tried to revive it but no one knows asm fluent enough to make it a thing :(
 
?..to_i...?..to_i
^ valid Ruby
@Downgoat I speak some asm
 
@TheveryevilROFLcopter pls halp make bootloader
 
But for some reason I can't get qemu run on Windows
 
5:11 PM
that is limited to like 512 bytes so we need to do asm golfing
 
It's not terribly surprising that any language has obscure code that can make it seem really rather odd at a first glance. To judge a language based off of an obfuscated code snippet is ludicrous.
</rant>
 
@TheveryevilROFLcopter the problem is you are using Windows
 
I might actually be interested in helping with AvocadOS some more.
 
@Downgoat The job of a bootloader is to switch to protected mode and load and run the kernel
Nothing more
 
I know that much
but I still can't memorize all registers and what are used for wat
 
5:13 PM
@Downgoat Huh
 
@Downgoat I know some asm, but it's only Z80.
 
I'm really good at QFTASM. ~(°ワ°)~
 
@Downgoat I can do that! HCF\nXPR\nSDI
Done.
 
@TheveryevilROFLcopter also I have no idea how to make extern/global work
 
By the way, don't try that unless you're undead.
 
5:14 PM
@Downgoat You use GRUB
So you don't need a bootloader
 
wat
 
Only a kernel
 
avicados will have 0 dependencies
 
GRUB is the bootloader
 
we are trying to make most golfed OS
 
5:15 PM
@Downgoat Then you can't use GRUB
 
at least most golfed os with web gui
 
@Downgoat UGLY CODE IN APPROACH
 
WAT
 
And if you use GRUB anyway I can't help
#Windows
 
@TheveryevilROFLcopter wait wat is grub
 
5:16 PM
@Downgoat Don't have any bootloader code outside the assigned block of hd space.
 
@Downgoat Wot
You don't know what is GRUB
 
;_; y u no switch to Mac or Linux yet
 
@Downgoat ;_; becuz games
 
@TheveryevilROFLcopter no. I am not stupid gaot pls
 
@Downgoat The "Genius' Rubbish Undefined Behaviour".
 
5:16 PM
GNU GRUB (short for GNU GRand Unified Bootloader) is a boot loader package from the GNU Project. GRUB is the reference implementation of the Free Software Foundation's Multiboot Specification, which provides a user the choice to boot one of multiple operating systems installed on a computer or select a specific kernel configuration available on a particular operating system's partitions. GNU GRUB was developed from a package called the Grand Unified Bootloader (a play on Grand Unified Theory). It is predominantly used for Unix-like systems. The GNU operating system uses GNU GRUB as its boot loader...
 
@Downgoat GRand Unified Bootloader
 
@TheveryevilROFLcopter partion disk so u have 1 half Windows 1 half Linux
thats what I did
 
Woops fr wikipedia link
 
Not to be confused with the "Genius' Awesome Undefined Behaviour"!
 
GAUB?
 
5:19 PM
@Downgoat Yes. It uses UB to achieve great things.
 
@Downgoat no GRUB, it's spelled R-some
 
@Downgoat I will try to rewrite AvocadOS' bootloader to be stand-alone
 
However, if compiled in the wrong compiler version it will wipe your hard disk.
 
(And then it would be possible for me to contribute :3)
Wait qemu works :D
 
@wizzwizz4 Not to mention what would happen if you compiled it during the wrong moon phase.
 
5:22 PM
@MartinEnder If the stars are right, it will awaken Cthulhu.
 
5:35 PM
> he also folds a way for easy storage
 
5:48 PM
hmm, that reminds me ...where's my t-shirt?!
^ wrong room :p
 
something for the top users to look forward to after graduation
top two pages got t-shirts at puzzling.SE, I guess same will happen here
 
@JonathanAllan ... That's a thing?
 
yeah although I am still waiting for delivery
 
Now I have a reason to ensure that Retrocomputing graduates! :-)
 
5:51 PM
stickers too, cant forget the stickers
 
@JonathanAllan ...
No...
They... actually give out stickers?
They actually give out stickers.
...
 
well I got contacted and gave my t-shirt size and a delivery add
 
Stickers?
...
 
Wow.
 
5:53 PM
I WANT TSHIRTS AND STICKERS
 
How do they make stickers?
 
32
Q: Puzzling Stack Exchange - Top User Swag!

animusonWe want to congratulate and thank everyone that helped this site and community grow healthily into what they are today! If you can find your name among the top 72 users in the first two pages here, we have a surprise for you! We want to send you a token of our appreciation for being among the mo...

 
6:07 PM
@Downgoat just search meta.
 
*(0xB8000) = 'A';
^ Why GCC don't want to compile?
 
Why do you do such stupid things? Perhaps your program does not have access to 0xB8000?
 
@flawr I am writing a kernel
All the memory is available mwahahaha
 
Aparently not
 
Fixed by casting 0xB8000 to a (char*)
 
6:18 PM
@TheveryevilROFLcopter Methinks problems are bad.
... How are you writing a kernel?
Are you using a VM?
If so, how?
 
Yes
qemu-system-i386
 
I've wanted to wite a kernel for ages!
 
@TheveryevilROFLcopter That's fine. I know a little French.
 
0
A: Sandbox for Proposed Challenges

Wheat WizardProve DeMorgan's laws Using the the ten inferences of the Natural Deduction System prove DeMorgan's laws. Specifics and scoring You will construct one proof for each of DeMorgan's two laws using only the 10 inferences of the Natural Deduction Calculus. The two rules are: ¬(P ∨ Q) ≡ ¬P ʌ ¬Q ...

 
6:24 PM
#define VGABASE ((char*)0xB8000)

void cls();
void putstr(char*);

void _start() {
    cls();
    putstr("Hello, World!");
    for(;;);
}

void cls() {
    int i = 0;
    while (i < 25*80*2) {
        VGABASE[i++] = 0;
        VGABASE[i++] = 7; // White on black
    }
}

void putstr(char *s) {
    int i = 0;
    while (s[i]) {
        VGABASE[i*2] = s[i++];
    }
}
^ Code of my kernel
 
That's a very boring kernel at the moment, although some of the functions are good.
 
And what is a kernel?
In this context?
 
@flawr A thing that does things.
 
A kernel is the core of an OS
 
@TheveryevilROFLcopter Implement an esolang as your kernel.
Make it so the only code that can run is that esolang.
 
6:27 PM
The executable format of the kernel will have a bit in the header to indicate the code is a BF code, not x86 machine code
 
@TheveryevilROFLcopter Perhaps you should implement an esolang that's a little less... Turing-tarpit-like.
 
Brain-flak? :P
Srs, BF is the only esolang I know how to implement in C
 
Can you also implement BF in Assembly?
 
@TheveryevilROFLcopter I'll help if you like.
 
6:33 PM
Ouch. I just looked at the mod flag panel.
I shouldn't have.
People flag the most horrible messages! Why do they want to bring those to my attention?
I don't want them brought to my attention! I don't want to look at them!
But other people don't either, so I delete them.
 
6:46 PM
@Fatalize If one lives in a big city, the stores are much better in the dead of night; less people there to get in your way.
 
@JonathanAllan Oooh yes, this. It's wonderful to drive to a grocery store and shop around midnight since there's hardly anyone to worry about. Much quicker and you don't have to be ready for social interaction (including responding to other cars).
 
exactly
 
@JonathanAllan well, provided you're in a country where that's possible...
 
I tend to leave it a little later to avoid the drunks though
 
@El'endiaStarman I've made progress on the symbol table I was talking about earlier.
 
6:53 PM
yes it needs to be open :p that was a given
 
@TheveryevilROFLcopter are you starting from scratch?
 
?
Oh, yes, I wrote the bootloader/kernel entirely
 
how much of it is based off AvocadOS?
 
AvocadOS don't want to build on my computer ;_;
lolwut
 
so quick question...
say i have this.
 
6:58 PM
0
Q: Export The $PATH Variable, Line-By-Line

Kaz WolfeInspired by this question on AskUbuntu. Your job is extremely simple. Take the PATH environment variable (echo $PATH) and export it such that each entry (separated by the : character) is on its own line. For example, if the PATH is /bin:/usr/bin:/usr/local/bin, your program should output: /bin...

 
kaz@host $ somescript.sh
a
b
c
kaz@host $
would that be considered a trailing newline on this site or no?
 
There is a trailing newline
 
alright, thanks.
 
Without trailing newline this would look like this:
kaz@host $ somescript.sh
a
b
ckaz@host $
 
@TheveryevilROFLcopter my guess is something is being stored where color is supposed to go.
 
7:00 PM
@TheveryevilROFLcopter okay, thought so, thanks for confirming.
 
Now I borked it more lol
Wait I found the problem
Precedence ._________.
 
> VGABASE[i*2] = s[i++]
is that it?
 
VGABASE[y - n*COLS*2 + x] = VGABASE[y*COLS*2 + x];
The good code is
VGABASE[(y - n)*COLS*2 + x] = VGABASE[y*COLS*2 + x];
 
10/10
 
Wtf interruptions are weird
 
7:23 PM
@TheveryevilROFLcopter wait, is is not already?
 
@Downgoat It use GRUB
And for some reason I can't get AvocadOS to build on my computer :/
So I create my own OS
And I am trying to understand how to interrupt
 
7:37 PM
inc/io.h:5:5: error: 'asm' undeclared (first use in this function)
     asm volatile ("outb %%al, %%dx" :: "d"(port), "a"(byte))
???
How asm is undeclared
 
0
Q: The 3x3 Hexa Prime Square Puzzle

ArnauldThe 3x3 Hexa Prime Square Puzzle Introduction We consider 3x3 squares of hexadecimal digits (from 0 to F) such as: 2 E 3 1 F 3 8 1 5 7 2 7 D D 5 B B 9 We define a 3x3 Hexa Prime Square (HPS3) as such a square for which all hexadecimal numbers read from left to right and from top to ...

 
Huh the correct thing is __asm__
._. now the machine restarts in an infinite loop and idk why
 
@xnor Woohoo, a challenge for Retina to shine :D
 
@TheveryevilROFLcopter these are the joys of debugging, which is usually a more private matter.
 
:O I found why
Because the bootloader only loaded the first section of the kernel
Not the entire kernel
 
7:50 PM
@MartinEnder That's a good question... I'll say "yes" it is allowed. I'll also revise appropriately.
 
Waitwat
Now the kernel is not executed
 
@MartinEnder can you match (ss)* directly?
 
^((.+)\2)*$
 
0
A: Sandbox for Proposed Challenges

Martin EnderChebychev Rotation code-golfgridgeometry Consider a regular grid, where each cell has integer coordinates. We can group the cells into (square-shaped) "rings" where the cells in each ring have the same Chebychev distance (or chessboard distance) from the origin. Your task is to take such a cell...

2
A: Sandbox for Proposed Challenges

xnorPairable strings code-golf A string is pairable if it can be split into subtrings, each of which is a string repeated twice. For example, aabaaababbbaba is pairable as: aaba aaba b b ba ba Given a non-empty string of a's and b's, output a fixed Truthy value if it's pairable and a fixed Falsey...

 

« first day (2086 days earlier)      last day (2748 days later) »