Also, come to think of it, hard filename agnosticism would be weird to have to make explicit exceptions around for extensions when implementations mandate those, while each-filename-is-a-language elegantly captures cases where implementations actually discriminate between different extensions (not that I can think of any off the top of my head)
and we don't have to actually care about that for basically anything because we can informally synonymize filename languages the same way we informally synonymize implementations of the same language spec where not directly relevant
@lyxal ik, just rambling :p
I think grandfathering Pxem in as just having idiosyncratic scoring like other weird languages is good tbh
I am going to put a fastest-code challenge in the sandbox but wanted some advice. It is for the convolutiion of arrays of long doubles where the values have size up to 1e500.
I was thinking your score could be your timing relative to numpy convolve
I guess Simd is looking for a way to allow self-scoring solutions, and the ratio between a known algo and your own is actually recomended by the tag wiki
> The winner of a fastest-code challenge is determined by the runtime performance of the submissions. For fairness, all submissions should be benchmarked on the same machine, which usually means all submissions have to be tested by the host of the challenge. Alternatively, the submission can be compared to a reference program. For scoring by asymptotic time complexity, use [fastest-algorithm] instead.
@mousetailv so far, I can't see how to beat numpy convolve that is weirdly fast. I also haven't found the code it is using yet. There seems to be a long trail to get there
it calls correlate which calls correlate2 which is actually c function that calls PyArray_Correlate2 which seems to actually do the work : github.com/numpy/numpy/blob/…
if the things passed to the function pass all the tests it calls _pyarray_correlate which does look more like a function that does work than PyArray_Correlate2: github.com/numpy/numpy/blob/…
i mean that's what dot does presumably but i think the optimisation is in the choice of looping condition: i < (n1 - n2 + 1) and i < n_right
see the case statement above the algo that seems to modify n1, n2 and n_right depending on ????, i suspect the data you're using falls into one of the cases where you get really good results with this
(actually that's just the mode, presumably from the python function that was called)
it also seems like the dot that gets called is chosen based on the type of the data (which to be fair makes sense) and who knows what optimizations there have in there
fastest-code
Can you beat numpy convolve?
The task is to compute the convolution of an array with itself as quickly as possible. The array will contain 80-bit extended precision long doubles and I will specify how the array is to be created. In order to get a good range the values will be sample...
My friends and I have started writing "CALL FOR A GOOD TIME" followed by the campus police/EMS number on every whiteboard we find, and have been told by a large number of people that it's the way in which they learned the emergency number. So basically I'm doing a massive service for public safety
Someone has started writing "(DIRECT PARTY LINE!!!)" underneath it when they encounter it, which somehow makes it even funnier to me
at this point it may not be a bad idea to just go see what i have so i stop thinking everyone just suffers through stuff that actually isn't typical to deal with (e.g. dysphoria in the past lmao)
@ATaco i see
@TheEmptyStringPhotographer +1, but also it somehow bothers me more when people say "[x] and I" when it's grammatically correct to say "[x] and me"
perhaps it would make more sense to see my school counselor for referral instead, idk. i don't know if they are qualified for diagnosing stuff since i don't think they are a psychiatrist but i am unsure
My schools didn't notice I had asthma despite complaining about burning lungs every PE lesson, I would be shocked if they can pick up on something that complex
@ATaco my high school didn't notice I had ADHD despite my existing support staff for autism being at wit's end trying to deal with the incredibly blatant executive dysfunction they successfully recognized as such š¤š¤š¤
@hyperneutrino yeah, I spent like 2 months being straight up lied to about a treatment plan where she tried to keep me on non-stims for as long as possible before letting me try actual stimulant medication
when I was literally pleading with her like "my academics are an actual dumpster fire right now and this is the perfect time to take risks to hope to maybe fix something because they can't get any worse
@emanresuA Counselors are supposed to be for, say, social disagreements, Kids being kids. Also as a point of contact for children to speak up about behaviour of their parents and other teachers
my high school guidance counselor was basically just there for the bureaucracy of me needing a point of contact for some things related to IEP accomodations, trying to skip grade 9 math, etc.
...wait what I definitely did get a bit of that kid-to-kid conflict resolution, but it felt like for the most part school counselors were for parents and teachers speaking up about my behavior 💀
i don't remember why i even had any IEP accomodations for that, but i do think i did have certain options that i mostly never used except in like one situation ?? but that was too long ago for me to remember clearly
i should see if i can find my IEP lowkey would be interesting to read through it. but also i'd probably need to talk to my parents since it's probably filed somewhere in their house in the pile of stuff i didn't feel like taking and i sort of am on the fence on cutting them off
the distribution of people in my gifted class was mathematically quite satisfying. 24 people so already a very nice number since it's highly divisible. 16:8 boys:girls (at the time, as far as discernible information goes), 12:12 grade 7:grade 8. of the 12 in my grade, 6 went to my HS, 3 to another, 2 to another, and 1 to another. no clue about the next grade
@Ginger and then ofc I've mentioned this before but my entire high school friend group grew out of being dragged into league of legends by someone I met on the bus in middle school who turned out to be transfem and in the process gave me the most stupid fucking ideas about trans issues imaginable and probably single handedly delayed my egg crack by years
honestly, i do not know if the gifted program ended up helping or hindering my academics as a whole. in grade 5 and the first half+ of grade 6, i had a great teacher who is probably the only reason i survived the schooling system who actually knew how to deal with gifted kids (contrary to what everyone around me seems to think i am a TERRIBLE student and at the time i was academically behind because the only thing i cared about and was interested in was math)
and then in grade 6 that teacher left and we had a different teacher who i only had for 3 months fortunately but my brother had terrible experiences with her and she also got fired sometime later due to racism apparently?? my grade 7 teacher was meh, gave us some interesting opportunities but he was a long-term substitute. my grade 8 teacher had no idea what he was doing and he was permanent, my brother and i both did not like him
@hyperneutrino I feel like for me, I did better than I would have if I hadnāt had it because I wasnāt slightly less bored out of my mind in classes and the teachers were primed to be accommodating, but it set me up for failure because I got to use all of that as a crutch and bullshit my way through without ever having to learn how to actually do anything
i feel like that's approximately how it went for me as well, yeah. i wasn't bored because i just spent the time doing my own thing for the most part; spent a good chunk of class time playing minecraft with a friend because neither of us needed to do the math lessons and i aced every pretest so i didn't have to do any work and so that probably did terrible things for my ability to function as a student
i still cannot focus on lectures (i am literally in class right now so uh, yeah.) and i still have no idea how to study properly and the worst thing is it still works :tfw:
I was always surrounded by people doing that but I always at least tried to pretend to pay attention and condescendingly feel superior to people who did that š
@UnrelatedString it was nice but it also got me used to being able to just do well on things without needing to put work into things, which increasingly does not work in uni (i am in my last term before i finish my undergrad in CS at a program that is apparently very hard but i still don't even know how to study or take notes)
sometimes i read stuff from the notes during my. "studying". and then it makes no sense. and then literally during a final it suddenly makes sense to me and i feel like i am cheating and do not deserve to pass
outside of my required courses i need to do 2 humanities, 2 social sciences, 1 pure and 1 pure/applied sciences, 3 depth (basically a chain of 3 requisites, which i covered using japanese language), one of anything outside of my faculty, and then one each from a list of communication courses
it was not too terrible for me but i am taking 1 combinatorics and 4 computer science courses this term so like. even though it may be more stressful i much prefer this
i filled a decent number of those without deviating too far from stuff i was interested in. covered one of them with a philosophy course that was basically just the CS logic course but easy mode
i wish i remembered much of anything in the past :3 i barely remember existing in early uni, high school i can only recount but i can't picture any memories, and anything before that does not exist in my brain
straight up my childhood does not exist in my head