HNHacker News
TopNewBestAskShowJobs

pbiggar

7,962 karma · joined January 26, 2009

Cofounder of Tech for Palestine (https://techforpalestine.org)

Previously founder/CTO of Dark (http://darklang.com), and founder/CEO of CircleCI (https://circleci.com). PhD in CS.

https://hachyderm.io/@paulbiggar

https://bsky.app/profile/paulbiggar.com

https://twitter.com/paulbiggar

https://blog.paulbiggar.com

Contact: paul@techforpalestine.org or paul.biggar@gmail.com

submissionscomments
pbiggar··on No-code is the future of programming. That's great news for engineers
We actually need "Just Code" tooling.

The No Code movements shines a light on how bad we let things become for programmers (and aspiring ones). Building a modern full-stack website these days involves a lot of knowledge, everything from docker to react, to how to use github, npm, vscode, the command line, etc.

No Code/Low Code recognizes that most of that is "accidental complexity", and removes it. In a sense, it really lets you focus on the actual program (the "essential complexity"), in a way that "real" coding does not.

The problem with No Code is that "code" is actually important, by which I mean functions and types and values. Things that are composable and decomposable - you can look under the covers and there's more code, or you can combine two things together to make a bigger thing. That's as opposed to "wizards", which many (not all) No Code tools are.

We can remove the accidental complexity without removing the code though. I've been referring to this idea as "Just Code", and there's a bunch of tools out there which fit the bill: Darklang (disclaimer: I work on this), Glitch, and Repl.it are the ones I know best.

pbiggar··on .NET Myths Dispelled
I don't know what this is about. There's binaries to install, packages for debian, pre-built containers, everything. I've been doing .Net for about 18 months, entirely on Mac and Linux, and everything just works.
pbiggar··on Launch HN: Optery (YC W22) – Remove your personal info from the internet
I have this problem, except that my phone number is associated with my old company. So I get dozens of spam phone calls every week from sales people believing that they are calling the switchboard for the company, and asking to be connected to some random executive.

Would Optery be able to help with that?

pbiggar··on I’m not convinced by the new lab leak debunking
Here's a rebuttal to this by one of the authors of the paper:

https://twitter.com/angie_rasmussen/status/14994061482517544...

pbiggar··on Ask HN: Easiest way to build a CRUD app?
This is what https://darklang is intended to be. I think in fairness it's not there yet (and it's also a service, so not what you want), but it's certainly fully integrated and doesn't need DBs, external SaaSes, devops, cloud expertise, etc.
pbiggar··on The time might come when we add some JSON specific command line options
TIL! Seems to be a quite confused topic as many things (it seems for example some java servers) even require it, but you do seem to be right, as JSON must always be utf8.
pbiggar··on The time might come when we add some JSON specific command line options
This is great. When a new user uses Darklang, we want them to be able to make JSON API requests quickly and easily, and there aren't great client-side tools for that that you can expect users to have installed. giving them a big long curl command is no fun, but `curl --json 'the-body' would be amazing`
pbiggar··on The time might come when we add some JSON specific command line options
You forgot `-H "Content-type: application/json; charset=utf-8"`
pbiggar··on How do you visualize code?
With Darklang we're trying to break up the "file" concept of code and organize the code as you think about the architecture (think about the diagram you would draw if you were to whiteboard the architecture to a new coder on your project).

The first version of it isn't great, but it is a bit different than the default:

https://twitter.com/tarngerine/status/1254276194402545664 https://twitter.com/_paulshen/status/1321511924807331841

Here's what we actually want it to be like though: https://twitter.com/paulbiggar/status/1322221106779049984

pbiggar··on From TypeScript to ReScript
We tried doing this with darklang. It ended up not actually working that well (it took a lot of effort to have even a few shared types), and it didn't get us very much either.
pbiggar··on From TypeScript to ReScript
In theory this is correct, but in practice Reason(ML) is dead. Or it was the last time I checked a month or two ago.

ReScript lives on though.

pbiggar··on From TypeScript to ReScript
It's because Reason and Bucklescript were two separate projects with two separate goals. The goals of Reason was to be multi-platform, which was causing lots of technical challenges for rescript, which didn't care about that need but were doing most of the work. So the two needed to split up, and no-one had ever heard of bucklescript.

Then the messaging on the name change was unclear, and the fact that Reason still exists (walking dead, but the name is still out there) made it all very unclear to everyone what was happening, and I think that caused a massive amount of damage to the momentum.

But then again, it's a great language that's moving quickly, so I expect it will continue to grow. Certainly my company is built on it.

pbiggar··on PR to Merge Multicore OCaml
But basically no one uses the object part of OCaml
pbiggar··on Professional maintainers: a wake-up call
Here's something I wrote in 2018 that could basically be the exact same thing written today: https://medium.com/@paulbiggar/how-to-fund-open-source-8790e...
pbiggar··on Bloom/Lambda School requires applying to 460 jobs before giving tuition refund
Lambda is telling people that they can make them professional programmers, so the onus is on Lambda to do that to get paid. The grad is obviously going to try to get a job, but if it's demoralizingly difficult to do so, Lambda hasn't done its job.

These stipulations are a scam.

pbiggar··on Ask HN: Advice for moving on from a failed startup?
I regularly talk to founders who are going through the process of leaving their startup, and something that always gets tricky is what happens with your vested equity. Friendships are lost over this question.

I did a bunch of research and the most common thing that happens is this:

- the departing founder reduces their ownership to 5% or less (giving the shares back to the company, even if you've vested them)

- the departing founder receives at most $25000 (depending on financial circumstances of the company).

This is typical for companies that want to stay on the startup (rocketship track). This may not be the case for your company, but either way I'd try to ensure the company is structured for the success of those who are staying there.

Some founders ask for a lot more money or they want to keep ownership of the company - both cause a lot of trouble for the company and may lead to the company dissolving (in which they get nothing). They also destroy friendships and relationships, which are valuable in the long term in tech.

pbiggar··on Why asynchronous Rust doesn't work
This was why I chose F# instead of Rust for the Darklang rewrite [1] - I just couldn't get async to work well, and the hoops and complexity I had already had to get it even close to working were way too much.

[1] https://blog.darklang.com/why-dark-didnt-choose-rust/

pbiggar··on F# 6 is officially here
F# is such a great language. It's got all the great things about Elm and OCaml (that is sum-types and immutability), except it's also got an extremely mature ecosystem (.NET) which keeps getting better and more performant.

I've been using it for a year now, after 4 years of OCaml, 2 years of Elm, and 4 years of Clojure before that. Definitely the best functional language I've used.

pbiggar··on Show HN: WebFrame: F# framework for rapid prototyping with ASP.NET Core
I tried them all, didn't like any of them.

As I recall, Suave is on its way out, and was replaced by Saturn. Saturn is built on Giraffe.

I found Saturn to be incredibly confusing because you need to understand both it and Giraffe to be able to use it.

I used Giraffe for a while, but I still needed to understand the ASP.NET middleware approach, which didn't match Giraffe's.

Also, ASP.NET has a new endpoint based routing framework which is supposed to be very fast. Giraffe has started to adopt that, but I found most of the docs refer to the old way of doing things. So although I'm using it a little bit in the code above, I found it easier to just use ASP.NET directly in most cases.

pbiggar··on Show HN: WebFrame: F# framework for rapid prototyping with ASP.NET Core
This is really nice. For comparison, this is what using ASP.NET directly in F# is like:

https://github.com/darklang/dark/blob/main/fsharp-backend/sr...

pbiggar··on Google DNS at 010.010.010.010
If you provide the GET parameter "source" (which means you try /the-url?source"), it prints a pretty-printed version of the source code.

So basically it allows the reader to read the source directly without hunting it down on github of something.

pbiggar··on Magit, the magical Git interface (2017)
There's a VSCode plugin based on magit. In my experience, it's basically identical (though occasionally a bit slow when there's lots of files).

https://marketplace.visualstudio.com/items?itemName=kahole.m...

pbiggar··on We moved from Pony to Rust
I don't agree with this at all.

While it's true that there are lots of bad libraries and many libraries are easy, you really isolate yourself from the broader ecosystem by doing this. Vendors and 3rd party solutions are now much harder to use, and when you use them you'll probably only use them at a surface level instead of using all the features.

And some things are so mature and vast you don't have a chance of building them yourself. If what you are doing can be done well in very mature ecosystems like React or PyTorch, the effort to recreate them will dwarf the time spend on important work.

pbiggar··on We moved from Pony to Rust
That was my thought (I wrote the Dark post).

It also makes me think of CircleCI where they stayed in Clojure for quite some time - it really didn't have that much need for libraries (and the ones it did need, such as AWS, were provided by Java).

When evaluating whether to use a non-mainstream language, the rule I use now is:

- will I need to interact significantly with the outside world in a way that can only be done with libraries?

- if not, do I gain a lot with this non-mainstream language?

That contrasts against how I used to do it, where I viewed it as a trade-off between the ecosystem and the advantage of the non-mainstream language.

pbiggar··on “My faith unbreakable, My blood is pure”
This is an excerpt from "I am Joaquin" [1], of which wikipedia [2] says:

> I Am Joaquin (also known as Yo soy Joaquin), by Rodolfo "Corky" Gonzales and translated by Juanita Dominguez, is a famous epic poem associated with the Chicano movement of the 1960s in the United States. In I am Joaquin, Joaquin (the narrative voice of the poem) speaks of the struggles that the Chicano people have faced in trying to achieve economic justice and equal rights in the U.S, as well as to find an identity of being part of a hybrid mestizo society. He promises that his culture will survive if all Chicano people stand proud and demand acceptance.

[1] https://www.latinamericanstudies.org/latinos/joaquin.htm

[2] https://en.wikipedia.org/wiki/I_Am_Joaquin

pbiggar··on Making bracket pair colorization faster
> Constructing or incrementally updating an AST is not cheap. In particular, most ASTs are very fragile and there are characters when inserted at the wrong position invalidate the entire AST (e.g. prepending a C-like document with `/*`). Even prepending documents with `{` could render all nodes of the AST invalid, as they might get a different meaning (a class declaration might now be parsed as block statement).

I think you have a worldview where text is being edited and ASTs are constantly being replaced via parsing.

In an AST-based language, it doesn't necessarily have meaning to add some random character at some random spot, in the way that it does with text. With text, you can only recreate the entire AST by parsing, and discover that the parse is broken.

With an AST-based language (such as https://darklang.com), the editor could inform you that that character cannot be added in that place. Or it could allow you to put it there, informing you that that particular piece of text has no valid meaning, while the rest of the AST is still valid. (Darklang uses both approaches).

pbiggar··on Making bracket pair colorization faster
My claim - which I am testing with https://darklang.com - is that code being stored as text is a source of significant friction. There are certainly trade-offs, but the value of the non-text representation is under-considered, as is the cost of the text representation.
pbiggar··on Making bracket pair colorization faster
I think people don't spend enough time thinking how many of the problems they have are caused by the fact that programming languages are just text that need to be parsed by every single tool they use. If languages were (eg) AST-based, this would be a fairly trivial problem.
pbiggar··on I'm working on open source full time
I wrote a post about this! the problem is not that there is no money, or that they don't want to donate, it's that there isn't a good way for them to donate.

https://medium.com/@paulbiggar/how-to-fund-open-source-8790e...

pbiggar··on What if Git worked with programming languages?
fwiw, this is what we do in Dark [1]. We store (serialized) ASTs, then then we pretty print them in the editor. This converts the AST into tokens that you see on your screen, complete with configurable* indentation, line-length, etc. Code would be displayed according to your config* and the same code displayed differently to a different developer looking at the same code.

[1] https://darklang.com

* I haven't actually enabled users to configure this, but it's just some variables called 'indent' and `lineLength` in the code

← PreviousPage 11 of 34Next →