Here's a simple and complete benchmark, measuring the performance of
the ever-ridiculous fib
function.
import Criterion.Main
-- The function we're benchmarking.
fib m | m < 0 = error "negative!"
Suggestions for Improvement
Add a Short Intro/Overview
Begin with a short summary paragraph highlighting the key themes (e.g., “This release brings support for Windows AArch64, improvements to the REPL workflow, and several bug fixes and user experience enhancements. Some breaking changes require action—see the migration guide below.”).
Consistent Section Naming and Formatting
Use consistent headers: Sometimes “changelog and release notes,” other times just “changelog.” For user-friendliness, consider “Breaking Changes,” “New Features,” “Improvements,” and “Bug Fixes” as headings, or similar.
❯ /run/current-system/sw/bin/curl --config - 'https://hackage.haskell.org/package/ale | |
x-meta-0.3.0.14/candidate/docs' --request PUT --data-binary '@/home/artem/tmp/BNFC-me | |
ta/dist-newstyle/alex-meta-0.3.0.14-docs.tar.gz' --write-out '%{http_code}' --user-ag | |
ent 'cabal-install/3.15.0.0 (linux; x86_64)' --silent --show-error --location --heade | |
r 'Accept: text/plain' --header 'Content-Type: application/x-tar' --header 'Content-E | |
ncoding: gzip' -v | |
--anyauth | |
--user ArtemPelenitsyn:<my password> | |
* Host hackage.haskell.org:443 was resolved. | |
* IPv6: (none) |
- https://github.com/haskell/cabal/pull/9466 | |
- https://github.com/haskell/cabal/pull/9468 | |
- https://github.com/haskell/cabal/pull/9505 | |
- https://github.com/haskell/cabal/pull/9518 | |
- https://github.com/haskell/cabal/pull/9565 | |
- https://github.com/haskell/cabal/pull/9578 | |
- https://github.com/haskell/cabal/pull/9583 | |
- https://github.com/haskell/cabal/pull/9610 | |
- https://github.com/haskell/cabal/pull/9671 | |
- https://github.com/haskell/cabal/pull/9701 |
%% | |
%% This is file `newlfm.cls', | |
%% generated with the docstrip utility. | |
%% | |
%% The original source files were: | |
%% | |
%% newlfm.dtx (with options: `package') | |
%% | |
%% \iffalse meta-comment | |
%% \CharacterTable |
artem in prl-julia in ~/Temp/pandoc-2.19.2 took 18m52s | |
❯ dr-cabal profile --input=dr-cabal-debug.json 0 (18:52.487) < 21:47:28 | |
Legend | |
▇ Downloading | |
▇ Starting | |
▇ Building | |
▇ Haddock | |
▇ Installing | |
Summary |
Бесплатный VPN это OK? VPN бывают платные и бесплатные. Платные обычно ОК (мошенники бывают в любом бизнесе, конечно).
Бесплатные в ряде случаев не ОК: они могут питаться вашими данными (продавать их третьим лицам) или того хуже майнить биткоин (не уверен, что кто-то это реально делает, но вдруг).
❯ cabal clean && cabal build clc-stackage --with-compiler=/home/artem/data/ghc/remove-st-fail/_build/stage1/bin/ghc | |
Resolving dependencies... | |
Build profile: -w ghc-9.0.1 -O1 | |
In order, the following will be built (use -v for more details): | |
- OpenGLRaw-3.3.4.1 (lib) (requires build) | |
- bindings-GLFW-3.3.2.0 (lib) (requires build) | |
- bson-0.4.0.1 (lib) (requires build) | |
- double-conversion-2.0.2.0 (lib) (first run) | |
- fgl-5.7.0.3 (lib) (first run) | |
- justified-containers-0.3.0.0 (lib) (requires build) |
waymonad-L-as on master via ❄️ impure (ghc-shell-for-packages-0) | |
❯ cabal repl | |
Resolving dependencies... | |
Build profile: -w ghc-8.10.4 -O1 | |
In order, the following will be built (use -v for more details): | |
- hayland-0.1.1.0 (lib) (first run) | |
- hsc2hs-0.68.7 (exe:hsc2hs) (requires build) | |
- hsroots-0.1.0.0 (lib) (first run) | |
- network-3.1.2.1 (lib:network) (requires download & build) | |
- waymonad-scanner-0.1.0.0 (lib) (first run) |
# Edit this configuration file to define what should be installed on | |
# your system. Help is available in the configuration.nix(5) man page | |
# and in the NixOS manual (accessible by running ‘nixos-help’). | |
{ config, pkgs, lib, ... }: | |
let | |
nvidia-offload = pkgs.writeShellScriptBin "nvidia-offload" '' | |
export __NV_PRIME_RENDER_OFFLOAD=1 | |
export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 |