« first day (4959 days earlier)      last day (180 days later) » 

00:24
interesting
chatgpt now actually writes code for complicated math
*writes and executes
 
2 hours later…
02:11
TIL following a post is considered a type of vote
 
1 hour later…
03:29
@Seggan :3c
 
1 hour later…
04:48
thanks cloudflare
05:12
Hey I made that joke two years ago
Apr 4, 2022 at 6:28, by emanresu A
user image
05:27
Glad to see it's not fixed 2 years later
05:52
What's the smallest radius sphere you can pack 3 unit cubes into?
 
1 hour later…
07:20
@Ginger i need to buy a new processor for it but i have a server in my living room that i don't use fully
if you want a VM on it i can get you one in like, a week
07:50
@Simd a sphere of radius 1 has 4.18879020479 area, but it can’t possibly fit 3 cubes so it’s the lower bound
And radius 3 would be the upper bound
att
att
not necessarily
@Simd I’m thinking 2.5 + something
att
att
radius sqrt3 fits 8 cubes
Wait that’s the radius
I was thinking diameter
so 1.25 + something
att
att
where's this number from
08:00
Where something is the thing to make the circle slice that is 0.5 above the centre have a radius of 1.25
att
att
1.5 works with the cubes joined on an edge
probably can do a little smaller since that works for 4 too
@TheEmptyStringPhotographer what's 1.25 from
@att making a desmos graph
I’ll show yoy
I think sqrt(7.25)/2 is possible?
(about 1.34)
att
att
what's the arrangement for that
im not thinking of anything better than a grid triangle
att
att
08:09
tho maybe it can be wiggled a little
Then the longest diagonal is sqrt(1^2 + 2^2 + 1.5^2)?
att
att
but the longest diagonal isn't necessarily 2*radius
those diagonals don't cross at their midpoints
Ah true
att
att
i think optimal radius for that configuration is sqrt489/16 ~ 1.38
att
att
08:18
look up a couple lines
Yes I know
I was working on it while you guys were chatting
y'all are getting awfully close to optimal square packing problems and i don't like it
It’s cube packing, actually
It’s harder than square packing
Now for another, even more difficult puzzle 😈
What’s the minimum side length of a cube to pack 3 unit spheres in?
(Sphere with radius 1)
att
att
seems like wiggling doesn't make it any smaller
I think upper bound is sqrt(12) = 3.464 for my problem
att
att
08:40
how do you get much better than 4
0
Q: Find any non negative solution of system of linear inequities

GeorgeKarlinzerI have a system of linear inequities: \begin{cases} X_{11} + X_{12} + ... + X_{1n} = C_{1} \\ X_{21} + X_{22} + ... + X_{2n} = C_{2} \\ ... \\ X_{m1} + X_{m2} + ... + X_{mn} = C_{m} \\ X_{11} + X_{21} + ... + X_{m1} \leq K_{1} \\ X_{12} + X_{22} + ... + X_{m2} \leq K_{2} \\ ... \\ X_{1n...

I can get 3.414 with a triangle of spheres at an angle in the cube
att
att
oh right
Seems optimal
09:22
Sto putting spheres in cubes! I want cubes in my sphere :)
 
