« first day (4860 days earlier)      last day (278 days later) » 

00:25
I need to stop doxxing myself lol
how much more can you even
I posted something that contained my phone number on an insta story by accident and one of my followers texted me but I can't tell who lol
Oh IT'S THE GIRL lmao
good job bingus
:p
00:32
PFFFFFFF
I find it kinda funny we never got each others' phone numbers throughout all that lol
yeah wait what
how were you texting with her
We never bothered since she's Android and I'm Apple
just discord?
00:33
i was about to ask if it was some weird shit like twitter dms lol
i can never remember that the social media platform that's about images lets you send text to people
Insta's great it's perfect for just keeping up with your friend group/community
wait so does it have group chats too
what
thanks vs code
why is it even called instagram at that point
00:34
for autocompleting my <div> with a </button>
naturally
all divs are buttons at heart
I blame svelte having funky button onclick binding
@UnrelatedString as are <h2>s
@UnrelatedString Yeah (tho that's not was I was referring to, more just the format of the app works great for keeping up with people you know)
00:36
@UnrelatedString and <ul>s
As I always say, if you can click it, it's a button
ah I see what's happening
vs code is linting my button definition to be multiple lines
but then it gets confused because it doesn't realise the button definition is multiple lines
A+ linting
omfg I am not letting her get in my head again
She remembers the exact day we met
Like me
I sure love how aws lambdas require zip folders
I also love having to write a python script to automate lambda deployment to localstack
00:55
@RydwolfPrograms wow
And what makes it worse is that day happens to be valentine's day
att
att
:o
tbf
that also makes it less impressive to remember :P
@lyxal Clearly they parsed HTML with Regex
01:15
You joke, but VS Code does use regexes for tokenization, right?
Yeah it uses TextMate grammars, which are just regexes (iirc) (don't quote me)
@RydwolfPrograms Rydwolf, haven't you asked this guy out yet? Just do it and stop torturing yourself
I have created the most jank localstack workflow
You can use Regex to tokenize HTML. But Tokenizing isn't the same as Parsing.
Oh, right
@user the LSP can handle tokenization/parsing itself, fwiw
Yeah, but it's slower
You need syntactic highlighting first and then the LSP can add on smarter semantic highlighting
iirc, Scala does that (separate Scala Syntax and Metals extensions, I think?)
Destroyed
01:21
@RydwolfPrograms pfft
genius
shame you presumably deleted it, otherwise I could text you myself :p
How do we know that you weren't the person who did text Rydwolf?
you don't :3
okay so here's the rundown:

1. Start svelte frontend
2. Start localstack with every possible CORS check disabled
3. Run a python script that zips every file in a "lambdas" directory into its own zip folder ("LambdaHandler.py" -> "LambdaHandler.zip")
4. Run a python script that converts every zip into a Lambda instance
4.1. That python script then generates URLs for each Lambda. Each Lambda URL is sent to a pythonanywhere webapp that stores a map of LambdaName -> URL
5. The Svelte app (and also the lambdas themselves) get the API URLs from the pythonanywhere server before actually making an
it doesn't sound too bad, but it kind of is given how many things are being hacked together
no, it sounds quite bad
you've one-upped the v3 deployment system :p
and all to test locally what will inevitably need some changing to make work in actual AWS
for example
    let clickHandlerAPI = "";

    fetch("https://URL STORER/get?url=ClickHandler").then(
        (response) => {
            response.text().then((data) => {
                clickHandlerAPI = data;
            });
        }
    );
that's in the svelte to get the link to the dynamically generated url for the ClickHandler lambda
01:26
Are you sure there isn't an official guide that has an easier alternative to this?
how will my frontend components get the links generated in a session?
apart from manual copy-paste, the svelte has no way of knowing what the lambda url will be
if this were real AWS, the Lambda URLs would stay the same
because they'd be constantly hosted
they are not constantly hosted in localstack. If I close the terminal/restart my computer/close docker/etc, I'll have to regenerate all the lambda functions anyway
also, hot reloading is only for localstack pro subscribers
Aww
so when I want to make a change to a lambda, I have to reroll the url anyway
so I might as well make a system that can dynamically store the lambda URLs as they're created
02:28
@Ginger Nah I don't care enough to delete it lol
If you want to go ahead :p
03:09
@user Which guy?
03:29
I don't think my TNB loaded right
I'm curious what that "message batch operations" thing is...maybe some sort of old version of the move tool?
Or is that a mod tool?
it's just the move/delete tool lol
Interesting
03:46
You can also tell it's the RO variant because there's only the relocate button and not the delete button
So not a mod tool
CMC Given two tempertures, decide how much heat taken for 1kg of H2O from one temperture to another. 0 mean water at 0 ℃ while -0 mean ice at 0℃.
04:01
They found the helicopter
@l4m2 Isn't this just the difference? What am I missing here?
@ATaco Ice have different heat capacity than water
Yeah but heat doesn't exist as a unique unit of energy, per the challenge spec. How much energy it would take is a slightly different question
Otherwise the answer seems to just be (b-a)+(a<0?80:0) kcal
 
1 hour later…
05:18
Okay I just realized something incredibly cool
I'm representing a chess board as an array of 64 squares, and positions as ints from 0 to 63
And if a piece makes any linear move of N spaces on the chess board, you can divide that move into N increments/decrements of a constant value
Since if it's horizontal you just increase/decrease by 1 per space, if it's vertical you increase/decrease by 8 per space, and if it's diagonal, you do both, which is an increase/decrease of either 7 or 9 per space
I wonder if there's a formula you could use to calculate the number of squares moved just given the source and destination indices
abs(src - dst) or abs(src // 8 - dst // 8) would work actually
CMC: Prompt golf. In an LLM of your choice, have the engine say the words 'hello world' consecutively with any amount of punctuation. Eg. "Hello, World!", "Hello world", etc. Smallest prompt wins, does not need to be easily recreatable, though evidence is required.
@RydwolfPrograms Knight
Yeah just for linear moves I meant
@ATaco only hello world or can it be in a block of text
Can be as part of a block, though must be consecutive
05:28
4 bytes in Copilot, HQ9+
Befalse interpreter can be exploited in at least two ways
Got it in 3, .py
Damn, I couldn't convince it to do .c
With enough luck you could probably get ` or < to work
05:44
mfw i'm testing serverless stuff and I forget to update a frontend component to fetch the right api and wonder why it's 502ing
and now it works
I just made a clicker game in the most stupid way possible
using serverless architecture, api calls and aws lambdas
absolutely no local js calculations
05:58
I also love operational costs
localstack means it's free while testing locally :p
+ the uni gave out $100 in aws budget for each student in the architecture course this is the assignment for
06:17
https://tio.run/##y00syUjNTSzJTE78/99RwVbBJzM3syQ6L85Az1RLw1A3uDQ32lBfI087EySiqVOdqWOok1cbq6mTp2vnmZeWmZdZUhnLFVCUmVcS7Qhj@AGZsf//AwA
Is this too complex for Mathematica to solve?
06:30
@l4m2 you might want to ask it on Mathematica.SE
With basic knowledge to such, what ratio of people can solve it?
I don't get your question
with basic knowledge of what?
of integrate and derivative
Idk how it even relates to integration
I solved using integration but maybe that's unnecessary
or knowledge of limit
06:54
hmm, so the sum is upper bounded by integration of the function from 0 to n and lower bounded by 1 to n I think? Both of which Mathematica does solve with Integrate in a minute
I guess Mathematica takes too long to figure out that converting to integration works, or it is simply not implemented and it is the job of the user
07:21
Been coding for 9 years and just had a bug thanks to (a or b or c) in list >:|
I really like the lang (Perl?) that lets you do x == y | z, extending that to x | y in z would be pretty natural (if perl doesn't already have something like that) and I think both of those are solid syntax sugar to include in a language
I also wrote if x == -4 or x == -4 (supposed to be -4 or 4) which I also feel would be a harder mistake to make with that syntax
att
att
mathematica has (x|y)∈z, but asserting x,y are both in z
(and of course ∈ doesn't work with lists on the right anyways)
07:42
0
A: "Hello, World!"

BubblerBefalse (quirkster), 22 bytes "!dlroW ,olleH"::::..; Try it! (Usage: copy-paste into the code box, click Show above it, and then Run.) So this is the golfiest way to repeat a single command a finite number of times and halt in Befalse. : (Call) pushes the position to return onto the return stack...

Oh no...fuck...not again
I think I found a bug in a programming language
Python's doing some weeeeird stuff and as soon as I log two bytearrays it fixes it
I'm getting war flashbacks to the time my JS was bugging out and adding logging fixed it and it turned out to be a chrome console bug
Okay phew it looks like it's not actually the logging that's causing the nondeterminism, so something's still very broken but it's not that
What's going wrong?
If I capture a piece, sometimes the piece remains the original, but all of my logging in the move/capture code shows the function ending with the proper piece being placed in the proper square
omfg
it's a front-end issue
I checked earlier but I must've misread it
Fixed
08:05
@RydwolfPrograms x in (4, -4)
Shorter and the preferred way to do it
Ooh, forgot about that pattern
08:42
Whoa I wrote a fuzzer to check my new implementation of some code for bugs, and I actually ended up finding one in the old implementation
08:54
Oop found another in the original implementation lol
I like fuzzing
At least it's called fuzzing and not furring
Fuzzing is a good thing
Aaron found a few vyxal 3 bugs using it so I can attest to its usefulness
Topical given fuzzing is part of the software verification assignment I'm doing :p
09:28
yeah, one particularly good use case of fuzzing is fuzzing compilers/interpreters
 
3 hours later…
12:38
@RydwolfPrograms tempting, but I happen to value my privacy :p
 
2 hours later…
14:11
@Ginger update: he is in fact dead
On 19 May 2024, a Bell 212 helicopter crashed in Bakrabad Rural District, near Varzaqan, Iran, while traveling from the Khoda Afarin Dam to Tabriz, killing all five passengers and three crewmembers. The helicopter was carrying the president of Iran Ebrahim Raisi, foreign minister Hossein Amir-Abdollahian, governor-general of Iran's East Azerbaijan province Malek Rahmati, and the representative of the Supreme Leader in East Azerbaijan Mohammad Ali Ale-Hashem. Raisi's head of security and three members of flight crew were also killed in the crash. The crash took place in Iran's East Azerbaijan province...
14:22
There's no sbt or mill in the build tools section :sob:
heh I sure have engaged with SoFT more than I ever used to
No Vyxal option either
that's why they give you the "Other" box
:p
@lyxal you guessed my "other" box!
also, remember, no survey badges this year
smh, misspelled Raspberry Pi
at least they mention Ktor (my beloved)
14:41
@lyxal I get not mentioning Mill, but slow bullet trains are actually pretty popular
For sure they would have mentioned skyscraper building tremors
I imagine those happen all the time on microscopic scales
@RydwolfPrograms "omfg I am not letting her get in my head again"
@lyxal smh where is the "just dropped"
@lyxal Wake up babe new pin just dropped
No response? Room went pin-drop silent
@pxeger dropped because it's a copy paste from over in the garbage collector :p
I'll add it in though
One tick
15:17
@lyxal no
@user Oh, you said "guy" which threw me off
Yeah we're unambiguously just friends but she's not very good at having mannerisms that communicate that lol
Uhh what
I wonder how many people selected "other" for that question
I was tempted to select "Other" and type "Apples" manually
4
I crashed Google Drive trying to move 634 files at once...how does that crash the front-end??
15:32
for a while Google Draw would crash if you hit Ctrl-Backspace in a textbox that only contained spaces
yep, people always get ctrl+backspace wrong and it bothers me so much
@RydwolfPrograms Oh mb
@lyxal What are you gonna say when "just dropped" gets replaced by another meme. New "Just Dropped" Just dropped?
"Just dropped" has just been dropped
15:53
just dropped "just dropped"
16:44
17:15
"no rehosting allowed" mfs when I referrerpolicy="no-referrer"
 
1 hour later…
18:16
@Simd No, that's just one of the more egregious examples of college/university confusion that I could think of.
18:47
@DLosc it's a good example!
0
Q: Hoop, Hoop, Hoop, Hoop, Eye-Eye-Eye-Eye

3-1-4-One-FiveThe Horrible Histories song "Learn Your Hieroglyphics" mentions a fanmade number system. Numbers are written as a sum of 10's ("hoops") and 1's ("eyes"), for example 99 is hoop hoop hoop hoop hoop hoop hoop hoop hoop eye eye eye eye eye eye eye eye eye . Then, I thought, why not turn this into s...

Is there a phrase "school child" in US English?
Yes; I think I would've written it as "schoolchild," though.
@RydwolfPrograms what's the latest with the server?
Still waiting on the CPU
No BIOS flashback smh
18:54
do you have package tracking :p
@Ginger was gonna ask the same thing lol
19:43
@zoomlogo I wonder why the wording is "how do you learn to code" rather than "how did you learn" or "how have you learned"? Makes it sound like it's asking only about the present, but most of my learning to code was in the past.
 
2 hours later…
21:33
0
A: "Hello, World!"

C KAWK, 18 bytes $0="Hello, World!" Try it online! AWK defaults to {print $0}. Pass/pipe this anything and it will just print "Hello, World!". echo "" | awk '$0="Hello, World!"'

22:24
@hyper-neutrino same tbh
what if the substring you split a string by was called a spligand
22:56
@DLosc I guess "learning to code" here includes picking up new libraries, frameworks, and/or languages
If it were in past tense I would choose school and job training, but now I just read online documentation and examples and try things out
23:23
@RydwolfPrograms splittand
No clue where you're getting the g from
The word ligand lol
It just sounds cool

« first day (4860 days earlier)      last day (278 days later) »