« first day (5004 days earlier)      last day (34 days later) » 

12:12 AM
@UnrelatedString ...so I realized I could run the jar in a terminal to see what error is actually happening here, and
java.lang.IllegalArgumentException: Comparison method violates its general contract!
like 20 calls deep in what is as far as I can tell COMPLETELY just first-party Swing/AWT/Beans code
I knew it was broken but I didn't think it could be THAT broken
common sentiment
Somehow, something is... making the compare method of File... ????
*compareTo
Failing to see what could IMAGINABLY go wrong here
12:31 AM
don't imagine!
I'm trying to debug but this takes forever to build :P
walk away slowly and call the EPA!
True!
This place is not a place of honor
0
Q: `Vo we l spa ci ng`

鳴神裁四点一号Today you are having a silly problem. To da y yo u a re ha vi ng a si lly pro ble m. Challenge Given an English text, apply "vo wel spa ci ng" (see below). Input One line of string with th...

1:08 AM
I love using AI in my answers :p
1:22 AM
CMSR: B2GFM
0
A: "99 Bottles of Beer"

Bbrk24Template Qdeql, 1132 bytes o:2-O:9\D{o::= -=}I:119=t{a:256_e\a::D o::=a:o_1*/a::=}x:98-s{e:10 t }O::==-n{e:111 t }/i{e:32 t }c{e:116 t }q{a:e+1 a::=z:o_e_2\z::= \e::=a:o+1\--a::=a:o+3-\/\/a::=a:o_e+1/a::= //o::=o:o+1}e:0 q N:108=E{a:e+1 a::=a:o_1\a::= \-o::=a:o+1-\/\/a::=z:o_e_2/=/z::=}h{e:101 t ...

woah
neat
That might be the fastest four upvotes I've gotten on CGCC
well deserved upvotes
1:35 AM
I made Template Qdeql with the hope that it would help me unlock divmod in Qdeql. I still haven’t
So I have to store the iteration number across two queue slots, one for the tens place and one for the ones place
CMi/eC Decide if a set of characters enough to make javascript TComplete
@Redz If you count the template engine itself, I’ve been working on this since Saturday
presumably last saturday which would make it a week of work?
1:40 AM
Nearly a week, yeah. ~5 days
wow
5 days worth of free time anyways
I mean that means you kind of made history in a week
impressive
Also probably the first time anyone's tried to use it for more than just a TCness proof
I mean I had previously done one or two code golf challenges in it :P
@Bbrk24 Within half an hour this is my fourth most upvoted answer of all time
2:21 AM
@Bbrk24 Well it was heavily hyped
I think some of your Trilangle answers are more deserving of it but this one's pretty cool
@NewPosts I have 14 in vyxal on this and it sucks
Code-golf like challenge: write some standard utilities, but golf the executable binary size. I used to play this from 1999 to 2001.
Downside: you do have to specify the target platform for comparisons to be meaningful.
2:39 AM
@Ginger I did not follow your sage advice, and now I'm stuck trying to figure out how to make Maven compile this damn thing with -g 💀
2:56 AM
though it really feels like it should be possible to inspect raw memory without debug data...
maybe jdb just intentionally isn't allowed to do that for whatever reason
(yes I DID try adding the <debug> tags that it apparently has separately. no that did not do anything)
3:42 AM
@emanresuA Took me 5 minutes of puzzling over how it works to realize it doesn't 😭
(also I think there's an error in your explanation? Þṗ seems to split before, hence the shift)
... we love weird input requirements
yepppppppppppp
It's SUCH a chameleon challenge
@emanresuA øW splits on words if that helps
It might, my current fix is 17
3:54 AM
@UnrelatedString and yeah this is a good example of how too much spec is not a good thing
4:42 AM
I tried to get chatgpt to explain my answer because I haven't done it yet and it came up with this:
øW: Pushes the string of lowercase alphabet characters ('abcdefghijklmnopqrstuvwxyz').
ƛṫ$: For each letter, find its transliteration in Morse code using ṫ (from the Morse alphabet).
ƛA꘍;: For each Morse code sequence, split it by dots (.) and dashes (-) using A꘍, but keep both parts.
p∑: Pushes the sum of the boolean values indicating whether a letter exists (p) in both parts (. and -).
;ṅƛ: Separates this list of sums with newlines.
ð=[&: Checks if the sum equals the number 1 and converts to a boolean list.
truly what it does yep
5:00 AM
man I love jest
it's really great when you're using es6 and async
works really well
ah I think I dropped this: /s
It primarily expects commonjs, so a bit of config is needed to get it to play nice with ES6 modules, node needs to run with an experimental flag, and if you want to do anything in beforeAll that's async, you're gonna have callbacks
ah
nevermind the async isn't so bad
the whole cjs v es6 thing is still bad though
5:25 AM
they should kill cjs already
 
1 hour later…
6:39 AM
CMC: Part 1. Given a function of n arguments, return a function of n+1 arguments that ignores the last argument. (In JS, this is just f=>f.) Part 2. Given a function of n arguments, return a function of n+1 arguments that ignores the first argument. (This is basically the opposite of the bind operation.) Part 3. Given a curried function, return a curried function that takes an extra argument which is ignored.
7:14 AM
2.f=>f.call.bind(f) the first arg fed as this
f=>(c,...x)=>f(...x) seems longer
7:40 AM
@Neil haskell 2: const
8:02 AM
lambda calculus with combinators, 1: nBK
\f a b c d. f a b c == B(B(B K))
For 3) just f=>_=>f?
CMC f(n)(a1)(a2)...(an) = a1+a2+...+an
@RubenVerg surely that's for 3: since all functions are curried in haskell
8:20 AM
@Neil arguably both 2 and 3
a "function of n+1 arguments" and a "curried n+1-arity function" are the same thing in haskell
> A Rare Sighting of Northern Lights Entrances Viewers in New York Area
At this time of year? At this time of day? In this part of the country?
@l4m2 uiua: ⊢[⍥+-1] pad
if you allow it to only work in the top level then ⍥+-1 works too
8:36 AM
@l4m2 (k,s=0)=>g=n=>(s+=n,--k?g:s) but there's got to be a less janky way to do it
Alternatively k=>(g=s=>n=>--k?g(s+n):s+n)(0) which is just as bad
 
1 hour later…
9:59 AM
CMC Sing Do-Re-Mi on another key and shift lyric to match on Fixed-Do. Can you merge quickly?
bellandcomusic.com/do-re-mi.html How it says it's Bb Major, won't that confuse?
 
2 hours later…
12:34 PM
very proud of this
0
A: How many dots are there?

ThemoonisacheeseBash+coreutils, 33 bytes tr -cd ij.\;!?<<<${1//:/..}|wc -c Attempt This Online! Is also optimal for zsh, I think. explanation: ${1//:/..} #replace all : with .. in first argument <<< #and pass it to standard input of... tr -cd ij.\;!? # from ...

outgolfed every praclang except perl using bash
(yes, calling perl -pe with the perl solution is legal and shorter but it just sucks)
12:58 PM
@lyxal Incidentally they were kinda visible all the way down here
as in you couldn't really see them at all but if you had a camera with long enough exposure,
:P
1:14 PM
@lyxal People saw it here at CMU too
Though some people mistook light pollution from our gamer-RGB library lol
It was very faint though, you needed a long-exposure picture to see much
i've never seen the northern lights
well maybe i have but if so i was one
🤔i should collapse the magnetosphere to see the northern lights near the 45th parallel
@Themoonisacheese to be clear, are you saying you were one in terms of years old, or one in terms of you yourself were a northern lights at the same time
It's clearly the latter
you're not clear, you're lyxal
4
1:24 PM
never said I was
> to be clear
You can't be clear, you're lyxal
@rydwolf twas but a conditional proposition
Obama was on campus yesterday apparently
an answer to my question could be the steps needed for me to change my username to "clear"
1:26 PM
it's kinda annoying following the president of the CMU democrats on instagram because she's always posting selfies with like kamala and obama a day later when nobody else was invited
like okay obama I guess you don't fw me
2
(I've been to one of those events though, for AOC, and they're pretty boring actually)
obama does advent of code?!?!?!!??!?!?!?!?!?!?!?!?!!??!
0
Q: Build a spiral staircase inside a tower

mastaHThese are two versions of the same tower with 5 floors __F_ __⚑_ |D/| |█/| |\_| |\_| |_/| |_/| |\D| |\█| |_/| |_/| A spiral staircase is built inside the tower. Each floor is made of three elements: walls on each side (|) a flat surface (_) OR a door (D or █) stairs th...

i have a few friends who are active politically, one of them used to be president of the student union, but stepped down about 5 years ago. the guy that replaced him we didn't really like but whatever went on to have a moderately political career, got to meet Jean-Luc Melenchon and be buddies with high-ranking members of his party. his carreer peaked 3 months ago when he got elected to the national assembly, and then quickly took a nosedive last week when he got accused of sexual misconduct
not sure why i'm saying alldat but here you go i guess
1:52 PM
interesting
@UnrelatedString okay so apparently this is a VERY old issue that got kinda fixed last year but since this is Java I guess I'm just not working with that fix LMAO
wait no the fix was THIS april
💀
2:26 PM
It's crazy how I'm actually warming up to the way ¦ works in Jelly now that I've known how it works for a while
3:13 PM
The hertzbleed followup paper is stored as 2h2b.pdf on the website and I kind of wonder if their internal name for it was "2hertz2bleed"
7
@rydwolf that's absolutely what happened and you can't convince me otherwise
at work when we push a change into prod and it has issues, sometimes we just push a fast-follower change to fix the issues instead of reverting the change. Those fast-follower changes are called 2EB promotes.
Occasionally somebody from business or product will ask what EB means.
We usually tell them it's "Emergency Bandage", we never tell them the truth
star spam?
No, one of those is me
Just three messages which happened to get single-starred, I'll clean them up if they go a few more hours without second stars
(actually I guess it's pretty obvious which message was starred by me because the other two were written by me lol)
 
1 hour later…
4:46 PM
@UnrelatedString I spoke from experience :p
 
1 hour later…
6:03 PM
Two people in the corner of the room I'm doing homework in must be in an intro linguistics class and listening to them is absolutely hilarious
 
2 hours later…
7:50 PM
Common experience LMAO
Like half of the ling people I’ve met have talked about some experience with roommates or strangers just
looking on in awe
while they make weird sounds from a phonetics class
Also reminds me apparently DURING some of these classes, whenever clicks are first brought up the professor just sets 5 minutes aside for everyone to get the clicks out of their system because they HAVE TO
 
2 hours later…
9:56 PM
Idea for a hash algorithm
let the base function take the list of bytes
calculate prime(byte as number from 1 to 256) for each byte
Construct a polynomial with the coefficients being those numbers from left to right, minus the constant which is the length, and solve for x where x is a real positive number
take the last byte of the fractional part, prepending zeroes if the fractional part is less than one byte.
repeat this for each byte of the output, cycling the original bytes each time
and return these bytes
 
1 hour later…
11:04 PM
TIL JS has a delete keyword
yep, but in V8 it's O(n) rather than O(1) in the number of keys in the object you're deleting from, so = undefined is far more common
among other reasons
11:20 PM
@Bbrk24 TIL
11:49 PM
@Bbrk24 what
yep
in firefox it is O(1)

« first day (5004 days earlier)      last day (34 days later) »