2 hours later…
11:07
Fun prank: pump carbon monoxide into a room where people are writing essays for an exam
Inspired by:
> I took a midterm in Doherty 2315 over the summer. It was very warm for some reason, and I fell asleep several times. I had a cheat sheet, which was very useful for waking me up when it fell on the floor. I kept waking up to nonsense written on my paper -- at one point I looked down and I'd been writing a paragraph about the Legend of Korra, a show I've never watched.
11:18
Pumping carbon monoxide into the senate/parlement
11:29
I may have found one of the steam tunnel doors, though it's more likely to be a hoax one
I've heard that any doors marked "hard hats required" are steam tunnels, and I found one in the B-level basement of one of the buildings that I know has one on its B-level basement, but someone had written "upper steam tunnel" in pen on the door and I doubt that'd be there (in an easily accessible hallway) if it really was one
I'm gonna try exploring another building today that I know has a steam tunnel connection
@Themoonisacheese that would be nice, but a lot of my stuff is on Rydwolf's server and I don't have copies of it elsewhere, which is why I need that one specifically :p
I would appreciate it tho for the things I do have copies of
11:45
@Ginger i have 2 Tb on redudant ZFS, you can use it as a backup server if you want too
if you have discord ping me @Themoonisacheese and i'll tell you when the server is ready
it's gonna be at least until monday, the CPU in it is bad and it keeps hard crashing, i recieve the new one then
@RydwolfPrograms are steam tunnels still in use today? i thouight they were a relic of the past?
@mousetail they're already going insane with alzheimer's, no need to add to it
12:02
@Themoonisacheese friend request sent
12:35
@Themoonisacheese is Internet Explorer still in use today? I thought it was a relic of the past?
:p
Aug 1 at 23:19, by emanresu A
user image
12:50
the fact that Python's type hints are implemented through indexing type really is the most Pythonic thing
I love CORS I love CORS I love CORS I love CORS I love CORS I love CORS I love CORS I love CORS I love CORS I love CORS I love CORS I love CORS I love CORS I love CORS I love CORS I love CORS I love CORS I love CORS I love CORS I love CORS I love CORS I love CORS
10
best thing humanity made
you're so real for that
I love class MessageMessage(BaseModel)
does it make you spend 10 minutes extra trying to get a localhost site to talk to cloudflare?
13:18
solution: stop talking to cloudflare
he's a bad influence :V
Problem is that he's providing me free LLM computing power :p
well yeah the first hit is always free
Good enough for proof of concept and a joke :p
well now you have to tell said joke
I will when it's ready
It's almost done in it's most mvp form
I just need to up the max token count for the llama request
And then push it to github pages too
13:39
almost ready
@Themoonisacheese Web∞
It's the first iteration, and I've got other ideas for it
But for now, it's the minecraft infinite update but websites
some very fun code golf challenges
TypeError: NetworkError when attempting to fetch resource. frontend:199:33
handleInput https://lyxal.github.io/Web-Infinite/frontend/:199
I tested it on github pages
oh there it goes it just takes a while
Yeah
It's running it through an LLM after all :p
no images either
well, maybe some, but don't expect any to load :p
It'll probably require some fine tuning as well to generate websites that aren't as bland as what currently seems to be being generated
i'll be honest if i had to battle CORS to get this result i'd be pissed
maybe idon't really get the joke
13:53
the joke is that it's what happens if you let AI be your backend :p
14:41
@lyxal do mods perchance have a tool for finding a chat user's network account that isn't checking the parent site
I need to do that for this userscript :p
There's a stackapp for that
5
Q: Add link to network profile from chat profile

rene Screenshot / Code Snippet Under the Parent User label a link is added to the network profile of the chat user: About From a chat user profile you only have link to the parent site of a user. This script adds a link to the users network profile for easy access. License MIT License Download ...

although it does user parent though
doubt there's anything outside of that
given the lack of a chat api
and the disconnect between chat id and site id
that uses the SE API
which ig is what I'll have to do as well
nevermind it just stays on the current site?
using the API is better
well yeah, if you can
14:47
you can, you just need parent site id
@Bbrk24 ...Come to think of it, is it safe to use the built-in trimmer on an electric razor, or do I need a dedicated setup with guard attachments and whatnot?
Almost went through with this today until I realized how time-consuming it might be (when I have something else I'm kind of in the middle of even though I also just took a walk and am showering)
@Themoonisacheese District heating is still a thing, steam tunnels per se don't get built much anymore in favor of direct burial
Like, most of CMU's original buildings are (NOT) connected by steam tunnels (which don't exist and I have no interest in exploring them), but the newer ones use direct-buried pipes
this userscript is gradually getting more and more cursed
you know the code's good when it reaches the Ontological Unfixability Threshold before it's even close to functional
15:03
Ooh my computer stuff is finally all here
So I can work on Tanks again
hooray !
and procrastinate on new and exciting things
15:24
> Please feel free to share your best celebratory memes
15:41
if (data.type == "message" && data.data.type == type && (data.from == from || from == undefined)) {
    ws.removeEventListener("message", listener);
    resolve(data.data.data);
}
I love data
Could replace it with eval("{data}=data;"*3)
ಠ_ಠ
A while ago I was contemplating running a comments section using PythonAnywhere.
Well today I figured out how to handle POST requests using Flask.
So maybe that project will be resurfacing.
(hopefully no one will break it though.)
unlikely
I found like around 5 different XSS vulnerabilities in week.golf
When it first launched
RIP
Well that will just give me more experience in webdev as a upside.
16:14
I have a great idea for a site to troll hackers. It has every major vulnerability but all of them are just barely not exploitable
XSS but only on the "You have successfully logged out" page
SQL injection, limited to 4 characters at the end of a query
Buffer Overflow that could RCE except the program exits immediately afterwards
16:41
@mousetail ooooh this would make me so mad
first call has been made
it works :3
17:05
@mousetail Ooooooooooh yes
Could also have completely unrestricted SQL injection, except no meaningful database is exposed to injection because the site runs some insanely overengineered preprocessing scheme to create new temporary databases on demand out of subsets of the real databases
I petition for the addition of a "save and reload" button to PythonAnywhere.
Aaaand aside from a horrendous wvsite it does not work.
@RydwolfPrograms Honestly don't get why pedestrian tunnels aren't more common for things like university campuses
hanging up and muting now work
You jump scared me.
I cannot overstate how stupid this thing is
17:14
Like you have a lot of closely packed buildings, that the same people are going to be going between habitually
it might actually be worse than tragic wormhole
but It Works
@192927376337929292283737373773 I have cooked up a userscript that lets two users voice call each other
and people like staff are going to be dressed in formal-ish clothes that you don't want getting sweaty in hot weather, while students do not have enough places to hang up winter coats in cold weather
And underground tunnels are easier to retrofit to existing buildings than above-ground climate controlled sky bridges
Which, incidentally, my university does have one of between a very new building and a very old building
@Ginger Oh
17:17
So my problem is.
That when I submit the make a comment form.
It redirects to the URL but with query parameters.
And when I go it does not add to the database.
I saw some similiar code which worked.
i'm glad my uni has indoor tunnels/bridges between a lot of buildings, like most of the math and engineering buildings are all fully connected lol
So I have no idea what the problem is
it's nice for all of the seasons except autumn when it's not really needed — winter because canada so sometimes you can get frostbite from 30 seconds of exposure, spring because the fucking geese, and summer because canada so also it gets really hot sometimes
now I just need to do error handling for all five thousand ways in which something can fail :3c
If anyone is in the mood to debug code for free, see pythonanywhere.com/user/ThaAH/shares/….
17:22
ideally what I would do would be use finallys to clean up each resource that gets opened
but of course, JS being JS, there's lots of callbacks and non-synchronous stuff involved
Isn't the term for that asynchronous?
Which literally means but synchronous?
sure
Okay if someone debugs the code for me I will give you verified status on the website.
what website
17:47
The comments thingy.
Oh my god.
I am so stupid.
I forgot to enclose post with quotes.
ImportError: /home/ginger/.cache/pypoetry/virtualenvs/userscriptws-wzpBEmjR-py3.12/lib64/python3.12/site-packages/pydantic_core/_pydantic_core.cpython-312-x86_64-linux-gnu.so: undefined symbol: PyErr_GetRaisedException
what
that's certainly not heartening
And it fails, splendidly.
For some reason it's saying the db import line is on line six instead of seven.
And that I haven't specified a type parameter.
Weird.
Apparently I have ran into the same issue and before.
And now I need to reverse engineer how I fixed the same issue as before.
Wait I noticed something splendid.
It has actually not recorded it.
And I have found out I forgot "scroll all the way down to get the most recent entry".
Pray with me this works.
actually no, you all believe in false gods.
18:03
what
And it didn't work.
Okay...
Wait no I am using the json.dump function incorrectly.
Here we go the run of the ages.
@hyper-neutrino Niiiiiiice
@hyper-neutrino Are the geese THAT bad
Wow
Wait no.
Bro I overwrote my entire database somehow.
18:43
@RydwolfPrograms could you allocate more RAM to the droplet? dnf is getting OOM killed :p
7
Q: Curry a C function pointer

