anarki
flake-utils
anarki | flake-utils | |
---|---|---|
22 | 8 | |
1,161 | 1,018 | |
0.0% | 3.1% | |
4.6 | 5.8 | |
11 months ago | about 2 months ago | |
Arc | Nix | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
anarki
- Gerbil Scheme – A Lisp for the 21st Century
-
Ask HN: Does Cloudflare block HN comments if you have code blocks in a reply?
It still is a single single-core server, dang references it frequently when there's unusually high traffic [0]. And the language you're referring to is Arc [1]. They do have caching for not-logged-in users, historically done through nginx [2]. From other comments in this thread, it sounds like they just temporarily put Cloudflare in front of that single server to block a DDoS.
[0] https://news.ycombinator.com/item?id=38310213
[1] https://arclanguage.github.io/
[2] https://news.ycombinator.com/item?id=26473226
-
Ask HN: Why isn't HN libre/FOSS?
Slashdot, reddit, and HN are similar in that the source code was available. For HN, as part of arc under the Artistic license. All 3 abandoned public source code releases.
https://sourceforge.net/projects/slashcode/
https://github.com/arclanguage/anarki
https://github.com/reddit-archive/reddit
-
Ask HN: What would it take for HN to become ActivityPub compatible?
>Where is the HN source code right now? Free and Open?
Yes and no.
HN itself is running a proprietary fork of Arc Lisp, which you can find here[0]. The Arc maintainters don't take public PRs or feature requests, and HN itself has numerous changes to the codebase which aren't public for business reasons.
There is a public fork of Arc called Anarki[1] which has no direct connection to HN or Arc Lisp, and for which the community and development is... well... anarchic.
And given the general culture here around minimalism and stasis (not wanting to introduce new features for fear of entropy that would negatively affect the signal to noise ratio and push the site towards Eternal September) chances are it's not likely to happen.
But dang's email is at the bottom of the page if you want to ask him.
[0]http://arclanguage.org/
[1]https://github.com/arclanguage/anarki
-
Ask HN: Dang, could the login page get a title?
The original version was open sourced (Perl artistic License) http://arclanguage.org/ There is an active fork in https://github.com/arclanguage/anarki but it's totally independent and the current conde in HN can be (very) different.
My guess is that it's very difficult to keep all the details of the secret sauce hidden. They change the details very often. For example the front page is ordered by points/time^1.6, but the 1.6 changes from time to time without notice (I think it was 1.8 for some time, perhaps it's 1.8 or something else now. Some people have analyzed the front page and got compatible results, but I don't remember the exponent they found and I'm too lazy to try).
-
Ask HN: Is there an open-source HN forum clone?
You might find something useful here:
https://github.com/arclanguage/anarki/tree/master/apps/news
-
Show HN: Hacker News Without News
It was published in the public version of 2009 https://github.com/arclanguage/anarki/blob/9f2e1dd53b5b66bb4... Look for "contro-factor" (i.e. controversial-factor).
This is old code, and the mods make tweaks here and there without warning, so the details may have changed. (I'm not sure if gravity changed from 1.8 to 1.6 (???).)
I didn't test it personally, but it feels like HN is using something very similar. And there are a few black box analysis of the sorting of the front page that got similar results. Also, minimaxir is the kind of person that is probably running an script to use the HN API to verify the claims.
-
Racket v. Anarki for greenfield web project?
Absolutely. It's basically the "community version" of Paul Graham's Arc.
-
RacketCon 2022
Not to mention arc/anarki (hn is/was written in arc - anarki comes with a "news" example app/forum):
https://github.com/arclanguage/anarki/tree/HEAD#readme
-
Ask HN: Any tool to look C++ interpretation template form syntax to substitution
arc [1] / racket implimentation of demystifycpp might be able to provide something 'usable' at the command line / straight up web browser html file.
[1] : https://arclanguage.github.io/
flake-utils
- Nix Flakes
-
Our Roadmap for Nix
The ‘flake-utils’ readme is a pretty good jumping off point: https://github.com/numtide/flake-utils
I have this or that nitpick with FL and FLP but overall it’s very solid stuff. FLP is a little more “magical”, and that’s not always the best starting out, but you really can’t go wrong with either.
-
Rust Environment and Docker Build with Nix Flakes
We added two inputs, the first is nixpkgs which lets us specify which version of nixpkgs we should use. There are many thousands of packages in the nixpkg repository, and they are updated often so here will use the unstable branch. We also added flake-utils which helps us generalize the flake to support multiple systems, not just Linux.
-
Getting Started Using Nix Flakes As An Elixir Development Environment
The inputs is how you can import external sources of other flakes into the flake project you have. In other words, any project you may need or tools required to get started, this is where you will define their source. Example below is using the standard nixpkgs and a tool called flake-utils, which provides a set of functions to make flake nix packages simpler to set up without external dependencies.
-
Flake equivalent to `nix-shell --pure`?
I'm not sure what nix-shell --pure does, but is it equivalent to using a flakes.nix in your projects? Ie i use https://github.com/numtide/flake-utils and direnv to replicate the old shell.nix with a Flakes setup. Per project i have a flakes.nix and a flakes.lock, so it feels just like my old shell.nix setup, but using flakes instead.
-
Workspace Management With Nix Flakes: Jupyter Notebook Example
A Nix Flake is just an object - check out those surrounding curly braces. This object has two keys, inputs and outputs. The inputs are where we define the flake's dependencies and where to find all the tools we use. This one has two, nixpkgs and flake-utils. Each of these just points to a GitHub URL, and if you follow those links, you'll see each repo provides its own flake.nix. The outputs of each remote flake get piped into the inputs of my flake, so we can use what they provide.
-
How to transition from shell.nix to flake.nix?
You can easily transition your shell.nix (and default.nix) to a flake-based one by using flake-utils and flake-compat. The former is actually unnecessary, but I would recommend it for typical project environments. Unless you have an impure dependency, this transition would be easy.
-
Is there a way to use flakes to nix run emacsgcc?
Flakes can provide different types of things: - some flakes provide applications that you can nix run, - some flakes provide functions that you can import (e.g. https://github.com/numtide/flake-utils), - some flakes provide overlays to use with nixpkgs (e.g. that emacs-overlay you posted).
What are some alternatives?
perfect-arrows - Draw perfect arrows between points and shapes.
emacs-overlay - Bleeding edge emacs overlay [maintainer=@adisbladis]
hackernews - Hacker News web site source code mirror.
flake-utils-plus - Use Nix flakes without any fluff.
renegade-way - Option Trading Application
nix-direnv - A fast, persistent use_nix/use_flake implementation for direnv [maintainer=@Mic92 / @bbenne10]
arc - Arc is an opinionated framework for defining data pipelines which are predictable, repeatable and manageable.
solana-nix - The Solana CLI tools packaged up with Nix
hnrss - Custom, realtime RSS feeds for Hacker News
nixos - A fully automated replicable nixos configuration set
nickel - Better configuration for less
nixpkgs - Nix Packages collection & NixOS