> LINQPad is not an open-source product and the source code is protected by copyright laws. Nonetheless, you are free to disassemble the executable to satisfy your curiosity.
Huh. A closed source thingy that allow disassembling the executable
Code Golf: Directional Brainf*ck Compiler
Challenge: Write a Brainf*ck compiler with 4 extra commands.
L Set the direction to go left
R Set the direction to go right
D Set the direction to go down
U Set the direction to go up
Test case:
D
-
[
-
-
R----->+<]>D
D++++->[-.-L R++..+++.[--->+<]>-...
@Sp3000 I have an ancient email account that I regularly get notifications that somebody is trying to access. It's been nearly 10 years since I accessed it, though
Haha, I had a hotmail account that I basically just used for registering to forums or other crap. One day I noticed someone stole it and changed the password. Tried to recover using all the different options, but it was impossible. Years later they changed the recovery system, and for some reasone I then was able to recover it. Fun stuff...
@flawr yeah, but mailinator has so many domains. I have a couple of them memorized, and if they have mailinator blocked, they usually don't have a different one
I want to run one of the answers (in C) as a command line tool from my python script. I can do this with subprocess.call. But how do I pass the input the standard input of the command line tool and capture the output?
I've known for a little while that one big reason I don't like in-person social situations is the small talk. (Apparently, not many people like the small talk either, but they think it's worth putting up with it. I don't think so as much.) I'm starting to realize that perhaps what aggravates me about some conversations in here is that they're effectively small talk. I'll keep watching/reading to see if that's actually the case.
@Lembik Blind guess: subprocess.Popen with setting stdin and stdout to subprocess.PIPE then using subprocess.communicate()? (either that or subprocess.check_output, but I dunno if that does STDIN)
Should probably mention - if you're using Python 3.5 then I think there's also subprocess.run(), but I've yet to try it (dunno what the difference is tbh)
It's similar to my big issue with ads: they're basically mental pollution. They want your attention without giving you anything in return. When I go to a news website to read an article, I don't care about whatever else they want to shove in my face. I want to read the article!
@El'endiaStarman I think there's the potential to avoid a lot of small talk online. Sometimes it's not just filler, but an introduction to talking. In person people go through the ritual of discussing health and weather before getting on to what they really want to say. In here, even "Hello" and "Goodbye" are unnecessary, so we can just say things without any introduction. The problem here seems to be inane messages. I think it's being generous to call them small talk...
CMC: Name an English word that contains 3 of two consecutive alphabet letters. e.g. "banabnab" would work because it has 3 a's and 3 b's (except it's not a word)
@trichoplax Yes, inane and noisy messages are definitely problematic. I do think that there are also sometimes fairly lengthy conversations that don't contain much substance, which is what I was thinking of by "small talk".
@HelkaHomba There's... a lot of candidates actually. Mostly n/o r/s s/t t/u by the looks of it from a quick skim. I'm going to take a guess that your word is feoffee
This challenge was inspired by this Wendy's commercial from 1984.
Illustration by T S Rogers -- Source: http://teaessare.com/wheres-the-beef/
Your task is to find a hexadecimal 0xBEEF on a binary bun.
The 'beef' consists of the following pattern:
1 0 1 1 (0xB)
1 1 1 0 (0xE)
1 1 1 0 (0xE)...
I'm not very used to the american cup measuring system. So I looked up online: 1 cup of sugar = 210g. Then I actually measured 210g of sugar, and guess what, it exactly filled my cup!
I mean you can say what you want about americans and their way of measuring things, but the cup system is just way better suited for cooking that the european one that requires measuring weight AND volume.
@El'endiaStarman I don't know, I don't drink coffee:)
The next bigger ones I know is what I'd usually refer to as a tee mug.
@El'endiaStarman I think that "small talk" is a bit broad. Does is mean "people talking about stuff I'm not interested in", or "people talking about stuff neither of them are interested in". I think the latter is what we usually term "small talk", but I don't think that happens much here
@NathanMerrill Hmm. That's a good point. I think the "people talking about stuff I'm not interested in" variety is more what I meant, but that's tricky to set a guideline for. I don't want to squash all conversations that I'm not interested in, but at the same time, there are definitely some conversations that I think degrade the atmosphere in here.
@El'endiaStarman Does it differ by much? From what I read so far 1 cup is about 200-230g of sugar. This is about equivalent 200gr = 2dl of water. (I just checked with my now reference cup.)
this chat has largely been about golfing, programming, math, and other hard sciences, and when 1. the conversation isn't about those things and 2. the regulars aren't interested in the topic, it seems that that is when we try to stop those conversations
Totally unrelated: does anybody else feel that the definition of "determinant" for 2x2 matrices isn't consistent with how it works for 3x3 matrices and larger?
I'd also divide into things I'm interested in, and things I'm not interested in but seem interesting to some. Both seem worth having here. Some things seem to be just imitating previous conversation, with no interest to anyone. Almost like cargo cult chatting.
There is small talk and small talk. When you post an unrelated link with no context and just a "lol" following it there's 99% chance it's uninteresting
@Fatalize that's a bit unfair. I know that Elendia likes to post videos that are unrelated to the conversation, but that I usually find quite interesting
I don't think that "unrelated to the current conversation" is grounds for "off topic in this chat room"
@PhiNotPi I know this formula as sarrus rule, but this exclusivley works for the 3x3 case. But even then I still prefer (and I did teach it that way) to use the laplace development, as it is just the more general approach and works for all sizes.
@El'endiaStarman So you do have two different sets of measuring cups for dry and liquid things?
Typically, liquids are measured with a single glass measuring cup, and solids are measured with a set of smaller cups in sizes like 1 cup, 1/2 cup, 1/4 cup, 1/8 cup.
You can measure only in volumes without using vague measures like "cup" which are defined differently in different regions and for different substances. If you convert your recipe to litres and then adjust if it turns out you converted the wrong type of cup, you can settle on a recipe that has the benefits of both volume measuring and standardisation
@RohanJhunjhunwala Haha, no problem! I was frustrated to see no response, and I don't really care about meeta rep so I figured I'd speed up the process a little bit.
Fingers crossed Here's to hoping they implement it!
Sorry but you're on the wrong site. We're a site for recreational programming. We are not a code-writing service and neither is stack overflow. — DJMcMayhem2 mins ago
Like, if you want to measure out flour, it's good to knock out the air bubbles and scrape off the excess, which you can't do with a fluid measuring cup.
Likewise, the shape of the fluid measuring cup makes it easy to pour liquids.
Or, to use another example, you can fill a solid 1/8 cup with shortening or butter and smooth it out so you have exactly 1/8 cup, which would be pretty hard with a fluid measuring cup.
The Challenge:
Write a GLSL ES 1.0 vertex shader that given only a vertexId per vertex sets gl_Position and v_color to generate something interesting. Highest vote count wins
Framework/Boilerplate
body { margin: 0; }
canvas { width: 100vw; height: 100vh; display: block }
<script src="htt...