@Zacharý everything being operators means 1. no keywords and 2. things like operator declarations look like this: op ((+) (left: MyType, right: MyType)) {body} (instead of op +(args){body}
my school board is forcing me to change my password
makes sense right? except none of the passwords I've tested are allowed
> Staff and Secondary students -Passwords must be a minimum of 8 characters, contain numbers and/or special characters (#,$,%,! etc) with upper & lowercase letters
I picked one with a ton of random numbers, letters of both cases, and specials, and it still kept saying "nope you fool"
yeah I'm probably going to get my school account locked due to me being forced to do the impossible
like seriously spamming random symbols into your password only makes it marginally more secure, length is more important, and besides nobody's going to remember a password that had to be created by dropping your computer down the stairs
i've had to retype my password at least 50 times already because it doesn't tell you if a password is invalid until you try submitting and then you have to retype it
and fuck my account is now locked from password changes for an hour because I mistyped my password too many times of the 60 million times I had to retype it
honestly if I didn't need this account for the non-crazy restricted internet at my school I'd just ask my parents to let me use my laptop instead of a potato for my schoolwork
@ASCII-only yes it works I log into my school's network every day with it
this is why I hate the school system
they "care" about the most pointless things like making your password exactly the way they want it and then they completely fail at actually teaching anything useful properly
I basically gave up on the school system ever since grade 5 when I was put into enrichment. Those 4 years were actually fantastic because it allowed me to temporarily stop being part of the mainstream school system and actually do something useful for once.
@ASCII-only ok so basically they stick you into a class with a bunch of other "special kids" and then don't deal with you, and you hope that your teacher is competent. my grade 5/6 teacher was amazing and then my grade 6 end-of-year teacher was bad, grade 7 teacher was okay (but was a one-year sub so he didn't really do his best) and grade 8 teacher got overrun by a communist regime started up by my friend
@ASCII-only Usually not. Here 1-3 is primary and 4-6 is intermediate but they're always in the same school. Some schools have an unwritten division (or in the case of my original homeschool, a mandatory division during recess which got REALLY annoying because everyone thought I was two years older than I really was). Some recent schools also have 7-8 with the rest of them (middle school).
@Downgoat Alright. So this started back when my friend first joined the 5/6 enrichment class in grade 6 (late entry). Near the later half of the year, he started this thing called "<Name> Rules" (not using actual name for obvious reasons), which were basically a set of rules that banned all sorts of pointless things like chewing apple slices at 14h25. He even had a court set up to convict criminals and one of my other friends says she apparently got sentenced to death three times.
@Downgoat well stuff like touching his hair probably
Later on, he developed the "social point system" (not similar to China's social credit system FWIW), where basically you gain/lose social points based on certain actions like [+] joining a sports team or [-] (idk what). I'm pretty sure I was around 0 or maybe negative half of the time. That carried into grade 7 and we all made jokes about how he was the least qualified to judge anything social-based.
In grade 8, he met another one of my classmates who eventually managed to combine the social point system, <Name> Rules, and a former inside joke about the worship of one of my other classmates into a cult which eventually became known as Kommunazia. That sort of un-developed into a sort of group of more academically-inclined and successful people consisting of my friend, the subject of those fools' worship, me, and a few others I think. (...)
@Downgoat that became irrelevant after the communist part of it was established. that was sort of abolished after grade 7 ended but was part of the foundation of how this thing started
(...) Eventually that developed into an actual government system partially thanks to two of my classmates getting into a relationship (which my friend strongly opposes apparently, even though my whole class would agree that he definitely has a crush on this one girl in our class). They mostly just messed around and randomly made fun of people (...)
(...) which I tried to stop before they got carried away but that didn't work (main target was probably this one Austrian girl in my class because a) speaks German and my friend is obsessed with fake-German because of the distinct consonant sounds, and b) is blonde and you know where that goes wrong when your friend has an apparent IQ of 2). (...)
(...) That carried on for a good while until in April (last 3 months of the school year) my friend finally realized that I had been in a relationship (took him 3 months), interestingly enough with the same Austrian girl I was talking about, and so he "kicked me out of the State" at the same time that I "quit the State because it's a terrible idea and is getting carried away". (...)
(...) So then it kind of started getting suppressed after I decided to raise a non-empty threat about actually getting serious about stopping it (involving school people, obviously) so it kind of stopped being a thing for a while. Then one of my other friends in the very early academic group was suspected of having a crush on someone (we were really bored in grade 8) so he decided to send a warning email calling it a "Tier 1 warning" and so they made a whole 6-tier system (with an additional T0)
Yeah thankfully I will have time for JHT after the next week (done with the exams, summer holiday). That is, if there are other people willing to train too :P
@gnu-nobody Most discussions in The Nineteenth Byte have nothing to do with code golf, and we are rarely having on-topic conversations. Our interests include food, linguistics, GDPR, math, School systems, how much exams suck and many others ;) Welcome to TNB (I do realise you've been here before)!
I have a challenge idea... write code to read in a "csv" file where each line has a different number of fields. Your code should just output how many fields there are in each line
slightly random question.. if I have some numbers x_i e.g 59, 59.5, 61, 61.5, 62.5 and I want to find coefficient a and b so that (sum ax_i + b)/5 = 70, how would you do that?
CMC: given an integer, return its unary representation (with a preceding - if it is negative, nothing else otherwise). Note you can use any non-minus printable ascii symbol for the repeating character 5 => #####, -3 => -111, 10 => !!!!!!!!!!, 0 => [empty string]
# Proposed Question # code-golf
List the amount of factors for a given number.
For Example:
If given 1936, the output should be 15 (as 1936 has 15 factors)
If given 196, the output should be 9 (as 196 has 9 factors)
Test cases:
64 - Outputs 7
196 - Outputs 9
1936 - Outputs 15
Scoring:
...