Community Blogs
Introduce yourself, show and tell, or set a challenge for your fellow Community members
cancel
Showing results for
Did you mean:

## Blog Articles

### My guitar homework

Q derives from the mathematical notation Ken Iverson developed at Harvard. Years before, when Ken was a young man in Alberta, a farmer he worked for asked him if he knew how to use a certain tool. Ken...

### Challenge 1 - Triangle Font

Hi all ! I want to introduce my first challenge – Triangle Font. I initially solved it in python as I am a bit more confident in that language then I attempted to solve it in q. Problem 1 – Triangle F...

### My Programming Journey

Hi KX Community! My name’s Megan, I’m a junior developer and I've been with KX for two years. I’m coming to the KX Community hoping to connect with beginners like myself and learn from other developer...

### Q For Problems - Episode 9

Hi everyone, Please check out episode 9 of the Q For Problems video series. This covers problem 9 from the Project Euler problem set. Project Euler - Problem 9 We want to find the the Pythagorean Trip...

### AOC 2022: Stairway to heaven

The first six days of this year’s Advent of Code challenge are now written up at Study Q. I’ve trawled q solutions from multiple sources to extract maximum joy, and explored and discussed variations. ...

### AOC 2022 midway roundup

Half way through this year’s Advent of Code challenge and, like many others, I’m struggling to keep up. But there is much to learn from the top guns, so I’m hanging in there. I’ve just scraped solutio...

### Nick Psaris and the q language

On the latest episode of the ArrayCast podcast, our guest Nick Psaris, author of Q Tips and Fun Q, explains why q is such a good language for Big Data, and gaining employment through array-language ex...

### Q For Problems - Episode 8

Hi everyone, Please check out episode 8 of the Q For Problems video series. This covers problem 8 from the Project Euler problem set. Project Euler - Problem 8 We want to find the greatest product of ...

### Q For Problems - Episode 7

Hi everyone, Please check out episode 7 of the Q For Problems video series. This covers problem 7 from the Project Euler problem set. Project Euler - Problem 7 The problem is to find the 10 001st prim...

### Increase auto-logout time

Does the site have a method to increase the length of time before the system auto logs you out for inactivity? Seems to only be about 20-30 minutes.

### Q For Problems - Episode 6

Hi everyone, Please check out episode 6 of the Q For Problems video series. This covers problem 6 from the Project Euler problem set. Project Euler - Problem 6 The problem is to find the difference be...

### Q For Problems - Episode 5

Hi everyone, Please check out episode 5 of the Q For Problems video series. This covers problem 5 from the Project Euler problem set. Project Euler - Problem 5 The problem wants us to find the smalles...

### Q For Problems - Episode 4

Hi everyone, Please check out episode 4 of the Q For Problems video series. This covers problem 4 from the Project Euler problem set. Project Euler - Problem 4 The problem wants us to find the largest...

### Q For Problems - Episode 3

Hi everyone, Please check out episode 3 of the Q For Problems video series. This covers problem 3 from the Project Euler problem set. Project Euler - Problem 3 This problem wants us to find the larges...

### Q For Problems - Episode 2

Q For Problems - Episode 2 Hi everyone, Please check out episode 2 of the Q For Problems video series. This covers problem 2 from the Project Euler problem set. Project Euler - Problem 2 Feel free to ...

### What is an array-programming language?

Many languages, such as JavaScript and Python, have incorporated array methods, often inspired by Iversonian languages such as APL, J and q. So what makes a language an array-programming language? Opi...

### Q For Problems - Episode 1

Q For Problems - Episode 1 Hi everyone, Please check out episode 1 for my new Q For Problems video series. This series will use the Q language to solve various programming problems. Episode 1 covers p...

### Dave Thomas on Tech Lead Journal podcast

Former KX Chief Scientist Dave Thomas on the Tech Lead Journal podcast this summer: We want to write as little software as possible, and we want it to have as much value as possible. If you actually f...

### Underneath q is k

The .q namespace contains all the bits of q which are are wrappers of k and hence gives us a good starting point. If we type lj we can see its definition, .q.lj is the fully qualified name. q)lj k){\$[...

### Code Formatting

What does this statement mean? "can't read it" Let's assume all readers of the code are developers. Are they all proficient enough with the language in order to read the entire .q file even if it is f...

### What is a script? What is a library? How should I structure my project?

Well, there's no single answer. What you want is a structure that everyone is comfortable with, consider the following points: If you have to do a sequence of ls, cd, ls, cd commands, whenever you wan...

### How do you start thinking in vectors?

In his reply to How long should a name be @darrenwsun raises a point so important it deserves a thread of its own, so I’m promoting it here. Darren wrote: As a dev using this language and a practition...

### How long should a name be?

How long should a variable or function name be? A well-established tradition encourages us to use clear, meaningful names; names that explain what the variable contains, what the function does. Here i...

### Rank beginners

Rank in q refers to the number of arguments a function takes – or the number of indices you can use to index an array. Because Apply and Index have the same syntax, functions and lists are syntactical...

### QR: Quick Response quite reasonable; quirkily rectangular

Turning a URL into a QR (Quick Response) code is an illuminating exercise. Following the description of the algorithm posted by Vidurangi Kalpana, and setting aside the business of representing a bool...

### Flouring the loaf

Now here’s a task that cries out for a simple solution: put a border round a matrix. My matrix is boolean and represents a QR code (yes, we’ll come to that) but it’s the same problem as, say, putting ...

### One potato, two potato: Joel Kaplan on the ArrayCast

On the latest episode of the ArrayCast we talk to Joel Kaplan, founder of 1010data. Joel ran the Algorithmic Proprietary Trading group at Morgan Stanley for many years. In 1985 he hired Arthur Whitney...

### Adding inline code to your questions & messages

Previously I posted on creating q code block with syntax highlighting in a message. Rather than a block you may also wish to add inline code. To do this: 1. Choose ... 2. Choose HTML 3. You will see t...