sudo apt update
sudo apt install build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git
sudo apt install libssl-dev libevent-dev libboost-system-dev libboost-filesystem-dev libboost-test-dev libboost-thread-dev
sudo apt install libminiupnpc-dev libzmq3-dev libsqlite3-dev
- https://github.com/lamdera/compiler
- https://github.com/rupertlssmith/lamdera-compiler/tree/exploration
- This Gist - https://gist.github.com/rupertlssmith/9405d69acdf561a8b553450f7c5651db
- Undergrad final year project. Prolog compiler to bytecode, LLVM.
- I want to learn more about the compiler code, intrigued about approach taken to extend by Lamdera.
- Get more people involved.
- No updates to Elm compiler since... Can we just use Lamdera in production instead?
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
#!/usr/bin/env python3 | |
""" | |
Codebase Chat CLI - GPU Accelerated | |
A command-line interface for interacting with codebases using local LLMs via Ollama. | |
Supports GPU acceleration for improved performance and ChromaDB for vector indexing. | |
Features: | |
- Vector index creation of source code files with ChromaDB and Ollama embeddings | |
- .codechatignore support for excluding files/folders |
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
module ModalGroup exposing (..) | |
{-| A ModalGroup is a collection of items, zero or one of which can be active at a time. | |
It is intended for modelling the behaviour of modal dialog boxes, where at most one dialog box can | |
be open at a time. | |
-} | |
import Dict exposing (Dict) |
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
program = [ comment ], [ "port" ], "module", module_name, "exposing", "(", exposed_list, ")", { import_statement }, { declaration }, { comment }; | |
module_name = identifier, { ".", identifier }, [ comment ]; | |
exposed_list = identifier | "(", identifier, { ",", identifier }, ")", [ comment ] | ".."; | |
import_statement = "import", module_name, [ import_alias ], [ "exposing", "(", exposed_list, ")" ], [ comment ]; | |
import_alias = "as", identifier, [ comment ]; | |
declaration = type_declaration | |
| type_alias_declaration |
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
Integrating Xen 4.2 AUR with Systemd. | |
================================= | |
I tested the AUR package with a fresh installation of Arch of x86_64. Only | |
packages 'base', 'base-devel'and the dependencies mentioned on the site | |
were installed. | |
* package build also requires dev86 | |
* dev86 is in multilib, x86_64 users need to enable multilib in /etc/pacman.conf | |
* users need to add a new entry to their bootloader config file (mentioned) |
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
class Resizeable extends HTMLElement { | |
constructor() { | |
super(); | |
this.resizeCallback = this.resizeCallback.bind(this); | |
this._observer = new ResizeObserver(this.resizeCallback); | |
} | |
connectedCallback() { | |
this._observer.observe(this); |
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
module Existential exposing (add, impl, init, map, wrap) | |
impl : t -> (raise -> rep -> t) | |
impl constructor = | |
\raise rep -> constructor | |
wrap : (raise -> rep -> t) -> (raise -> rep -> (t -> q)) -> (raise -> rep -> q) | |
wrap method pipeline raise rep = |
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
module DGrammar exposing (..) | |
import BoundingBox2d exposing (BoundingBox2d) | |
import Color exposing (Color) | |
import Point2d exposing (Point2d) | |
import Quantity exposing (Unitless) | |
import Vector2d exposing (Vector2d) | |
type alias DGram = |
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
module Camera2d exposing | |
( Camera2d | |
, zoomedAt | |
, origin | |
, moveTo, translateBy, translateByScreen | |
, adjustZoom, adjustZoomScreen | |
, pToScene, pToScreen, svgViewBox | |
) | |
{-| A Camera2d maps a 2d scene to a screen. |
NewerOlder