There is no one-size-fits-all answer to this question, as the usefulness of a given programming language depends on the specific needs of the user. However, some experts believe that INTERCAL has certain advantages over other languages, including its flexibility and its ability to support multiple programming paradigms. Additionally, INTERCAL is designed to be easy to learn and use, which may make it a good choice for beginners.
There is no definitive answer to this question as it depends on personal preferences. Some people may prefer the taste of flaxseed over jelly, while others may find jelly to be more palatable. Ultimately, it is up to the individual to decide which they prefer.
Which programming language is better, Flax or Jelly?
There is no definitive answer to this question as it depends on personal preferences and opinions. Some people may prefer Flax because it is a newer language with a more modern syntax, while others may prefer Jelly because it is more concise and easier to learn. Ultimately, it is up to the individual programmer to decide which language is best for them.
What is Vyxal?
Vyxal is a prescription medication used to treat seasonal allergies in adults and children who are at least 6 years old. It belongs to a class of drugs called antihistamines. Vyxal works by blocking histamine, a substance in the body that causes allergy symptoms.
In the first part of the Evil Within 2 prologue, Jyxal says he is “better than Vyxal”. While the way he says it is a bit of a cliche, does it really mean anything? In the first game, the previous Evil, it would have made sense for him to be better than Vyxal, but in the sequel, it’s not really clear. In the second game, Jyxal doesn’t seem to have any advantages over Vyxal and is just as bad at most things.
This is a very hard question for me, because Vyxal is a character from the anime and manga "Vampire Knight", and I don't know who created it. It was created by the artist CLAMP, and since the creator of the series is unknown, we don't know who created Vyxal.
Vyxal is a vampire, and his name is Latin for "evil". I don't know if there is a connection to the word "Vyxal" and the word "evil"
There is no definitive answer to this question as its usefulness will vary depending on the individual. Some people may find it helpful in managing their stress and anxiety levels, while others may find it ineffective. If you are considering using Brain-Flak, it is important to speak with your healthcare provider to determine if it is right for you.
„Ceilalți trei prieteni ai mei au devenit inamici. Oricum, eu nu sunt prietenul lor. Dar nu mai este vorba de asta. Eu am stat acolo ca să-i spionez pe ei.”
Write a BASIC program to print the Fibonacci sequence:
a = 1 b = 1
repeat
print a print b a = a + b b = a + b
end
My question is: how can I make this program faster? I was thinking of using dynamic allocation of arrays (I am not sure how to do this) or the use of variables instead of hard coding numbers, but I am not sure if these will actually help. I am also thinking of using something like a GOTO to jump to the start of the loop but that seems like a really bad way of doing it. Any suggestions?
If you're not familiar with the title of this post, please be warned that I am going to be using a lot of jargon in the coming paragraphs, so if you're a bit out of the loop, you may want to stop reading this now and get back to browsing my older posts. I do have an explanation for all of this, but it's a bit long and involved, so I'll do my best to keep it short and simple.
CMQ: What should a range to a negative number do? Like, should a 0..z operator with 5 be [-4, -3, -2, -1, 0], or [0, -1, -2, -3, -4], or [-5, -4, -3, -2, -1, 0], or just []?
When I and the other three most recent ROs were added, I made a room for testing RO powers. We all had a bit of fun with it, and things were fine. Then Lyxal came in, announced the room was "being taken over by Vyxal Corporation", kicked everyone out, renamed it to "Frick", and I was asleep when this happened so I don't know the details, but things got ugly and a mod had to step in.
@Seggan Which are established, widely used languages. Vyxal at the time was still being heavily developed and had nowhere near as large of a userbase as the others.
And it still is under heavy development, from what I can tell
Flags should only be used for convenience for the person running it. -j shouldn't be interpreted as returning a string, it should be interpreted as returning a different representation of what's still an array
Things like -Ṁ (if I'm remembering that correctly) that change the behavior of things like range inclusivity take away tough questions from the language developer
Like, trying to decide how your range operators and stuff will work is a decision that requires thought and compromises and stuff. Making it so you can just pick one per-answer free of any byte cost is beyond boring and cheaty IMO
I was quite surprised when I first saw Vyxal being mass-used on the site, because at the time I thought it was just another one of those strange character golfing languages but it was somehow being constantly discussed
@RadvylfPrograms I don't see how it's different from me looking at Jelly and going "hmm, I think the decision to use 1-based indexing was wrong. I'll fork it and change it to 0-based"
@RadvylfPrograms imo i agree that flags that change a languages behavior are wrong. but flags that simply convert the output into a format that the challenge likes are fine. i.e. deep summing at completion or printing the entire stack
And using the fork as just a different variant of Jelly is exactly the same as a flag, with a different name
It's like Lyxal's threat to fork Vyxal into thousands of variants, for each flag combination, if flag scoring were changed
Just meaningless semantic differences for the same concept
@Seggan No, because you'd normally need an operator for that
You're just outsourcing work to the person running it
It's like if I made a JS answer and just left a note at the bottom saying "oh by the way, this doesn't actually find the nth prime, it finds the index of that in a list. you or the interpreter needs to do the rest of the work but I don't want to use bytes for it"
Imagine taking it to the extreme, and having 256 flags, one for each operator in the language. Then, you just append that operator to the program. You've suddenly taken one byte off every program in the language
I would propose that flags count as the same number of bytes of the function that they implement, thus making them obsolete. this comes with some edge cases however
But if people just start reading "8 bytes plus a flag" as "around nine bytes" for the purposes of competing with other languages, that's good enough IMO
@ophact since we count separate flags as separate languages, that counts as creating a language specifically for the challenge, which is already a standard loophole
I find MetaGolfScript pretty funny in a way, but it's definitely cheating to the greatest extent possible. It's only funny because of how much it is cheating
> It was funny when Randall Munroe did it 7 years ago, not anymore. It has been used in many challenges, some even multiple times in the same challenge.
Basically, that an interpreter consists of three black boxes: 1. One that takes a representation of the input from args/stdin, and produces arrays, dicts, strings, numbers, etc. 2. One that takes that data, runs the code, and produces output 3. One that takes the output (an 'actual" array, string, etc.) and produces a representation that can be put on stdout, stderr, etc.
So a "good" I/O flag can affect what the first and second black boxes do, but it never changes what the actual data being represented is, only how it's represented
Like, a flag that changes arrays to be outputted with JSON instead of newline separating the items would be useful for convenience sometimes, but you can never claim your program is printing JSON, because it's not. It's printing an array.
Possibly. I might post it on meta just to get opinions on it, but I don't think a major change in flag scoring is something people really want right now.
My main objection to Vyxal's flags isn't that they exist, since it's pretty easy to just mentally add a byte according to your subjective judgement on if it's cheating (since there's no "objective" competition between languages here). It's that I think flags are boring language design, and I don't want new users to see them and figure they're a good idea to add to their languages.
After all, Japt and even Perl have abusable flags, but I don't think those warrant more than an occasional downvote. And I think people are just generally tired of the flag debate.
Thos is a quine challenge related to Write the shortest self-identifying program (a quine variant)
Write a function or a full program that compares lexicographically its source code and input, that is, output three distinct values of your choice telling if input / source code is Bigger, Equal or ...
(And I want to make it clear that all of my criticism here has been aimed at Vyxal as a language, or more of the environment Vyxal's in rather than the language's features themselves, and at things that Vyxal's maintainers have done in the past. Lyxal's a great person, all of the Vyxal maintainers I know are too, and many of the incidents that've annoyed me are mostly just ordinarily fine fun and games or reasonable self-promotion for a project that's taken a lot of work, taken too far)
(I don't think Lyxal or anyone else at Vyxal Co. has any sort of malicious intent, and Lyxal helped me far more than I could possibly have hoped with my own golfing language despite not having anything to gain from it)
(I just think that as one of CGCC's fastest growing languages, that's particularly well suited for being peoples' first golfing language, it should be a bit more careful about its image, and as far as I can tell it has been since those incidents)
I agree with the points made here, but disagree with the conclusion that the CGSE rules need to make a stance on "Language golf" I think the disconnect between the two games is as much if not more a community/societal issue than it is a rules issue.
@DLosc One thought I've since had: a Language Golf competition could be hosted as a GitHub repository instead of on CGCC. Sort of like Rosetta Code, but golfier. Then we wouldn't have to rethink site scope or figure out who should get rep for the answers.
And removing the rep and views from the main site would remove a lot of incentive to compete
@DLosc I think language golf is totally on scope and would be an awesome idea
It's just going to take a lot of work to make a challenge since you need enough mini-challenges to get a good idea of how golfy the language actually is
Personally I think the rule regarding answers in languages you didn't make should be: 1. If the person/group who made it is clearly not going to profit off it in terms of rep, like JS or Python or Perl, go ahead and answer 2. if the person who made it is or was on CGCC, and they've been active in the last like, year or two, ask for permission first
That way if someone answered in, e.g., HBL, they can't FGITW the language creator with their own language, but langs like Python or Jelly aren't off-limits as a sort of baseline to compete with, and getting rep from those answers is still fine since it takes some work to compile the answer
But people who actually make the languages that they use would get more upvotes and possibly bounties
I'd personally go with a separate print operation for C, but since even like brainfuck relies on the number = character thing and our standard I/O makes them interchangeable, so it's not particularly egregious
P looks like it's just a different representation of the same data if I'm reading it right, so it's not cheaty unless you use it in a challenge that specifically wants a string output represented as a grid or not as a grid
@RadvylfPrograms Which actually raises a bit of a problem: people can make languages that are over-optimized for the set of subchallenges in a given Language Golf question. :P Each question would have to have hundreds of subchallenges to prevent that effect. Scoring based on hidden challenges, like in a lot of test-battery questions, wouldn't work either--it would require the question asker to write (and golf!) programs in everybody's languages.
@DLosc Maybe people have to publish the spec, based on a description of the focus of the challenge, then after a few weeks "stage 2" begins and people write the actual answers?
Maybe a hash would be posted of the challenges being used so the author can't be sneaky and optimize their choices for a submitted language that they personally like
@PyGamer0 Yeah, that's just a different representation of the same output. Looks fine.
@DLosc Yeah. A clear enough spec and a specific interpreter version are basically interchangeable I think.
If you posted a spec for an esolang you made for the specific challenge, as long as you don't rely on any behavior not in that spec in your answers, it'd be fine
@RadvylfPrograms my language has the -cgse flag, which changes every instruction to builtins that solve various common challenges in 1 byte, is that cheaty?
@RadvylfPrograms according to MDN it has fewer than five types of equality check, ==, ===, the one used by includes, and Object.is. (indexOf apparently uses ===).
@RadvylfPrograms it's kiiinda useful for testing if something's positive but not very useful since it creates truthy/falsy lists instead of integers (and you can also use Ṭ for the same thing, which would be considerably more difficult to generalize to nonpositive integers)
@RadvylfPrograms I was like, "Ha, I see what they did there, that's slightly clever," right up until the last sentence of the abstract, at which point it went from slightly clever to brilliant.
I would just invest it all in an index fund aside from a few million to do whatever with, and even when it's not doing super well you'd still make millions per year off of the interest
Then if you're sure something's a good investment, you can take some from the index fund once you're sure.
On the other end of the scale, if you made it a choice between a 1% chance of winning $10,000 or a guarantee of $1, I'd probably take the chance because $1 and $0 are basically the same to me.
@Mayube I don't think expected value is always a good measure of the actual worth of a chance, for similar reasons to why the mean isn't always the best kind of average.
For example, even if the expected value of a lottery ticket were more than its cost, I still wouldn't play the lottery because my chance of winning something is vastly smaller than my chance of just throwing my money away.
Honestly, I'd probably go with the $1b. Losing $100k would suck, since that's in the ballpark of a year of income, but it probably wouldn't be life changing, whereas $1b would be hugely life changing, outweighing the risk.
marry someone who's mom plays the lottery. My MIL buys a ticket every time, if she wins we get 25%, which statistically speaking is probably like $0.25
> Our work builds on a rich history of carefully argued position-papers, published as anonymous YouTube comments, which prove that the optimal solution to NoN violence is more GUNs.
Just get a construction vest and a tool bag, get someone to open the door to the server room for you, and bring a bootable thumb drive with you
You'd need to do some clever social engineering, and probably have someone on the outside to make sure your bootable drive worked, but it has at least a 10% chance of working
We could fly to SE's headquarters, then in the dead of night we break in. We pick the lock on the server room and inject a custom payload. The site goes down for a little while. Then, we sneak out through the air ducts. We fly back to our homes, and the next morning the site's magically updated. A few people wonder how, but the meta posts magically vanish. Nobody will ever know.
Just make sure to dodge the lasers which are conspicuously visible and blocking a random vent.
The StackExchange Network was compromised recently by a group of hackers calling themselves the "Meta Stack Overflow Liberation Front", who broke into the StackExchange headquarters in the middle of the night and injected a malicious payload into the website.
"We took it down for a little while," said a representative of the Liberation Front. "Then we put it back up. Nobody will ever know."
The Liberation Front was widely criticized for the attack. "Clever name," said one anonymous source. "But what a bunch of idiots."
Heapify a List into a Binary Max Heap
Given a list of integers, write the shortest program or function that will heapify the list into a binary max-heap, and return the heap as a list of integers.
Additional Resources
Wikipedia: Binary Heap
Rosetta Code: Heapify from the Heapsort algorithm
Addi...