2 uses of pointers are collected at the top, and are permitted by the rules as these are a necessary part of I/O at the level of file descriptors.
This code implements the RPN calculator as a Semi-Thue system that works like a queue. It uses iteration and a tempfile to evaluate the formula left-...
@vzn I sunk a lot of hours into this 0-vote answer. :(
2 uses of pointers are collected at the top, and are permitted by the rules as these are a necessary part of I/O at the level of file descriptors.
This code implements the RPN calculator as a Semi-Thue system that works like a queue. It uses iteration and a tempfile to evaluate the formula left-...
post ... timeout ... retry ... timeout ... retry ... timeout. Oh, and then it's there twice, but too old to delete. Makes me look like I can't do "internet".
numbers. it was easier. Now, having found a dyadic function in monadic position, if next char is '/' : reduction, then ... do it, somehow. the implementation of the 'reduce' function will need to accept a function pointer to the component dyadic function, right? I don't see any other way.
@xfix Even more worrying is that 3 people have voted to reopen it. I think last December was our Eternal September and we'll never recover a culture of questions which have clear specifications and objective winning criteria.
@PeterTaylor Disallowing all future [popularity-contest] questions and deleting all [code-trolling] questions and that tag would be a step in the right direction, I think.
@Gareth I'd say historical lock on the current code trollings (nuking the mediocre/bad ones) and ban the tag, but you can't kill pop-contest without half the site quitting.
@Gareth Hah, maybe that's the half that we could possibly benefit from leaving ;) Sarcasm aside, sometimes people like a little non-challenge in their life - it's a site for code fun, and not everything has to be a challenge. If everything was too difficult, it perhaps wouldn't be as fun.
@PeterTaylor I am doing the absolute best I can - see my 5 latest questions ;)
It's unfortunate because I am 100% pro-popularity contest - in theory. In practice most of them are garbage and get upvoted anyway but I feel like the question type itself could really benefit the site.
@Doorknob Yeah, I was just joking about wanting people to leave (in case anyone thinks otherwise). I've no objection to less challenging stuff along with the harder questions, but I do object to things which are no challenge whatsoever that come with the instruction 'Be creative!'. I pick on 'Print 42' just because it's a good example of a bad example that's come in the recent pickup of traffic, but that 'Return 1' is an older example of the same thing.
@Gareth I absolutely agree with the statement I do object to things which are no challenge whatsoever that come with the instruction 'Be creative!'. And then they get into the hot questions list because they're so easy to answer with low quality garbage, but the algorithm doesn't care, and shoots it to the top of the list where it is then bombarded with upvotes, and the vicious cycle continues burying the actually good challenges in trash. </rant>
I wonder if somehow flooding the most active questions with well-specified questions of all tags would be a way to lead by example for some of the newer users who have only ever seen the front page flooded with poor questions.
When a question gets to -3 the delete option becomes available. But that's only useful if the question is beyond rescue and it can be downvoted, closed and deleted before the upvotes start to flood in.
(fake) Linux on Arduino
I recently acquired a small composite LCD screen, which I quickly began playing with using the Arduino TVout library. What came next? Linux!
Description
While playing around with my TV screen and the TVout library, I discovered there is a premodern terminal handler for ...
this is a proposal, hopefully first in a series (depending on reception), that will explore boolean circuits, empirical research, visualization, reverse engineering, and advanced (T)CS, and possibly even have some real research value. it is different that other proposals on this site in distinct ...
Too long, didn't read: Use this sandbox to work the problems out of your question before posting it on the main site. People will comment if they seem problems, and upvote it when they think it is ready; you should wait for at least 3 upvotes or until three people say it is ready before posting ...
In digital electronics, an arithmetic and logic unit (ALU) is a digital circuit that performs integer arithmetic and logical operations. The ALU is a fundamental building block of the central processing unit of a computer, and even the simplest microprocessors contain one for purposes such as maintaining timers. The processors found inside modern CPUs and graphics processing units (GPUs) accommodate very powerful and very complex ALUs; a single component may contain a number of ALUs.
Mathematician John von Neumann proposed the ALU concept in 1945, when he wrote a report on the foundations ...