- leverage the type system
- move constraints upstream
- parse don't validate
- make invalid states unrepresentable
- type-driven dev
- hexagonal architecture of sorts
- DTOs / DAOs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2026-07-04T19:16:16.081 helix_lsp::transport [INFO] ocamllsp -> {"jsonrpc":"2.0","method":"ocamllsp/typeSearch","params":{"doc_format":"","limit":10,"position":366,"query":"Db.task","textDocument":"<redacted>/lib/render.ml","with_doc":false},"id":1} | |
| 2026-07-04T19:16:16.082 helix_lsp::transport [INFO] ocamllsp <- {"id":1,"jsonrpc":"2.0","error":{"data":{"exn":"Ppx_yojson_conv_lib__Yojson_conv.Of_yojson_error(_, _)","backtrace":"Raised at Ppx_yojson_conv_lib__Yojson_conv.of_yojson_error in file \"yojson_conv.ml\", line 57, characters 34-80\nCalled from Lsp__Types.TextDocumentPositionParams.t_of_yojson.(fun).iter in file \"lsp/src/types.ml\", line 50269, characters 30-64\nCalled from Lsp__Types.TextDocumentPositionParams.t_of_yojson.(fun) in file \"lsp/src/types.ml\", line 50284, characters 7-25\nCalled from Ocaml_lsp_server__Req_type_search.TypeSearchParams.t_of_yojson in file \"ocaml-lsp-server/src/custom_requests/req_type_search.ml\", line 19, characters 31-84\nCalled from Ocaml_lsp_server__Req_type_search.on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Repo: https://github.com/divarvel/homepage | |
| build script: https://github.com/divarvel/homepage/blob/main/statichost_build.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| open Vif | |
| module Reduction = struct | |
| type t = Standard | |
| let assoc = [ ("STANDARD", Standard) ] | |
| let jsont = Jsont.enum ~kind:"Reduction" assoc | |
| end | |
| module Country = struct |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| title: "Bon c’est bien joli vos technos de hipster, mais moi je fais de la prod" | |
| #display-notes: true | |
| #light: true | |
| #ratio43: true | |
| overlay: "@clementd" | |
| author: | |
| - name: Clément Delafargue | |
| desc: | |
| - Software developer at <a href="https://datadoghq.com">Datadog</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "Iris Rev. 7", | |
| "vendorProductId": 3406852694, | |
| "macros": ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], | |
| "layers": [ | |
| [ | |
| "KC_MUTE", | |
| "KC_1", | |
| "KC_2", | |
| "KC_3", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| theme = "tokyonight_storm" | |
| [editor] | |
| rulers = [80,120] | |
| auto-format = true | |
| whitespace.render = "all" | |
| file-picker.hidden = false | |
| soft-wrap.enable = true | |
| soft-wrap.wrap-at-text-width = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # http://https://datalog-biscuit-lang.org | |
| # ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ | |
| # Detection | |
| # ‾‾‾‾‾‾‾‾‾ | |
| hook global BufCreate .*\.biscuit-datalog %{ | |
| set-option buffer filetype biscuitdl | |
| } |
+++ title = "Biscuit 3.0" description = "Version 3.0.0 of the biscuit reference implementation has been released" date = 2023-03-29T00:09:00+02:00 draft = false template = "blog/page.html"
[taxonomies] authors = ["clementd"]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {Biscuit, Authorizer} from '@biscuit-auth/biscuit-wasm'; | |
| export function middleware(pubkey) { | |
| return function(mkAuthorizer) { | |
| return function(req, res, next) { | |
| if(req.query.token) { | |
| let parsed; | |
| try { | |
| let authorizer; | |
| if(typeof mkAuthorizer === "function") { |
NewerOlder