Unanswered Questions
69 questions with no upvoted or accepted answers
2
votes
0
answers
80
views
63 ways to split your string in YAML
There are 63 ways you can split a string across multiple lines in YAML. Your task is to write a program that outputs a YAML array that demonstrates all of them and their key features, in any order.
A ...
6
votes
0
answers
92
views
How many polygons overlap? (hard)
Write a program or function which, given 1 or more polygons, determines the greatest number of polygons overlapping at a single point. That is, if each polygon was a piece of paper positioned ...
4
votes
0
answers
181
views
Find the factor to use for shortest simple Brainfuck data initialization loop
I like writing answers using Brainfuck, since this language basically simulates a Turing machine, and it is pretty challenging to find the shortest answer for any problem, since there are a lot of ...
0
votes
2
answers
243
views
minimum line queries in logarithmic time
Input
You are given 2 positive integers, n, q, followed by q queries. the queries can be of two forms:
0 a b: add the line a*x + b. a and b are integers between -...
4
votes
0
answers
151
views
Tips for golfing in Sidef
Sidef, created by Daniel Șuteu, is designed for expressive, compact code, especially in mathematical domains (e.g., number theory, combinatorics). I’m diving into code golf challenges using Sidef and ...
3
votes
0
answers
162
views
Tips for golfing in Zig
Zig is a low-level, statically typed, and compiled systems programming language designed for safety, performance, and simplicity. It provides direct control over hardware with an emphasis on explicit ...
2
votes
0
answers
273
views
Shortest way to cause a seg fault at 0x9c?
In honour of CrowdStrike's exception at 0x9c, what's the shortest way (character-wise) to cause a segfault by dereferencing address 0x9c?
The best I can come up with is:
...
3
votes
0
answers
172
views
Tips for golfing in Emmental
What general tips do you have for golfing in Emmental? It is a self-modifying language defined by a meta-circular interpreter, so I wonder if there are tips for golfing for this esoteric programming ...
0
votes
0
answers
231
views
Shortest Float32Array to Int32Array conversion for audio processing
I'm currently converting a Float32Array to an Int32Array for input to a real-time audio raw PCM to MP3 recording application.
<...
2
votes
0
answers
190
views
Golf a PSK31 modulator
Given a string of ASCII text as input, encode it in BPSK31 using Varicode. You may either output an audio file in any common format, or play the audio over the device speakers. You may output at any ...
8
votes
0
answers
321
views
Solve the word problem*
In this challenge you will receive a list of positive integers \$W\$ called a word, and a square symmetric matrix \$M\$. Your task is to determine if the word can be turned into the empty list by ...
6
votes
0
answers
316
views
Shortest CSS selector to select ALL html elements, without using asterisk *
What is the shortest selector (by character count) to select ALL html elements on a web page, without using asterisk (*)? Some examples are the following:
...
7
votes
0
answers
436
views
Write a proof checker for first order logic
This originally came from Give the best Chaitin incompleteness bound, but I realized that there was a fragment of this problem which still potentially gives a good coding challenge.
First Order Logic ...
7
votes
0
answers
231
views
Give the best Chaitin incompleteness bound
This was originally a pure mathematics question, but I think I've got the best chance for an answer here.
The Challenge
For concreteness, consider Peano Arithmetic (PA). For some language L of your ...
2
votes
0
answers
109
views
Tips for golfing in Thue
Anyone got tips for golfing in Thue. One tip per answer, and no tips aplicable to all languages (like remove comments)