Community Blogs
Introduce yourself, show and tell, or set a challenge for your fellow Community members
cancel
Showing results for 
Search instead 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...

4 Comments

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...

10 Comments

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...

1 Comments

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...

2 Comments

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. ...

1 Comments

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...

1 Comments

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...

1 Comments

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 ...

1 Comments

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...

3 Comments

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.

5 Comments

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...

3 Comments

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...

1 Comments

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...

9 Comments

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...

1 Comments

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 ...

4 Comments

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...

1 Comments

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...

9 Comments

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...

1 Comments

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){$[...

8 Comments

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...

1 Comments

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...

3 Comments

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...

2 Comments

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...

1 Comments

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 ...

1 Comments

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...

1 Comments

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...

2 Comments

Surveillance in the Cloud

Architecting a trade surveillance solution is not easy; the algorithms are complex, the data volumes are large and the stakes are high for financial institutions desperately seeking to avoid large reg...

1 Comments

Stevan Apter on the Array Cast

Legendary developer Stevan Apter, of No Stinking Loops, is our guest on episode 26 of the Array Cast podcast, talking about working with k and q. “Apter – NOW we’re talking.” — Simon Garland

1 Comments