« first day (4850 days earlier)   

12:00 AM
I mentally merged those into "relationships are hard, that's why I wrote this algorithm..."
 
 
1 hour later…
1:27 AM
so I was asking on TGC about how the hecc to do this thing and michael homer went "bruh just use polymorphism"
and then I realized I knew literally nothing about c++ polymorphism
\:
 
2:11 AM
CMC Solve some NPC for n=10000 Notice that 3-SAT with first n^0.01 rules is an answer, so this is not pure code-golf
 
@RydwolfPrograms even after reading this, i did the same thing
@RydwolfPrograms yeah thats why i dont do this stuff (as in i have feelings towards people but i prefer not acting upon them)
(for now at least)
 
2:41 AM
Round towards negative is ⌊⌋, is there symbol round towards 0?
 
@l4m2 modern SAT solvers are really fast. benchmarks from SAT competition include testcases with 10000+ variables and 10^6+ clauses
 
@Bubbler Fast for average input, slow for constructed ones
 
well sure, there is adversary input for any solver
but the testcases are from real world scenarios and being fast on them is practically important
 
3:04 AM
@l4m2 Wikipedia doesn't have anything
trunc/truncate is probably the best you'll get
 
If used a lot, defining as ├.┤ seems reasonable
 
I've seen ⌊⌉ used for rounding to the nearest integer, if it's in a context where you're not ever going to use that it seems like it would be sensible to use it or its inverse for truncation
(I say its inverse since it would sort of communicate "lower numbers [to the left] get rounded up while higher numbers [to the right] get rounded down")
 
@lyxal apparently "australia doesnt exist" is a real, non-joke conspiracy theory. can you confirm that for me?
 
3:23 AM
It is
You probably wouldn't encounter it in Australia tho I would guess lol
 
I mean can you confirm Australia does or does not exist for me lol
 
ohhh lol
 
@Seggan Australia exists
Duh
Why would we have a whole fake country to distract people from all the other secret experiments the government does?
Why would we spend billions convincing people of a lie to protect investors interests?
Why would we go and smuggle a country into every atlas, globe and other world map and burn all the old maps (except for one or two that you definitely can't find on the second floor of the non-existent Australia doesn't exist hq)
That would be preposterous
Silly, even.
Having said that, I do notice they're getting a bit greedy on the acting contract
Might have to do some blackmailing
See if I can't get a pay raise
 
 
2 hours later…
6:05 AM
Ooooh, I should write a language that transpiles to C
Because all I want is C with fake classes. They don't need to be real, just functions being called from the provided type information
The hard part is it also needs to support C so I can parse C headers...
But really it should just be a C extension
 
... that's how C++ started...
 
C++ is evil
I need no mess of Smart pointers nor inflated standard libary
modern C++ is so far removed from C it's sad
 
I guess you can do this
 
6:24 AM
There are dozens of hacks one can do
But a lil' ol' writing a language never hurt anyone
 
6:42 AM
@ATaco Lil
 
6:52 AM
looks like something called Comeau was the last C++ compiler that actually bothered transpiling to C
 
I use C with class with template with stl, what in C++ not covered?
 
7:11 AM
1
Q: How can I reduce the characters in the following python code?

LargeHorseThe following code is 47 characters. print(("Ekki v","V")["COV"in input()]+"eikur!") How can it be reduced to 46 or less? I have even been brainstorming bitwise tricks but can not think of any way to do this. I am starting to think it is not possible to reduce this any further.

 
@Bubbler is there a way to implicitly pass the this parameter
of the sum function
 
@zoomlogo not in vanilla C, but I meant a transpiler can insert that for you
 
@NewPosts The comments feel suspiciously AI generated, though that wouldn't really make sense
 
8:17 AM
They unfriended me soon after this
 

« first day (4850 days earlier)