New kdb+/q users question forum
Developers new to q/kdb+
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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 a 1px border on an image. So let’s examine it as w...

SJT by Contributor III
  • 255 Views
  • 1 replies
  • 3 kudos

When to do nothing

A common beginner mistake is to specify iteration when it is already implicit in q’s operators and keywords. This is a shame, because implicit iteration is almost always the fastest – and speed is what you came for, right? A new article on code.kx.co...

Ouroboros.png
SJT by Contributor III
  • 425 Views
  • 2 replies
  • 3 kudos

Missing some items

We encounter the enlist keyword early in learning q; a reliable way to make a one-item list where 1# won’t do. But there is a bit more to enlist than that. In the first place, it is not only variadic – taking various numbers of arguments – it will ta...

SJT by Contributor III
  • 346 Views
  • 1 replies
  • 2 kudos