« first day (5139 days earlier)    last day (1 day later) » 

00:18
@TheEmptyStringPhotographer you havent proven P != NP tho, thats just a counterexample to P=NP
(and also the threat to modern cryptography is very much a known aspect of "we haven't proven P!=NP but we just. really really want to assume it because like no way is it not true", granted there's also overlap with post-quantum cryptography and whatnot)
00:31
"like no way is it not true"? more like "i really really hope its not true otherwise the past 30 years will have to be undone"
at the same times theres also advantages if P=NP
 
9 hours later…
09:53
0
Q: Tips for golfing in Bespoke

Josiah WinslowWhat are some general tips you have for golfing in Bespoke? I want answers that are specific to Bespoke (e.g. don't just say "remove comments"). One tip per answer. Esolangs page Documentation Official interpreter

10:23
0
Q: Tips for golfing in COBOL

138 AspenCOBOL is a high-level, compiled programming language designed for business applications, readability, and long-term maintainability. It emphasizes verbose syntax, English-like readability, and robust support for data processing, file handling, and business logic. COBOL's structure is divided into...

It's the tipocolypse
@NewPosts given it emphasises verbose syntax, my tip is not to golf in COBOL
A sorting algorithm that will decimate your RAM:
def ram_killer_sort(l):
    """
    A sorting function that sorts in O(size_of_list + highest_number_in_list) and only works with natural numbers.
    This sort sacrifices your space complexity however, which is O(highest_number_in_list).
    """
    assert all(map(lambda x:x%1==0and x>=0, l)) # O(n)
    r = [""] * (max(l) + 1) # O(n + m) where m is highest item in list
    for item in l:
        r[item] += f"{item}\n" # O(n)
    return [*map(int, "".join(r).split("\n")[:-1])] # O(n + m) where m is highest item in list
11:16
@DannyuNDos Dupe of sandbox (codegolf.meta.stackexchange.com/a/22251/76323) but maybe not main
11:29
0
Q: Tips for golfing in Fortran

AhamadFortran is a compiled imperative language known for its numerical and scientific computing strengths. It blends traditional procedural programming with some modern features like array operations. What general tips do you have for golfing in Fortran? I'm looking for approaches and tricks that are ...

 
2 hours later…
more like ganyYEET
0
Q: Tips for golfing in Sidef

AhamadSidef, 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 want to minimize my character count. What are some expert tips for writing shorter Sidef code? I’...

 
2 hours later…
16:01
def ticksort(l):
    ll = l.copy()
    r = []
    c = 0
    while True:
        c += 1
        e = 0
        for i in range(len(ll)):
            ll[i-e] -= 1
            if ll[i-e] <= 0:
                r.append(ll[i-e] + c)
                ll.remove(ll[i-e])
                e += 1
        if ll == []:
            break
    return r

TEST_CASE = [7, 11, 5, 2, 3, 0]
print(ticksort(TEST_CASE))
16:40
Languages on esolang that base on another lang and shift ascii by some value, list?
 
3 hours later…
19:19
CMQ at work I have a keyboard that can't type \. This is annoying when I want to type \n in python. Is there a substitute?
I think chr(92) might be the answer
19:39
so instead of print('a\nb') you have to write print('a' + chr(10) + 'b')?
also depending on the OS, you can input a `\` using a decimal or hex code
You could just do
"""
"""
20:11
@Simd What OS?
 
1 hour later…
21:15
@noodleperson Linux
@pxeger oh I didn't realise
@Neil thank you
 
2 hours later…
23:42
I really went to write the name "Joseph" as "Joeseph" like who tf is Joe?

« first day (5139 days earlier)    last day (1 day later) »