HackerTrans
TopNewTrendsCommentsPastAskShowJobs

vyuh

no profile record

Submissions

Command Line Usage

tesseract-ocr.github.io
3 points·by vyuh·작년·0 comments

The Napkin Project

web.evanchen.cc
1 points·by vyuh·4년 전·0 comments

Smalltalk Tutorial

gnu.org
3 points·by vyuh·4년 전·0 comments

MathJSON data interchange format for mathematical notation

cortexjs.io
5 points·by vyuh·4년 전·0 comments

What Are Archives?

www2.archivists.org
2 points·by vyuh·4년 전·0 comments

GNU Regression, Econometrics and Time-Series Library

gretl.sourceforge.net
62 points·by vyuh·4년 전·10 comments

Literature Clock

literature-clock.jenevoldsen.com
3 points·by vyuh·5년 전·0 comments

Nb is a command line note‑taking, bookmarking, archiving, and knowledge base app

xwmx.github.io
4 points·by vyuh·5년 전·0 comments

How I Use remind(1)

blog.thechases.com
3 points·by vyuh·5년 전·0 comments

Declaring Language in HTML

w3.org
2 points·by vyuh·5년 전·0 comments

Python Notes and Examples

unexpected-vortices.com
2 points·by vyuh·5년 전·0 comments

How to Use Tcl 8.1 Internationalization Features

tcl.tk
3 points·by vyuh·5년 전·0 comments

Foreign Keys – An Introduction

gregheo.com
2 points·by vyuh·5년 전·0 comments

Covid vaccine: India gives 20M jabs in a day

bbc.com
1 points·by vyuh·5년 전·0 comments

Plain Text Journaling System

georgecoghill.wordpress.com
4 points·by vyuh·5년 전·0 comments

Pelmodoro – a Pomodoro app built with Elm

dev.to
1 points·by vyuh·5년 전·0 comments

JSON-autotype: Automatic type declaration for JSON input data

hackage.haskell.org
2 points·by vyuh·5년 전·0 comments

JSON and Algebraic Data Types

lispcast.com
2 points·by vyuh·5년 전·0 comments

Front-end web developer learning pathway

developer.mozilla.org
2 points·by vyuh·5년 전·0 comments

Building Data Science GUI Apps with PySimpleGUI

towardsdatascience.com
1 points·by vyuh·5년 전·0 comments

comments

vyuh
·4년 전·discuss
I like this idea, It'll be good to have the best of both worlds. Is there a way to optimize search engine visibility for such short urls? perhaps with a good title, meta tags having keywords etc.? Is there a HTML meta tag that gives the search engine crawlers an alternate hierarchical url for the same page? I believe setting up the server to do this is not too difficult.
vyuh
·4년 전·discuss
https://hn.algolia.com/?q=bio+chemical I think this is it. keyword: bio chemical pathway
vyuh
·5년 전·discuss
> Fast compile times: a full compiler rebuild takes ~12s (Rust: 15min, gcc: 30min+, clang: 1hr+, Go: 90s) [2].

Whoa, this really surprised me!
vyuh
·5년 전·discuss
I believe the source is https://mathwithbaddrawings.com/2015/12/16/good-mathematicia...
vyuh
·5년 전·discuss
"A good programmer uses the most powerful tool to do a job. A great programmer uses the least powerful tool that does the job." I believe this, and I always try to find the combination of simple and lightweight tools which does the job at hand correctly.

Awk sometimes proves surprisingly powerful. Just look at the concision of this awk one liner doing a fairly complex job:

    zcat large.log.gz | awk '{print $0 | "gzip -v9c > large.log-"$1"_"$2".gz"}' # Breakup compressed log by syslog date and recompress. #awksome
Taken from: https://mobile.twitter.com/climagic/status/61415389723039744...
vyuh
·5년 전·discuss
Agave[1] and Lekton[2] are among my favorite monospace fonts.

[1]: https://app.programmingfonts.org/#agave

[2]: https://app.programmingfonts.org/#lekton
vyuh
·5년 전·discuss
I think if someone implements this thing without breaking backward compatibility, then it will be valuable even as a fork of the original elm compiler. I think the License allows this.

Also, Evan has not closed this issue since 2015. Most probably it is about "too much work to get it right" rather than "I'm not convinced that we need it".
vyuh
·5년 전·discuss
Can you (or anyone) point me to the files where this `comparable` logic is implemented in elm compiler? I'll try my hand at least making Bool and Record types Comparable. Or maybe implement comparable Enumerated Type in elm which behaves mostly like custom Union Type.
vyuh
·5년 전·discuss
I am hopeful about using Flame (posted link) along with https://pursuit.purescript.org/packages/purescript-ordered-c....

Looks like purescript development requires node, purescipt compiler, and spago build tool. I have set these up. In future I'll try to learn Flame framework and then adapt my elm code to this.
vyuh
·5년 전·discuss
Elm handicaps my attempts of "making impossible states impossible" because:

- I can't have Sets of arbitrary Types they must be `comparable`. I cannot create a custom comparable type.

- Records, Bool and custom Union Types are not `comparable`

- Bool and Simple Union Types could have been comparable if their comparison worked like they were Enumerated Types. Elm does not have Enumerated types.

Basically https://github.com/elm/compiler/issues/1008 made me look for better alternatives.
vyuh
·5년 전·discuss
I agree, this can be shocking for many casual users. I think there is an option to save a "plain SVG" as opposed to "inkscape SVG". Does "plain SVG" also include such information?
vyuh
·5년 전·discuss
Examples: https://elm-visualization.netlify.app/
vyuh
·5년 전·discuss
A few months ago I tried my hand at this because it had some better defaults. Also, I didn't like camel case variables everywhere in Hugo. Then, I gave up when I realised that Zola does not even allow YAML config files. Nit picks everywhere..
vyuh
·6년 전·discuss
This is a loose transcript of presentation given at ConnectDev'16.

Video of the presentation: https://youtu.be/4ZIPijEqrNI