myguidingstar
Re:What Is Nix?
on Thursday May 21, 2020 @07:23AM (#23257093)
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
Re:What Is Nix?
on Thursday May 21, 2020 @07:19AM (#23257065)
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
Re:What Is Nix?
on Thursday May 21, 2020 @07:17AM (#23257043)
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!)
Re:What Is Nix?
on Thursday May 21, 2020 @07:12AM (#23257010)
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.
Re:Ask HN: Why GraphQL APIs but no Datalog APIs?
on Monday December 09, 2019 @11:01AM (#21743720)
> 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.
Re:Ask HN: Why GraphQL APIs but no Datalog APIs?
on Monday December 09, 2019 @10:55AM (#21743656)
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.
Re:Fulcro Developers Guide: Single-page full-stack web applications in...
on Friday March 29, 2019 @03:32PM (#19524798)
Fulcro is suitable for medium to large projects with rich data. Fulcro in the wild includes Nubank and Atlas CRM.
Re:Fulcro Developers Guide: Single-page full-stack web applications in...
on Friday March 29, 2019 @03:26PM (#19524751)
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
Re:Fulcro Developers Guide: Single-page full-stack web applications in...
on Friday March 29, 2019 @09:15AM (#19521328)
Error messages have improved since v1.10. Regarding type, Clojure offers spec.
Re:Fulcro Developers Guide: Single-page full-stack web applications in...
on Friday March 29, 2019 @09:09AM (#19521275)
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.
Re:Fulcro Developers Guide: Single-page full-stack web applications in...
on Friday March 29, 2019 @08:20AM (#19520960)
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.
Re:Ask HN: What can Amazon do to help with the plastic crisis?
on Thursday June 28, 2018 @10:03PM (#17421865)
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?
Re:The Case for Getting Rid of Borders Completely
on Monday October 19, 2015 @04:50AM (#10411833)
> 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)
Fence – effortlessly avoid extern files for JavaScript interop in Clojurescript
Miniclip: a handy tool for Web developers.
http://myguidingstar.github.com/miniclip/
I've just made Miniclip, a Linux tray app that quickly converts HTML to Jade, CSS to Stylus and JS to Coffee from clipboard. It uses html2jade, stylus and js2coffee as backend.