Dannyu NDosObjective Given a type signature of a C function pointer represented as a string, output the (fully) curried version of it, also as a string. I/O format It is assumed that: There is at least one parameter. The return type and the parameter types are titlecased alphabetic identifiers. (That is, t...

Why is this closed???
Probably not being self-contained enough? (external link to currying; expected prior knowledge about C)
Name someone here who doesn’t know that C exists
19:09
I envy them, whoever they are
19:27
@UnrelatedString they can be quite aggressive especially during mating season :p
@Ginger Why don’t you want to know that C exists?
___
So I found a new way to bully TNB:
C exists.
C exists.
C exists.
19:48
ok, I think the script is ready to test
any takers? :p
i would but cant :/
20:03
@Ginger which
@hyper-neutrino yeah, but one day I made the mistake of running down the bridge between maths and eng on a night where someone had left a table out in the corridor and I didn't bother to turn the lights on
@hyper-neutrino the vc one
@Neil o rip
@Ginger ah — can't really right now sorry
understandable
tbf I did mostly create this thing to prove it could be done
20:35
Mego said he might want to but uh... prepare to get one night in bangkok'd
that's the price you have to pay sometimes
@Ginger does it use webrtc?
yes, through a helper library
21:33
Okay what is it with weird facts involving RFK Jr and dead animals
Dead worm in his brain, dead bear cub in Central Park, dead whale head in his car, etc
21:43
@Ginger I can help test your voice thing now
glorious! one moment
22:02
okay so you know how there's like a million different variations of agile
the company I work at calls ours "JIT-agile"
Also known as ADHDile
@NewPosts First time I've seen an autoprotect on a new question
22:25
The spam answer probably did that
22:59
bruh I just tried to lean over to grab something off the floor in one of those free-moving chair+little desk things colleges have and the whole thing tipped over on me lol
In other news I have a whole year more free college from the government than I thought I did so stonks
att
att
dead whale too?
23:12
Yeah wait how would that even fit in a car
@RydwolfPrograms Yeah if they're anything like the models I'm used to that'll happen
23:36
@UnrelatedString On top, apparently
23:56
@Ginger I cannot, sorry
it's on my dad's credit card still lol
I'm going to get a spicy droplet for you soon though
@Ginger What OS do you want? I'm assuming Debian, but which version?

« first day (4959 days earlier)      last day (180 days later) »