Better HN
topnewbestaskshowjobs
Log inSign up

cgrand-net

225 karma · joined Oct 2, 2009 (17y ago) · 85 submissions

Submissions

comment 2y ago · link · parent

Hi, ClojureDart co-author here. Join us on #clojuredart of the Clojurians slack, we will help. Can code in `celest/functions` import from lib? We cou

comment 2y ago · link · parent

I can’t speak for web but mobile apps written in Flutter are accessible https://docs.flutter.dev/ui/accessibility-and-internationali....

comment 3y ago · link · parent

Not yet but we are working on it. Sponsor ClojureDart to make it happen sooner! https://github.com/tensegritics/ClojureDart

comment 3y ago · link · parent

The algorithm exposed in the article would be better served by a Stern-Brocot than average + jitter.

comment 4y ago · link · parent

ClojureDart co-author here. It happens in Dart too. Some changes are not compatible with the current application state. It may occur a bit more frequently because of Clojure being less stringent than dart about giving names to everything (which is tedious but definitely helps with hotreloading).

comment 6y ago · link · parent

It’s also a matter of habit. We are just too used to English words even when French ones exist. Go try and read Principes d’Implantation (sic) de Scheme et Lisp (the original Lisp In Small Pieces): pure unadulterated French and, to me, a constant struggle as I have to translate expressions to English!

comment 6y ago · link · parent

My bank used to reject scans but accept faxes... bureaucratic reasons.

comment 6y ago · link · parent

That’s it: required courses (20h).

comment 7y ago · link · parent

> "This scene on the other side is shown solely for presentation and was not used for identification". Why not show the actual footage of the experiment?

My understanding is that the video on the left (the one showing the other side of the wall) is just here to illustrate what's the wifi setup senses and was not used for identification as the whole point is to identify without (optically) seeing what's on the other side.

comment 7y ago · link · parent

Similar work: “CurviSlicer: Slightly curved slicing for 3-axis printers” presented at this year’s SIGGRAPH https://hal.archives-ouvertes.fr/hal-02120033/document

comment 7y ago · link · parent

UNKNOWN or TRUE is TRUE

comment 7y ago · link · parent

Stern Brocot is a better way to do fractional indexing (pathological cases are not aligned with common uses cases like putting something to the front).

https://en.m.wikipedia.org/wiki/Stern%E2%80%93Brocot_tree?wp...

comment 7y ago · link · parent

Datalog is the safe subset of Prolog. http://abiteboul.blogspot.com/2012/08/datalog-revival-for-da...

comment 7y ago · link · parent

I would argue that lambda calculus without pervasive lazy evaluation is not lambda calculus. Lisps in general don’t have it (unlike Haskell) and make them not so removed from hardware (once hardware stacks were added to CPUs). For long Lisps didn’t even have lexical closures!

comment 7y ago · link · parent

No, it's hierarchical (because we nest collection types) vs relational.

comment 7y ago · link · parent

Isn’t it a fix point rather?

comment 7y ago · link · parent

A Datalog program is guaranteed to terminate (if finite databases). A prolog or miniKanren one doesn’t. Datalog is not Turing-complete.

comment 7y ago · link · parent

I don't know if letters can be considered as gendered. Anyway, there are some feminine nouns: Lua (moon, feminine in Portuguese), Cassandra, Miranda, MariaDB, Clara Rules (off the top of my head too).

comment 7y ago · link · parent

> The truth is that accidents like this can never be cleaned up or salvaged.

While global warming is easily solved.

Coal or nuclear are both bad but differently. Which one is less bad depends on your risk model

comment 7y ago · link · parent

Yes, "roman graphique" is a rather recent term (whose usage has slowly grown over the last 15 years, generally applied to BDs with more "serious" topics; it allowed some people to say they don't read plebeian BDs, they read romans graphiques).

Speaking of broadening people conception of BDs, I highly recommend people to have a look at La Revue Dessinée, a quarterly news magazine in BD https://www.larevuedessinee.fr

comment 7y ago · link · parent

Not all Europe, only in: Magyarország Česko Slovensko România Polska Hrvatska Србија Slovenija Македонија Montenegro България Bosna

comment 7y ago · link · parent

Sort of.

First, conses are mutable so lists are persistent as long as they are used in a persistent way -- it has to be enforced through the codebase (and deps).

Second, lists big-O access/update costs are not as interesting as persistent maps and vectors.

comment 7y ago · link · parent

Perfect information and unlimited computing power.

comment 7y ago · link · parent

According to "An Association Between the Kinship and Fertility of Human Couple" (http://science.sciencemag.org/content/319/5864/813.long), third (or fourth) cousins have optimal reproductive success. Reproductive success is not just the number of children (because 1st or 2nd cousins couples tend to have more children but with associated health and/or reproductive problems), but the whole descendance.

comment 8y ago · link · parent

A Theory of Changes for Higher-Order Languages - Incrementalizing λ-Calculi by Static Differentiation

> [...] We present a program transformation taking programs to their derivatives, which is fully static and automatic, supports first-class functions, and produces derivatives amenable to standard optimization.

https://arxiv.org/abs/1312.0658

comment 8y ago · link · parent

Flatten is a steam-roller and should be used wisely: it recursively flatten a sequential collection. Most of the time this is not what you want. Most of the rest of the time when you think that’s what you want it’s a code smell telling you that the shape of your items has gone out of control. And there’s the rare occurrence where you can really use it.

comment 8y ago · link · parent

"Now I understand that rdi, rsi, etc. are nothing but compressed node identifiers in an interference graph. Ideally we'd have infinite registers: each instruction would read from previous registers and output to a new register. And so we would never reuse any register, and there'd be no data hazards"

I'm under the impression that we don't see the causality flowing in the same direction.

To me we first had a limited set of registers (imposed by the ISA), then to get better perf through out of order execution, cpus had to infer a deps graph and use register renaming.

Ironically all this silicon is spent to recover information that was known to the compiler (eg through SSA) and lost during codegen (register allocation).

comment 8y ago · link · parent

Not necessarily. One can use tabling (memoization) to prevent that.

Also sometimes reordering clauses in the body of a rule is enough to avoid infinite runtime.

Datalog (or SQL + recursive CTE) don't have this problem.

Mozart/Oz or Alice allow to specify the search strategy.

comment 8y ago · link · parent

>> Sure you can

The author spent decades on Datalog and when he says Datalog he talks about the core Datalog not even Datalog¬, he is just stating that the core Datalog is a wonderful seed for building actual applications by extending it.

123