summaryrefslogtreecommitdiff
path: root/Alpha.hs
AgeCommit message (Collapse)Author
2024-04-01Add --jobs and --cpus to bildBen Sima
By default, nix will use the maximum amount of cores available to the machine. On my machine it was maxxing out the CPUs and then actually running out of RAM when compiling JavaScriptCore and literally shutting down my machine. So, I need to be able to control the concurrency and parallelism. The default settings I chose should reserve 4 cores for the user. I also changed --json to --plan because -j makes more sense for --jobs, as its used this way in other tools like make and nix-build.
2023-08-02Factor out nix builder into Haskell.nixBen Sima
This also fixed a bug where every dependency would get pulled into the Haskell target while searching for transitive dependencies.
2022-08-04Add wutbar glyph and use itBen Sima
2022-08-01Fix some lintsBen Sima
2021-11-26Factor Analysis into own moduleBen Sima
2021-11-26Upgrade to nixos-21.05Ben Sima
Getting me closer to the latest GHC. This release also includes my own packages that I submitted some time ago. GHCJS is not present in 21.05 for some reason, but I think it's back in master, so I might do another upgrade soon, but for now I just disabled my GHCJS support. I'm not really using it anyway. I also had to bring it string-quote, update nixos-mailserver, and a few other things.
2021-04-13Move joinWith to lists sectionBen Sima
2021-02-23Add repoVisibilityBen Sima
2021-02-22Add doc note about ? symbolBen Sima
2021-02-19Factor out panicsBen Sima
2021-02-19Formatting, and add a warning to 'require'Ben Sima
2021-02-17Add boolean and logging pipeline operatorsBen Sima
2021-02-03Rename double-fmap operator and remove extra commentsBen Sima
2021-01-29Lint 'return' into 'pure', replace bind operatorBen Sima
2021-01-27Set subscription in user page, operator precedenceBen Sima
I'm still working on figuring out operator precedence with my custom operators. The normal precedences don't work well for writing code in a pipeline as I like, so I have to re-define the operators with my own fixity settings. This will take some fiddling to get right. The user subscription allows setting to "Free" only now. It's fine because I still need to do a design refresh on the pages I just made. One thing I noticed is that it's getting harder to make changes without breaking stuff, so I either need to make smaller incremental changes, or actually write some real tests. I'll probably write tests soon.
2021-01-26Refactor lintBen Sima
- print results sequentially instead of all at once at the end - don't try and run all linters concurrently - filter out directories (can't lint those)
2021-01-26Add user subscription fieldBen Sima
Also improved the test situation, did some refactors, and now listing the user's past analyses on their account page.
2021-01-22Add lisp-ish list singleton functionBen Sima
2021-01-22Load Alpha in ghci startup and add pronunciationsBen Sima
2020-12-24linting fixes and cleanupBen Sima
2020-12-24hlint fixesBen Sima
Still calibrating my use of hlint.
2020-12-23Add left-compose and text wrap utilsBen Sima
2020-12-09Add Biz.Namespace libraryBen Sima
2020-12-06Add missing type signatureBen Sima
2020-12-05Renamespace Devalloc and QueBen Sima
Move them under the Biz root so that we know they are specific to Biz stuff. Biz is for proprietary stuff that we own. I also had to refactor the bild namespace parsing code because it couldn't handle a namespace with 3 parts. I really need to get that namespace library written and tested.
2020-11-30Use weekly branch names in pie, and small refactorsBen Sima
2020-11-28Enable rudimentary remote buildsBen Sima
2020-11-17Refactor bild logic a bitBen Sima
This should make it easier to add nix builds, which is the next task. I need to move some files and nix code around so that I have e.g. Que/Prod.nix as the actual full 'build.os' expression.
2020-10-19Remove $ from AlphaBen Sima
2020-07-25bild: support incremental compilationBen Sima
Closes https://github.com/bsima/biz/issues/9
2020-07-25bild: port to haskellBen Sima
2020-07-12hero: move CanSnakeCase to AlphaBen Sima
2020-06-02Initialize Hero databaseBen Sima
2020-04-26don't lolBen Sima
2020-04-15Lint fixes, also delete Biz.LanguageBen Sima
2020-04-15ReformattingBen Sima
Now I'm using ormolu instead of brittany for Haskell formatting now. Figured I should just make all of these big changes at once.
2020-04-12De-namespace AlphaBen Sima
A bunch of formatting changes got in there too. Oops. I will probably eventually de-namespace everything, mostly because I'm tired of typing "Com.Whatever.Thing" all the time. A better namespacing strategy might be to use normal Haskell namespacing (Data, Control, Network, etc) for code that is not specific to biz activities (i.e. if I could open-source it at any time), and use simply "Biz" for stuff that I would never want to open-source.