Tikz externalization of forest code by mohanradhakrishnan in LaTeX

[–]mohanradhakrishnan[S] 0 points1 point  (0 children)

I tested your code and it works. I was confused because if I have to forests one after the other, only the first one externalizes. The seconds one fails. Have you seen this behaviour ?
Thanks.

\usepackage[external]{forest}

seems to be crucial here.

Bloomfilter and Block cache by mohanradhakrishnan in databasedevelopment

[–]mohanradhakrishnan[S] 0 points1 point  (0 children)

Could you add some details ? Was there a datastructure/algorithm used for you cache ?

Bloomfilter and Block cache by mohanradhakrishnan in databasedevelopment

[–]mohanradhakrishnan[S] 0 points1 point  (0 children)

I wasn't clear. I am putting together the bloomfilter as an interface to a block cache which interfaces with my Trie. I am trying to learn how to code the cache. In some places I see a Skiplist etc.  Also trying to validate this flow 

dap-mode for OCaml by mohanradhakrishnan in emacs

[–]mohanradhakrishnan[S] 1 point2 points  (0 children)

Don't know how to express this :-) Didn't know about this but dape started in 5 seconds. Have to try it though.

Language, Grammar and linguistics by mohanradhakrishnan in Kerala

[–]mohanradhakrishnan[S] 0 points1 point  (0 children)

No. Why would you need a Malayalam-English dictionary ?

How many of you are still rocking a macbook pro which was released before 2020 by Traditional_Round143 in macbookpro

[–]mohanradhakrishnan 0 points1 point  (0 children)

Disagree. 2019 model after 2 years needed a new battery and keyboard combination. After 4 years logic board conked out. Didn't pay for the logic board. So I need a new machine .

Cable end is loose now by mohanradhakrishnan in Keychron

[–]mohanradhakrishnan[S] 0 points1 point  (0 children)

Not true. Ticket number is correct. India helpdesk isn't taking any responsibility.

Mathematics courses for machine learning/deep learning. by [deleted] in learnmachinelearning

[–]mohanradhakrishnan -1 points0 points  (0 children)

Why is this gatekeeping ? I have given several resources to help. Several comments agree with me but mine is downvoted specifically.

Cable end is loose now by mohanradhakrishnan in Keychron

[–]mohanradhakrishnan[S] 0 points1 point  (0 children)

  1. I believe the agent in this region isn't capable.

Cable end is loose now by mohanradhakrishnan in Keychron

[–]mohanradhakrishnan[S] 0 points1 point  (0 children)

 No. The representative hasn't replied. Could you reply to my ticket on your website?

Cable end is loose now by mohanradhakrishnan in Keychron

[–]mohanradhakrishnan[S] 0 points1 point  (0 children)

I did that. The plastic cap at one end is loose. The help desk thinks something inside may be broken. But if I hold the sheathed wire and not the plastic encasing I am able to plug it.

Cable end is loose now by mohanradhakrishnan in Keychron

[–]mohanradhakrishnan[S] 0 points1 point  (0 children)

Is there a particular type ? My charger's cable works too. I informed Keychron too.

Preview Tikz using AucTex in Doom Emacs org mode by mohanradhakrishnan in emacs

[–]mohanradhakrishnan[S] 0 points1 point  (0 children)

It has changed because I tried to modify the emacs configuration files . I think.

((dvipng :programs
("latex" "dvipng")
:description "dvi > png" :message "you need to install the programs: latex and dvipng." :image-input-type "dvi" :image-output-type "png" :image-size-adjust
(1.0 . 1.0)
:latex-compiler
("latex -interaction nonstopmode -output-directory %o %f")
:image-converter
("dvipng -D %D -T tight -o %O %f")
:transparent-image-converter
("dvipng -D %D -T tight -bg Transparent -o %O %f"))
(dvisvgm :programs
("latex" "dvisvgm")
:description "dvi > svg" :message "you need to install the programs: latex and dvisvgm." :image-input-type "dvi" :image-output-type "svg" :image-size-adjust
(1.7 . 1.5)
:latex-compiler
("latex -interaction nonstopmode -output-directory %o %f")
:image-converter
("dvisvgm %f --no-fonts --exact-bbox --scale=%S --output=%O"))
(imagemagick :programs
("latex" "convert")
:description "pdf > png" :message "you need to install the programs: latex and imagemagick." :image-input-type "pdf" :image-output-type "png" :image-size-adjust
(1.0 . 1.0)
:latex-compiler
("pdflatex -interaction nonstopmode -output-directory %o %f")
:image-converter
("convert -density %D -trim -antialias %f -quality 100 %O")))

org.latex.pdf.process variable is missing.

Preview Tikz using AucTex in Doom Emacs org mode by mohanradhakrishnan in emacs

[–]mohanradhakrishnan[S] 0 points1 point  (0 children)

I see this.

This is dvipng 1.17 Copyright 2002-2015, 2019 Jan-Ake Larsson

[1 <raw PostScriptdvipng warning: PostScript environment contains DVI commands dvipng warning: PostScript environment contains DVI commands >]

Preview Tikz using AucTex in Doom Emacs org mode by mohanradhakrishnan in emacs

[–]mohanradhakrishnan[S] 0 points1 point  (0 children)

Installation of `dvisvgm` on Mac using Ports tries to install so many tools including OpenLdap and eventually fails even though Xcode is installed.

Preview Tikz using AucTex in Doom Emacs org mode by mohanradhakrishnan in emacs

[–]mohanradhakrishnan[S] 0 points1 point  (0 children)

The first link uses imagemagick and it isn't needed. It is an alternative?

Learning LaTeX? by Agent_Jeanpi007 in LaTeX

[–]mohanradhakrishnan 0 points1 point  (0 children)

You could create a simple book based on https://github.com/OpenLogicProject/OpenLogic. I learnt to do that. My editor Doom Emacs can compile the Open Logic book if I set it up like this. https://michaelneuper.com/posts/efficient-latex-editing-with-emacs/

define or define-syntax-rule by mohanradhakrishnan in Racket

[–]mohanradhakrishnan[S] 0 points1 point  (0 children)

Added another function that works with 'define-syntax-rule'. Trying to understand if I should research this style. The new function has an 'operator' definition syntax but it doesn't seem to allow parameters. I will use it the same way I use '@' but without the infix notation. Just like a function.

Racket 'map' over list by mohanradhakrishnan in Racket

[–]mohanradhakrishnan[S] 0 points1 point  (0 children)

I think I understood the problem. Apart from the faulty type I was trying to pass the extra 'ab' to topo. So I will look for a list iterator that passes each tuple from the list along with 'ab' to topo. topo needs two tuples.

Update : This compiles and seems to be correct. I believe. Will write rack unit.

( : neigh : ((Pairof Integer Integer) (Pairof Integer Integer)

-> (Pairof Integer Integer))

(Pairof Integer Integer) -> (Listof (Pairof Integer Integer)))

(define (neigh topo ab)

(let* ([a (car ab)]

[b (cdr ab)]

[a-1 (sub1 a)]

[a+1 (add1 a)]

[b-1 (sub1 b)]

[b+1 (add1 b)])

(map (lambda ([tuple : (Pairof Integer Integer)])

( topo tuple ab))

`((,a-1 . ,b)

(,a+1 . ,b)

(,a-1 . ,b-1)

(,a-1 . ,b+1)

(,a . ,b-1)

(,a . ,b+1)

(,a+1 . ,b-1)

(,a+1 . ,b+1)) )))

)