My current school has "<school name>Visitor" with no login required and "Air<Sports program name>2" with a login that's notoriously hard to set up, and then a departmental "Secure" network that somehow plays a role maybe. I've lost track.
wow... my comp sci professor's homework rules are kind of dumb
"Documentation is not given any weight for this homework. However, you must do proper documentation, as it must be in your programming habit by now. The absence of documentation may lead to penalty."
You don't earn points by commenting your code, but you can lose points by not commenting... isn't that exactly the same though?
@ETHproductions I had a similar dumb interaction with my comp sci professor. Comments should just supplement readable code. You don't need to comment every line, just confusing lines. And yet she took away points for not enough comments until I had a comment on every line.
Lol... Our CS teacher was asked by a pupil to recommend him another programming language to learn (we learn C++ (eugh!) in school). They said that Python is among the best choices. Two weeks later (today), the boy asked them a question about Python classes. They said they don’t know Python......
The same professor lost our test papers a couple of weeks back
Our french teacher 2 years ago lost our exercise books 2 months into the school year, then tried to fake it through the rest of the year by giving us worksheets and watching french movies :P
DNA Quine
Problem Description
Design a quine that outputs its own source code, but encoded into amino acids.
Take your source code and expand it into base 4. Each digit now maps to a nucleotide like so:
0 -> A
1 -> C
2 -> G
3 -> T
A set of three nucleotides produces an amino acid. You can f...
Quick strawpoll for those present: what would you say are the top 3 stack-based languages on TIO for golfing (in terms of short code across a lot of different challenges)?
@Mego then I don't see why not just create an anonymous (i.e. not registered) account and post all answers from that one, since they don't get the privs anyways
@EriktheOutgolfer there are meta posts that imply you can restore an anonymous account cookie via the email, but I tried, it only gave me the option to convert it to a regular account but not to restore the cookie, so something changed at some point
How to tell if a post is ais': 1) it must be extremely well golfed 2) it's most likely in Brachylog 3) it's most likely from an unregistered user 4) it has a nice explanation 5) if the language has a quirk that makes the answer longer, the language is subtly being criticised at the end for that :P
I have no objections to people editing posts made by deleted users, whether or not they happen to be me
actually, part of the reason (but a very minor part) I deleted my account was in the hope that people would start seeing my work more as belonging to the community and be less afraid to edit it
anyway, given that I'm starting to participate more and more frequently again
I might consider creating a new account, but am unsure of the morality of repeatedly dropping 500-point bounties on random things
@ais523 Have you ever considered simply posting everything as a community wiki? That would accomplish both of your goals (not getting rep, freely editing)
and yes, optimal voting would be to upvote questions and downvote answers I think, and even then you can only get 50 votes per day if you cast them in the right order
The problem is that the compiler can't figure out the type for the function, because show has multiple instances, once it sees it needs to be a number it figures out the type you want.
In Haskell it is possible to define functions that will cause a compiler error unless they are called elsewhere in the program.
For example the following code causes a compiler error
r=sum.map(read.(:[])).show
main=putStr""
Try it online!
while the extremely similar
r=sum.map(read.(:[])...
Story
You are an American spy, tasked with saving your country from the inevitable release of extremely sensitive documents being held a maximum security base, deep underground in the middle of the Pacific Ocean. If they are released to the public, society could collapse. You have been tasked wi...
right, good idea, I was thinking from terms of a stream of digit characters, but I decided to generalize a bit
this would be helpful in many esoteric languages, all of which I see utilize linear memory for custom integer input, which becomes bothersome for further generalization for, say, brainfuck into higher level languages
PSA: New tag stateful created (see meta), would really help if people could begin slowly retagging where applicable (but not so rapidly as to flood the front page)
@DJMcMayhem You know I thought I knew what generators were but it really didn't click until now. Perhaps I knew what they were but now I understand them.