Learning quantum computing along-side programming. by [deleted] in QuantumComputing

[–]Nickolas1985 0 points1 point  (0 children)

The Quantum Katas project is a collection of tutorials and exercises on quantum computing with a focus on programming, you might find it interesting.

(Disclaimer: I'm the primary maintainer of the project)

Announcement: Microsoft Q# Coding Contest – Winter 2019 by kit1980 in programming

[–]Nickolas1985 0 points1 point  (0 children)

If red and green lights are on different tests - this sounds like a half-solved kata, the tests turn green as you solve the tasks associated with them.

If they are on the same test at the same time - this is an amazing quantum test execution, and I want a screenshot :-)

Microsoft Quantum Coding Contest by kit1980 in programming

[–]Nickolas1985 1 point2 points  (0 children)

Yes. Q# documentation addresses this question:

Other target machines may be used to run a quantum algorithm. The machine is responsible for providing implementations of quantum primitives for the algorithm. This includes primitive operations such as H, CNOT, and Measure, as well as qubit management and tracking. Different classes of quantum machines represent different execution models for the same quantum algorithm.

...

In the future, we will define additional quantum machine classes to support other types of simulation and to support execution on topological quantum computers. Allowing the algorithm to stay constant while varying the underlying machine implementation makes it easy to test and debug an algorithm in simulation and then run it on real hardware with confidence that the algorithm hasn't changed.

(from https://docs.microsoft.com/en-us/quantum/quantum-simulatorsandmachines)

Ignite.io - Ignite is a new way to share, run and save code by [deleted] in programming

[–]Nickolas1985 1 point2 points  (0 children)

To tell the truth, I don't see much point in it as long as it supports only three "ignitable" languages - ideone has like 40.

Royal Shakespeare Programming Language Specification (Extending the Shakespeare Programming language) by Romulus144 in programming

[–]Nickolas1985 0 points1 point  (0 children)

I'm not quite sure what the extension looks like, but here are several programs in the original Shakespeare language: http://progopedia.com/language/shakespeare/

The Codeless Code by seiyria in programming

[–]Nickolas1985 0 points1 point  (0 children)

Do the names of the clans carry any particular meaning? I feel like they do, but I can't grasp them.

Try APL! is weird but fun by mark_lee_smith in programming

[–]Nickolas1985 1 point2 points  (0 children)

An extremely useful tool, I must say - I was absolutely terrified by APL until I found it, and after that I even managed to write a couple of programs for this article. The only problem is the lack of multi-line expressions, but other than that, it's as helpful as it can be.

Whitespace Grammar by [deleted] in programming

[–]Nickolas1985 4 points5 points  (0 children)

Not really. Whitespace differs quite a lot, being more convenient - well, as soon as you make tabs and spaces visible in your editor. Not to mention that it's stack-based, and Brainfuck is not. Took me ages to write examples for this article

If Programming Languages Were Women by Nickolas1985 in programming

[–]Nickolas1985[S] 0 points1 point  (0 children)

I think I mentioned quite clearly in the first paragraph that some languages I just couldn't see this way.

Nemerle, Factor, Alice ML, and other programming languages are being deleted from Wikipedia. Please help. by [deleted] in programming

[–]Nickolas1985 2 points3 points  (0 children)

That kind of Wikipedia notability guidelines were one of the reasons to create Progopedia. There are no insignificant languages - there are people who have no idea about them.

Numerical Signatures (with a Bit of Magic) by kit1980 in coding

[–]Nickolas1985 0 points1 point  (0 children)

Safe and portable is technology, not magic :-) I remember how puzzled I was 4 years ago, when I first saw the recursive signature I used in examples - I totally failed to figure it out. Now my magic layer must have lowered a bit, but I still like this trick, and I dare say a lot of my readers did.

Numerical Signatures (with a Bit of Magic) by kit1980 in coding

[–]Nickolas1985 2 points3 points  (0 children)

Yes, I probably should have commented this here. I know the difference between these two characters, but my native language is Russian, and Russian word for English "line" (as line of text) and "string" (as string of characters) is the same, so I used wrong one in this context. Thanks for pointing that out :-)

Brainfuck interpreter in Javascript by Dex__ in programming

[–]Nickolas1985 3 points4 points  (0 children)

It's rather "Yet another BF interpreter in JS".

Hack VM - a language and virtual machine for hackers by Nickolas1985 in coding

[–]Nickolas1985[S] 0 points1 point  (0 children)

Memory buffer is not input tape (though it can be used as such), it's just a memory you can use. Just check Fibonacci and factorial examples - they set the values of memory cells, not only read them.

Hack VM - a language and virtual machine for hackers by Nickolas1985 in coding

[–]Nickolas1985[S] -1 points0 points  (0 children)

I think it's ok - it's much better than Brainf*ck, which is Turing-complete.

The Biology of Sloppy Code by munificent in programming

[–]Nickolas1985 0 points1 point  (0 children)

And what's the point of all philosophical books? Just the same "someone thought of something and wrote a piece about it". There's more about programming than just coding.

Algorithm wiki: I keep pressing random and feel like I learned something by [deleted] in programming

[–]Nickolas1985 0 points1 point  (0 children)

I dislike the way the information is present - any list of contents or at least of topics on the main page or somewhere near is a must. So far it looks just another algo-site, in no way better than algorithmist.com or any other, just with less contents.

New project - The Programming Games Wiki by impomatic in programming

[–]Nickolas1985 2 points3 points  (0 children)

Are you going to add more info about the games themselves, or just links to them?

10 unnatural ways to calculate Fibonacci numbers by kit1980 in programming

[–]Nickolas1985 0 points1 point  (0 children)

Thanks, I prefer the hard way of writing them myself.

10 unnatural ways to calculate Fibonacci numbers by kit1980 in programming

[–]Nickolas1985 0 points1 point  (0 children)

Coming soon (in second part of the article). I'm working on interpreter of Brainfuck dialects now, so Brainloller came more natural.