« first day (4500 days earlier)      last day (345 days later) » 

12:13 AM
@Bbrk24 now there's a challenge I haven't seen in a while
good times
 
        ; As outlined in turing_completeness.md, there will be a code thread and a memory
        ; thread. The nature of Trilangle makes it far easier to emulate a Harvard
        ; architecture.
    TSP memory_start
        ; Read input until EOF, keeping track of how much was read.
    PSI #0
input_loop:
    GTC
    BNG input_done
    SWP
    INC
    JMP input_loop
input_done:
    POP
fde_loop:
        ; Fetch-decode-execute cycle, but weirder.
        ; Fetch and decode each instruction, but send it to the memory thread to execute.
 
I assume the fact it's output only makes it much easier :p
 
Yes. Trilangle can only take input from one source, so it'd be impossible to distinguish program from input
 
> ~: Push a random integer in any range of integers. Minimum range of 0 through 32768
man what on earth was I thinking back then
ain't no way that's a good golf built-in :p
 
I like the C JIT one that copies strings into function pointers
Kotlin is longer than Java in that one @Seggan
My Trilangle version here would exit with a floating-point exception on divide by zero and a segfault if you operate on an empty stack
 
12:24 AM
/: Divide. 0-division will result in an error.
and erroring on empty stack is fine
 
Yeah, Trilangle's DIV delegates to the native integer division instruction, and at least on Windows x86 that causes a floating-point exception on divide by zero (which terminates the program)
CMLDQ: Should I add a -q flag to switch from a stack to a queue?
 
if the only storage becomes a queue then it is significantly harder to program in general
 
it actually makes the code significantly more complicated because I have to check a flag before every write into the storage
using _Scary_val = _String_val<conditional_t<_Is_simple_alloc_v<_Alty>, _Simple_types<_Elem>,
    _String_iter_types<_Elem, typename _Alty_traits::size_type, typename _Alty_traits::difference_type,
        typename _Alty_traits::pointer, typename _Alty_traits::const_pointer, _Elem&, const _Elem&>>>;
 
if something makes things harder for both you (the implementor) and programmers, it's probably not a good thing to implement
 
Thank you MSVC very cool
 
12:36 AM
other than pure esolang vibe
 
Damn they made Verbosity into a prac lang huh?
 
I like how it's called _Scary_val
 
1:32 AM
@Bbrk24 for what
 
Implement a Volatile Interpreter
16
Q: Interpret Volatile

lyxalInterpret Volatile Volatile is a stack-based esolang made by A_/a'_'/A that only has 8 instructions and is turing complete. However, it is also non-deterministic... meaning that programs don't always give the same output. Your task is to interpret this language. Language specs Taken from the ...

 
1:46 AM
@Bbrk24 it can be golfed a bit, first i see is List(0){0} -> listOf(0)
 
2:27 AM
0
Q: Resultant of two polynomials

alephalphaThe resultant of two polynomials is a polynomial in their coefficients that is zero if and only if \$p\$ and \$q\$ have a common root. It is a useful tool for eliminating variables from systems of polynomial equations. For example, it is used in my answer to the code golf challenge Add up two alg...

 
 
1 hour later…
3:32 AM
New coding font just dropped
Intel One Mono
Learned about it from Linux Boman, one of the designers of Atkinson Hyperlegible
 
4:17 AM
Probably going to label my JIT “abandon all debuggers, ye who enter” or something like that
2
I just know that I’m going to make a calling convention mistake somewhere and cause an impossible-to-debug error
Especially since I’m doing #ifdef _WIN64 /* MSVC stuff */ #else /* SystemV stuff */ #endif and my main source is Wikipedia
 
 
3 hours later…
7:36 AM
@Bbrk24 I think you'll find that integer division by zero isn't a floating-point exception...
2
 
 
2 hours later…
9:07 AM
0
A: Sandbox for Proposed Challenges

HippopotomonstrosesquipedalianLogarithmic incrementation In this challenge you will write a function that calculates the function $$f(x)=\begin{cases}x[0] & \text{if } x*= 1 \\ \log_{x*}\left(\sum_{n=0}^{x*-1}\left({x*}^{x[n]}\right)\right) & \text{otherwise} \end{cases}$$ where \$x*\$ is the length of list \$x\$ and \$x[n]\$...

 
@SandboxPosts turn on ChatJax for this post.
Anyways, how is the post?
 
 
2 hours later…
11:14 AM
@Neil You’d think!
 
