Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I started a little fun project - collecting a "hello World"-program for every letter in the alphabet. For example Ada for A, Boo for B, C++ for C, D for D, Erlang for E, and so on
But i got a little stuck i can't find any programming languages starting with the letter Q, U and Y
Any languages anyone, preferable not from the esolang wiki?
Update:
just in case anyone is interested i have completed my collection and made it available
in my blog
You can look at this The Hello World Collection. For "Y" use the Yacas programmable computer algebra system with : WriteString("Hello World")
Check out http://en.wikipedia.org/wiki/Ubercode for a U language, it's got a Hello World program in the article!
For "Q" use QBasic
Programming Puzzles and Code Golf has the perfect response to this.
There is an ongoing Hello, World! challenge, and it currently has at least two languages for every letter of the alphabet.
To view the languages and solutions in one place, click "Show code snippet" in the question, scroll down, and click "Run code snippet".
Some relevant languages: Q, Quipu, Underload, Unlambda, Y, and Yorick.
The 'U' ones I selected are from the esolang wiki, but they are the most popular two. There were several other 'U' languages in the list besides them.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I've been over time developing bash scripts here and there to make things easier for me, but they pretty much always just take some input and calculate some output.
I was wondering how to do more fancy stuff like:
Writing and updating the progress of an operation to the same pixel of the screen (instead of being only able to "append" new text or lines to the screen);
Allowing the user to select from a set of options (similar to using a List component in standard UIs);
From what I've gathered these things are not the simplest to be done just with bash. Is there any kind of library I could use that would take care of them for me? Maybe even in other languages (such as Python, perl, go, etc?) I've looked into zenity but that one is popping actually UI dialogs and that's not what I'm looking for.
Thanks
For bash, I'd encourage you to look at dialog. It might be everything you need:
Linux Journal: Dialog: An Introductory Tutorial
LinuxCommand.org: Dialog
Another option is Zenity
In general, ncurses is often an excellent choice. It's native to C, but there are ncurses bindings to most languages, including C, C++, Python and Perl (to name just a few).
whiptail seems to be another option: http://xmodulo.com/create-dialog-boxes-interactive-shell-script.html
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Are there any lists of tricky Haskell exercises that use monads in surprising ways floating around? I'm most interested in simple 'work out what this line of code does' or 'do this in point free using this monad' type questions.
Try to figure out why the programs here terminate.
It's not about monads, but these 20 intermediate haskell exercises could make your evening.
http://www.haskell.org/haskellwiki/Blow_your_mind
I don't know what you call tricky, but if you've never tied the knot you should try to make iterative depth first search using knot tying (and make sure it terminates cleanly if no solution is found!).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I just discovered Lucene (Java library) and starting to read up on it.
I'm interesting in taking some works of literature (for example, Philo, Josephus), and indexing them, then doing the following types of analysis (similar to what some Bible software programs do):
1) find word x within 2 or 3 words of word y
2) find "work* of * hand*" - would find "works of your hands", "work of his hand" etc...
3) find literary patterns (also called "motiffs") such as they author uses the phrase "in that day". (I think this might be the trickiest, might have to find all combinations of 2-7 word phrases then count them and rank them, only showing the top 25 for example). This might show for example that Josephus like to use one sets of phrases, and Philo another.
Are there any open-source libraries that you would recommend?
My language preferences would probably be 1) Python, 2) C#, 3) Java.
Ideally no dependencies on any proprietary database.
Thanks,
Neal
Lucene is the best one out there in my opinion in terms of popularity, community, activity and tooling. I suggest you look at Solr which is built on top of Lucene. Another open source indexing framework I found is Egothor which I am not sure what is the adoption rate.
And here is a survey that might be help you in choosing the right one.
Here you can find more open source and commercial libraries. I have seen few of them supporting bindings for more than 1 programming language. If you have decided to go with Lucene, then you might need Luke for your debugging purposes.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
The community reviewed whether to reopen this question 5 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I sometimes need to look for information for a special portion of code. When this code concerns or contains a special character such as °, *, or #, they are not always recognized in search engines.
I often end up having to ask a new question because I do not know how to write these characters in plain text.
Can anybody provide a definitive source for how these special characters should be written in a searchable way (or pronounced)?
You need the Jargon file. Amongst all the fantastic definitions (in the glossary section) is a list of ASCII symbols and what they're called.
Sadly, a lot of these characters have multiple names, some of which are more or less popular depending on things like how old the speaker is, and what side of the Atlantic they are living on.
I found a table in this blog post, which has a lot of the names. It shows which are (in the author's opinion) Britishisms and which are the most common names for each. The problem is saying that authoratatively would probably take some kind of international study. Anything less would just be emphasising the Author's own background.
For instance, she says calling [] "square brackets" is a British usage. I've never been more than a couple hundred miles outside the USA, and that's what I've always called them. Her first listed name, "Box" I've never heard anybody use.
Windows character map (just click a character, and look in the status bar at the bottom of the application window)
By far the most complete and authoritative listing of special characters is the Unicode character database.
And be sure to check out the rest of the Unicode website.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
What are some good links for diving into Haskell and functional programming in general?
Learn You a Haskell for Great Good feels a bit like a Haskell version of Why's (Poignant) Guide to Ruby. Lisperati has a neat Haskell tutorial based on making people happy at a picnic using simulated annealing; it only uses the word "monad" three times!
Real World Haskell is pretty good for a start.
There's also Yet Another Haskell Tutorial and A Gentle Introduction to Haskell
If you are going to look at Real World Haskell then be sure to sign up for the Real World Haskell Book Club which is a great discussion group and which will also be having regular virtual meeting to go chapter-by-chapter through the book.
An oldie but a goodie: "Haskell: The Craft of Functional Programming"