Better HN
topnewbestaskshowjobs
Log inSign up

dons

9,590 karma · joined Aug 21, 2007 (19y ago) · 897 submissions

Don Stewart

Functional programmer, PhD in computer science, and quantitative finance developer. I've been programming Haskell for the past 19 years. --I write trading software and lead a dev team at Standard Chartered Bank.-- I manage testing and verification at Facebook.

Co-author of the book "Real World Haskell", and of the xmonad window manager. I founded the Haskell Platform project and wrote the bytestring and binary libraries for Haskell. I'm interested in building great software, type-driven compiler optimizations and high-performance data structures.

London (prev. Singapore, New York, Portland, Sydney).

---

http://donsbot.wordpress.com/

http://twitter.com/donsbot

http://plus.google.com/115274377971493973150/

http://stackoverflow.com/users/83805/don-stewart

http://www.linkedin.com/pub/don-stewart/4/436/179

Submissions

comment 5y ago · link · parent

I think the point in the space Glean hits well is efficiency/latency (enough to power real time editing, like in IDE autocomplete or navigation), while having a schema and query language generic enough to do multiple languages and code-like things. You can accurately query JavaScript or Rust or PHP or Python or C++ with a common interface, which is a bit nuts :D

comment 5y ago · link · parent

Most clients hit the Glean server via the network (thrift/JSON) and then mostly via language bindings to the Glean query language, Angle. The shell is more for debugging/exploration.

Imagine an IDE plugin that queries Glean over the network for symbol information about the current file, then shows that on hover. That sort of thing.

comment 5y ago · link · parent

A bit of both I think.

comment 5y ago · link · parent

We use this to power things like find-references or jump-to-def, "symbol search" and autocomplete, or more complicated code queries and analysis (even across languages). Imagine rich LSPs without a local checkout, web-based code queries, or seeding fuzzers and static analyzers with entry points in code.

Our focus has been on very large scale, multi-language code indexing, and then low latency (e.g. hundreds of micros) query times, to drive highly interactive developer workflows.

5.

Glean – System for collecting, deriving and querying facts about source code(glean.software ↗)

213 points · by dons · 5y ago · 81 comments

6.

Scaling Static Analyses at Facebook(m-cacm.acm.org ↗)

126 points · by dons · 7y ago · 25 comments

comment 7y ago · link · parent

Solving NP hard problems efficiently.

comment 8y ago · link · parent

And "eradicate" for Java... http://fbinfer.com/docs/eradicate.html

we love types. They help us ship stuff faster.

9.

Facebook open-sources RacerD: Fast static race detection at scale(code.facebook.com ↗)

32 points · by dons · 9y ago · discuss

comment 9y ago · link · parent

Lumping state with some functions that implicitly have R/W access to that state is not possible in Haskell

s/not possible/possible, but highly discouraged/

comment 9y ago · link · parent

Facebook | C++/OCaml static analysis | | London, UK | Onsite | Full time

Work extending the open source Infer static analysis suite support for C++. We use Clang for the front-end and have an open role to work on this in general. The code is all OCaml. Expertise in C++ is highly desirable. The requirements are roughtly C++ AND (OCaml OR Haskell OR Static Analysis OR Formal Methods).

The work will be mostly open source.

https://www.facebook.com/careers/jobs/a0I1200000LT8aAEAT/

12.

If Your Boss Could Do Your Job, You’re More Likely to Be Happy at Work(hbr.org ↗)

3 points · by dons · 9y ago · discuss

comment 10y ago · link · parent

Standard Chartered | London and Singapore | Full-time and Contracting

10+ open positions for Haskell developers in the Strats team at Standard Chartered. 1 open position in the developer efficiency team working on our build system and tooling.

https://donsbot.wordpress.com/2016/06/03/multiple-haskell-de...

14.

Haskell/HalVM EC2 Unikernel: One Step Haskell Unikernels(devel.unikernel.org ↗)

4 points · by dons · 10y ago · discuss

comment 10y ago · link · parent

Standard Chartered | London and Singapore | Full-time and Contracting

10+ open positions for Haskell developers in the Strats team at Standard Chartered. 2 open positions in the developer efficiency team working on our build system and tooling.

https://donsbot.wordpress.com/2016/06/03/multiple-haskell-de...

comment 10y ago · link · parent

We have a typed version now - it's awesome

comment 10y ago · link · parent

Standard Chartered | ONSITE | Software Engineers (full time)

https://donsbot.wordpress.com/2016/02/25/haskell-developer-r...

7+ roles for Haskell developers in London and Singapore working on a large Haskell code base for trading and risk management. Join a growing team.

comment 11y ago · link · parent

Yes, the tech is eating the rest of the business. You need less people after you've turned a lot of the business into an API.

I've got four open positions at the moment.

comment 11y ago · link · parent

How much is your time worth?

comment 11y ago · link · parent

Habitually rewriting things in applicative and/or pointfree is a sure sign of a junior Haskell dev. One who has never had to maintain someone else's code.

There are cases where it helps (e.g. structured parsing), but all too often this is simply obfuscation. Even if motivation is good -- learning new structures -- you still have to focus on cost/benefit of each change in structure.

Keep it simple, folks.

comment 11y ago · link · parent

git was first released in April 2005. We (Haskell community) were using dvcs through darcs for about 2 years prior to that. dvcs made a lot of sense to the Haskell open source world back then, as we didn't have servers, so central repos (like CVS or SVN) were out of the question. It had to be p2p to get off the ground.

comment 11y ago · link · parent

Yeah, it could well be that you just care about latency hiding on e.g. network services. For that raw compute and memory is much less important than having a reasonable thread scheduler and cheap threads.

comment 11y ago · link · parent

It was fun creating 3M threads on my laptop back in the day. http://www.reddit.com/r/programming/comments/a4n7s/stackless... :) memories!

comment 11y ago · link · parent

Faster and less memory intensive[1] and has a type system.

[1]: http://benchmarksgame.alioth.debian.org/u64q/compare.php?lan...

25.

China’s stock market bubble: A goring concern(economist.com ↗)

91 points · by dons · 11y ago · 61 comments

comment 11y ago · link · parent

> It is very hard to construct a DSL and once established it is cast in stone

Not if you're using embedded DSLs, which are basically rich APIs supporting variables and control structures. They can be as fluid as simpler APIs, yet have strictly greater expressive power.

comment 11y ago · link · parent

Actually computers can solve many instances of the halting problem. http://en.wikipedia.org/wiki/Microsoft_Terminator

comment 11y ago · link · parent

Maybe look at cryptol or kansas-lava as more practically-focused alternatives?

comment 11y ago · link · parent

> First let us switch to Haskell for pseudocode as I don’t want to show you the C++ that is required for this.

Hehe, but that's actual code.

> we may go back to our C++14 code base and implement the ideas there. I’m not going to show you how this can be done here, as it requires some more boilerplate code to make the compiler happy – as usual.

People are going to want to see the code, otherwise, what's the point?

comment 11y ago · link · parent

Actually wouldn't be a fork. It's just an alternative Prelude library. People do this occasionally. The result tends to be idiosyncratic.
12345
30