News for hackers. Stuff that matters.

ectoplasmaboiii

Re:Latino Programming Language on Wednesday April 14, 2021 @10:59AM (#26808049)
Awesome! I have always wondered if language like spanish and arabic have (widespread) programming languages.

As an aside: I guess the fact that k only uses symbols makes it a very inclusive language :)

Re:What Is Applied Category Theory? (2018) on Wednesday February 03, 2021 @07:45AM (#26013133)
For anyone else interested, Tom Leinster (also of Edinburgh Uni) has also written a good short book for beginners:

https://www.maths.ed.ac.uk/~tl/bct/

I did his course at uni that used this book as a basis and it was great. Tough, but great.

Re:How to Become a Data Engineer in 2021 on Monday January 11, 2021 @01:01PM (#25732932)
Is anyone here using kdb+/q for data engineering, specifically outside of finance?
Re:All DuckDuckGo bang operators on one page on Monday September 28, 2020 @06:16PM (#24621808)
Well now I feel like an idiot. Thanks!
Re:All DuckDuckGo bang operators on one page on Monday September 28, 2020 @01:39PM (#24619228)
The ones that I find myself using a lot

!gm - google maps

!sr/!sro - type in subreddit (add o for old reddit)

!so - stack overflow (i usually use it with [tag])

Re:Using Microsoft Word with Git on Friday August 28, 2020 @07:08AM (#24303505)
I don't know if you're already familiar, but pandoc perfectly bridges this gap for me. You can write things in markdown, then covert it latex no problem with pandoc. You can even make templates for it, and write mathmode in markdown.

It certainly makes for less _noisy_ source files in my opinion, and it also means that you get to take advantage of the fact that, if you want to, you can easily convert your markdown to HTML, with maths using something like mathjax.

This was a bit of a ramble, but I honestly can't say enough nice things about pandoc.

I've tried using the vim plugin for VSCode many times, and every time I come back to it, it just feels... off? The actual vim keybindings work fine when you're editing the document, but I find that when you want to use some of the other features of the editor, it becomes a bit more tricky/hacky.

If MS made an official set of vim keybindings that had better editor support, or even if there was some sort of kill switch that let me turn off vim key bindings quickly, I would be 100% sold on VSCode, but until then, I'll stick to the terminal.

I'm personally a fan of remapping jk or jj to esc, there barely any instances in the english language where you would use those two letters together, and it means you can leave insert mode whilst barely moving your hands :D
Re:Salmonella outbreak linked to onions in 43 US states on Saturday August 08, 2020 @03:41PM (#24094530)
Apologies dang. Won't happen again.
Re:Salmonella outbreak linked to onions in 43 US states on Saturday August 08, 2020 @01:53PM (#24093648)
Hey man, I am from the UK and used to live in the states (north east though, not california). Yes, the quality of food in the USA can be VERY good, especially if you shop at places like wholefoods. The problem tends to be with the cheaper food.

In the UK, I would feel safe eating the cheapest chicken from Tesco, Alsdi, Lidl and ASDA (which is owned by Walmart). Would I feel safe eating chicken from the cheaper supermarkets in the USA? Definitely not.

I don't think the UK should be lecturing other countries, and at no point did I say we should.

Also, how dare you insult fish and chips, half and halfs, and fried mars bars :p

Finally, I would just like to point out that I did say I love the USA, I'm looking at moving back (post-covid). It's one of my favourite countries in the world, but I'm surprised at how controversial it is to say that the food isn't the best.

Re:Salmonella outbreak linked to onions in 43 US states on Saturday August 08, 2020 @01:05PM (#24093187)
Sure, we're not great. But it blows my mind that you would ever want to _lower_ the quality of the food you are eating.
Re:Salmonella outbreak linked to onions in 43 US states on Saturday August 08, 2020 @12:45PM (#24093025)
And the UK govt wants to lower its food standards to do a trade deal with the states :)

(No offence to any american friends. I love your country, but your food has some problems.)

Re:Tiny Tiny RSS on Friday July 24, 2020 @04:36PM (#23944137)
Interesting posts, looking to make an RSS feeder myself, but in a more bizarre language!

By the way, your personal website (if it's yours) is fantastic. Just the right amount of styling to make it look good.

Re:Ask HN: What's Your Vim Setup? on Saturday July 18, 2020 @06:15PM (#23885309)
Would you be willing to share what that vim/kdb plugin was... sounds very interesting!
Re:Microsoft Exec Peggy Johnson Joins Magic Leap as CEO on Tuesday July 07, 2020 @12:06PM (#23760617)
damn peggy
You might be interested in mesh [1], which is sort of what you're angling at. The creator did a video explaining it [2].

  [1] https://github.com/chrispsn/mesh
  [2] https://www.youtube.com/watch?v=CEG9pFNYBCI&t=499s
Re:Try these 4 languages from 4 corners of Programming on Monday June 29, 2020 @08:41AM (#23677023)
I would also shill one of the APL derivatives. I've gone from a happy Python dev to a die hard k/q guy very quickly. These languages completely change the way you approach a problem.

It's just a shame that q isn't free for commerical use (though it's free for personal use) and there aren't many jobs outside of finance.

You should see the carriages on the glasgow subway... They're tiny!
Re:Radio Garden – Explore live radio by rotating the globe on Wednesday June 10, 2020 @01:35PM (#23479788)
+1 for radio droid on android, has an alarm clock AND a sleep timer, which seems to be rare on hardware digital radios... (Even BBC sounds doesn't have an alarm clock).

If you also want to find different stations around the world there is also http://www.surfmusic.de/ which I often use for power 105.1FM in nyc, which is difficult to find a stream of here in the UK.

Re:Revisiting the Business Card Raytracer on Saturday May 09, 2020 @07:49AM (#23123956)
A Ray-Tracer in 7 Lines of K: http://nsl.com/k/ray/ray.k
Re:Ode to J on Friday April 10, 2020 @11:58AM (#22834321)
Not a large K program, but a company I used to work for maintains a large, open source q framework https://github.com/AquaQAnalytics/TorQ which is used in many large investment banks and hedgefunds.

Funnily enough, the framework is actually a more expansive version of a tick system developed by Kx (the company that makes kdb) https://github.com/KxSystems/kdb-tick

The Kx one is incredibly concise. When I first started working with it, it took me a while to figure out what was going on.

The larger K/q programs get, the more they tend to look like "normal" code, but you still see a lot of these clever one liners hidden away in there.

Re:Stages of denial in encountering K on Monday March 09, 2020 @04:00PM (#22529144)
I believe they have fixed it. I just did the following:

  q)a: 1 2 3 0N 3 4
  q)sum a
  13
  q)+/[a]
  13
Re:Fml: An optimizing array programming language on Saturday January 25, 2020 @07:31PM (#22149588)
I'm a bit annoyed that I can't find anywhere to download the language, I would like to try it out.

I'm a q programmer who loves it, but would love to see a language that is: 1. free and open source 2. less symbol heavy than k/q 3. fast enough/safe enough to be used in production

So I'm always on the look out for something new like this that could replace it.