Better HN
topnewbestaskshowjobs
Log inSign up

myguidingstar

28 karma · joined Dec 3, 2012 (13y ago) · 18 submissions

Submissions

comment 6y ago · link · parent

you can always find examples to learn from in nixpkgs git repo. If the package can build from source, look at other package with similar dependencies. If the package is binary distribution (eg closed source), follow this guide: https://nixos.wiki/wiki/Packaging/Binaries

comment 6y ago · link · parent

from now on every new machines will be easily replicated with configs from older machines: copy the config file over, type one command and let nix does the rest

comment 6y ago · link · parent

nix is the solution. It's totally different from any random packager you've seen. It goes the reversed direction of abstracting dependencies away: it makes dependencies explicit (and reproducible!)

comment 6y ago · link · parent

yes, it's included. Nix config files will automatically generate and run services. There's also Nixops which is a tool to push these config to remote machines ie cloud vms.

comment 6y ago · link · parent

> This is actually fairly common in Clojure annd Clojure script. Sometimes using the Datomic DB as a backend for it. What do you mean by "this" which is fairly common? Datascript is a Datalog implementation, however you can't just bring your query from backend to frontend, not only for incompatiblity but also for security issues. And Datascript is not that popular among Clojurescript apps.

Fulcro is defintely the go to framework. It makes use of EQL, which is a superior alternate to Graphql, for server-client communication.

comment 6y ago · link · parent

EQL is surely a great alternative to Graphql because of namespaced keywords and rich data structure (in contrast of Graphql's string base). It is also inspired by Datomic's Pull API. However, it's a specification and the most popular imlementation (Pathom) has nothing to do with Datalog.

comment 7y ago · link · parent

Fulcro is suitable for medium to large projects with rich data. Fulcro in the wild includes Nubank and Atlas CRM.

comment 7y ago · link · parent

Fulcro can be too sizable to consume in one bite, most importantly the three core concepts (ident, query, state). Personally I find it useful to start with just EQL which is an Clojure native alternate to Graphql. In fact, Fulcro's predecessor, the famous Om.next was inspired by Graphql. Introduction by Wilker Lucio https://www.youtube.com/watch?v=yyVKf2U8YVg

comment 7y ago · link · parent

Error messages have improved since v1.10. Regarding type, Clojure offers spec.

comment 7y ago · link · parent

Coast is a framework that focus on traditional server app and rapid development similar to Rails or Django. I don't find it "modern" tbh.

comment 7y ago · link · parent

Yeah, long require forms, long namespace keywords, protocol methods... but they are all necessary so Fulcro can figure out a lot of things itself. It pays off really well because things that are often hard in other frameworks such as forms and server-client communication suddenly become easy as a result.

comment 8y ago · link · parent

I just think Amazon has a really good position for that. What are viable policies and technologies it can use to solve the plastic problem?

13.

Ask HN: What can Amazon do to help with the plastic crisis?

1 points · by myguidingstar · 8y ago · 2 comments

comment 11y ago · link · parent

> It allows nations with crappy social and political systems to undermine labor welfare and protection policies in better political systems without facing repercussions for it. what about the education and raising cost the country of arrival doesn't have to pay because the country of origin did? what about the laymen who undermine social security b/c they don't have competition from immigrants? (I'm just trying to use the same logic to show your argument is incomplete. Researches on free money experiments are showing otherwise)

15.

Fence – effortlessly avoid extern files for JavaScript interop in Clojurescript(github.com ↗)

2 points · by myguidingstar · 12y ago · discuss

16.

Miniclip: a handy tool for Web developers.(myguidingstar.github.com ↗)

1 points · by myguidingstar · 13y ago · 1 comment