11:27 AM
Please stop pinging random people
 
11:38 AM
@emanresuA trying to get feedback on my sandbox post
Any feedback for my sandbox post?
 
11:55 AM
@PlaceReporter99 Asking once is plenty
 
@mousetail i know what the words mean individually, but not together in that order.
 
Asking once is plenty
As in once is enough asking, no need to ask more than once
 
@mousetail ok
anyways, do you have any feedback for the sandbox post?
 
12:16 PM
@RydwolfPrograms looks good in theory, but hard to read in practice
plus, doesn't seem to include more niche unicode characters
which is kind of a must-have given the site we're on :p
 
12:30 PM
Everson Mono is good font support, but at smaller sizes it’s not perfectly even for some reason
 
bizarre
 
It also has weird licensing terms: you can have it for personal use on one computer for free; you can pay $25 to use it on three computers; and if you want to use it on more than three, you have to reach out to him directly.
 
??????????????
what the fuck
 
17
Q: Why does integer division by zero result in a floating point exception?

TaymonDivision by zero in a C program results in abnormal termination with the error message Floating point exception (core dumped). This is unsurprising for floating point division, but why does it say this when integer division by zero occurs? Does integer division actually use the FPU under the hood...

 
@RydwolfPrograms i kinda hate how the braces look but in service of increased legibility for those who need it i'm really impressed someone managed to come up with them lmao
 
12:38 PM
0
A: Sandbox for Proposed Challenges

simonalexander2005Trippples Introduction Tripples (BGG) is a board game from the 1970s. It is played on an 8x8 grid, and each tile on that grid (except the corner starting tiles, and four blank tiles) contain three arrows. The three arrows each point in one of eight directions (up, down, left, right; and diagonall...

 
1:12 PM
Can someone give feedback on my sandbox post?:
0
A: Sandbox for Proposed Challenges

HippopotomonstrosesquipedalianLogarithmic incrementation In this challenge you will write a function that calculates the function $$f(x)=\begin{cases}x[0]+1 & \text{if } x*= 1 \\ \log_{x*}\left(\sum_{n=0}^{x*-1}\left({x*}^{x[n]}\right)\right) & \text{otherwise} \end{cases}$$ where \$x*\$ is the length of list \$x\$ and \$x[n]...

enable ChatJax to view the preview properly.
 
1:38 PM
@PlaceReporter99 Wait why is CIMJ causing the MathJax in this to render lol
It's only supposed to render things with a cimj-typeset class...
4
 
@RydwolfPrograms what a desirable bug! I better implement that bug in my programms!
 
And now I can't repro lol
Actually I can?
It's inconsistent lolll
Okay I figured it out, it's because MathJax automatically typesets on page load by default
God I hate the MathJax docs
Fixed
 
2:32 PM
0
Q: How many sorting networks?

AnttiPBelow on the left is a picture of a sorting network that can sort 4 inputs. On the right you can see it sorting the input 3,2,4,1. A sorting network of size n consists of a set of n horizontal wires where two wires can be connected by a vertical wire. The inputs to a sorting network move from th...

 
 
2 hours later…
4:17 PM
@RydwolfPrograms how many net votes before I post my sandbox post to the world?
 
@PlaceReporter99 Wait at least 3 days
 
@mousetail and then how many upvotes should I have before I post it?
I mean net votes
 
Around 3 is usually good in 3 days, after a week maybe 2 is enough
If you get a lot of good votes but also feedback it may not be ready
 
4:41 PM
@mousetail did you see my chat ping regarding my comment?
 
@mousetail i already have 2 votes!
 
5:44 PM
If you haven't read this paper before, I strongly encourage you to: math.berkeley.edu/~kpmann/Lakatos.pdf
It's possibly the snarkiest paper I've ever read, and it's about proving V - E + F = 2
 
 
3 hours later…
9:12 PM
I just found something incredibly cursed
// Win32 defines _WIN32 automatically,
// but Macintosh doesn't, so if we are using
// Win32 Functions, we must do it here

#ifdef _MAC
#ifndef _WIN32
#define _WIN32
#endif
#endif //_MAC
 

« first day (4500 days earlier)      last day (345 days later) »