HackerTrans
TopNewTrendsCommentsPastAskShowJobs

isaac21259

no profile record

Submissions

Data Types with Negation

bentnib.org
8 points·by isaac21259·3 anni fa·1 comments

Teaching GHC to Play Minesweeper

github.com
1 points·by isaac21259·4 anni fa·0 comments

Switching to the meow modal editing system

esrh.me
2 points·by isaac21259·4 anni fa·0 comments

[untitled]

1 points·by isaac21259·4 anni fa·0 comments

Profunctor Optics: The Categorical View

golem.ph.utexas.edu
1 points·by isaac21259·4 anni fa·0 comments

How to lie using visual proofs

youtube.com
4 points·by isaac21259·4 anni fa·0 comments

Löb and möb: strange loops in Haskell

github.com
4 points·by isaac21259·4 anni fa·0 comments

Löb's Theorem

ncatlab.org
2 points·by isaac21259·4 anni fa·0 comments

Can one explain schemes to biologists

dam.brown.edu
1 points·by isaac21259·4 anni fa·0 comments

(call/cc call/cc) and friends

pavpanchekha.com
15 points·by isaac21259·4 anni fa·1 comments

Swift type checking is undecidable

forums.swift.org
3 points·by isaac21259·4 anni fa·0 comments

Surprises in Logic

math.ucr.edu
51 points·by isaac21259·4 anni fa·5 comments

Base 2048

github.com
96 points·by isaac21259·4 anni fa·39 comments

Renormalizing the Mandelbrot Escape

linas.org
2 points·by isaac21259·4 anni fa·0 comments

The Tardis Monad

hackage.haskell.org
45 points·by isaac21259·4 anni fa·9 comments

Hexagonal Grids

redblobgames.com
48 points·by isaac21259·4 anni fa·0 comments

The Email Servers and Superseeker

oeis.org
5 points·by isaac21259·4 anni fa·1 comments

I gave a worksheet that was “critique these bad 'disproofs' on Hacker News”

twitter.com
6 points·by isaac21259·4 anni fa·0 comments

Ask HN: What is the simplest way for users to write custom parsers?

2 points·by isaac21259·4 anni fa·2 comments

Airdropping Live Fish

hackaday.com
2 points·by isaac21259·5 anni fa·1 comments

comments

isaac21259
·4 anni fa·discuss
I was considering this for my programming language but I will most likely not use it because it makes optimisations and garbage collection harder, and the C would not be human readable (just look at the output of the chicken compiler for an example) so there's not a huge benefit. C-- could be an option but it isn't very active or well used.

In terms of relying on tested and supported infrastructure lots of these projects use llvm.
isaac21259
·4 anni fa·discuss
Exponentials come up quite naturally from differential equations because it's often suprisingly useful to talk about something's rate of change in terms of itself. As far as I know there's no similar connection with tetration.
isaac21259
·4 anni fa·discuss
To clarify where I live limits are introduced in high school, irrational numbers just much earlier.
isaac21259
·4 anni fa·discuss
That's a pretty far departure from the original "multiplication is just repeated addition". Regardless, I don't think any student would find it helpful to hear "Multiplying two real numbers is simply taking the limit of a sequence of multiplications between rational numbers that converge to the two real ones". In my country irrational numbers are introduced two or three years before limits so you couldn't teach it in schools effectively either.
isaac21259
·4 anni fa·discuss
What about irrational numbers? There's no neat way to view multiplication of two irrational numbers as repeated addition. And even if there were a way I don't think it's a useful way to think or teach after the first couple years because it makes obvious things like √2×√2 = 2 seem weird and mysterious.
isaac21259
·4 anni fa·discuss
Dependent type systems don't deal well with non termination. In general you can't prove a program will or won't terminate. The solution is to disallow recursion except through a few eliminators which do recursion in a well founded way that is guaranteed to halt.

The reason they don't work well with recursion is you could have something like: false :: _|_ false = false

Where false is a function we are defining of the uninhabited type.

For more complicated versions stuff like this see Girard's paradox.
isaac21259
·4 anni fa·discuss
The Little Typer by Daniel P. Friedman and David Thrane Christianse. It's basically one long book of examples building on each other to show the semantics of a dependently typed programming language. It inspired me to learn some type theory and made me interested in mathematical logic more generally.
isaac21259
·4 anni fa·discuss
Se also: https://tech-blog.capital-match.com/posts/5-the-reverse-stat...
isaac21259
·4 anni fa·discuss
Everyone here has been talking about how blog comments add little value. On many blogs they are right. But John D Cook's blog regularly has interesting comments, some of which he'll make posts addressing later. Maybe it's because he has a bigger blog or maybe it's something else but blog comments are capable of adding a lot of value.
isaac21259
·4 anni fa·discuss
I was also considering writing some introductory stuff about HoTT but I don't think it's possible to avoid talking about topology, homotopy theory, and category theory in depth like you can with, say Haskell and category theory. This is because the stuff that makes HoTT so cool cannot be separated from it's mathematical foundations. How would you explain truncated types without going fairly deep into the math? Or the circle type? Sure both of these could be explained as instances of higher inductive types but that explanation is missing a lot.
isaac21259
·4 anni fa·discuss
Curious how approachable you think homotopy type theory is to people who think they know better than researchers? Simple type systems would be understandable (Haskell has type systems similar to System F and rust has an affine your system) but if anything being a programmer may add obstacles to understand HoTT since programmers (generally) have never had the opportunity to learn topology or anything else that HoTT builds on. Also not everything in HoTT has a clear computational interpretation, notably the univalence axiom.

That said I encourage everyone who's interested to investigate this but I don't think it's realistic without having a solid foundation in mathematics.

(And I also agree with the sibling comment that HoTT isn't really used as a foundation of mathematics.)
isaac21259
·4 anni fa·discuss
[1] Is what (I believe) they were talking about. Rather than configuring these in a sane way you just scan configuration barcodes. I didn't see anything on the list that was too dangerous but you could change the maximum input length or allow full ASCII encoding which could be dangerous if the programmers assumed that the barcode reader returns a fixed length string of numbers.

[1] https://cdn.sparkfun.com/assets/b/5/0/e/e/DY_Scan_Setting_Ma...
isaac21259
·4 anni fa·discuss
Do you think a significant amount of people who want to run Linux will want it preinstalled for them?
isaac21259
·4 anni fa·discuss
I would assume that it manages it the same way every other impure functional language manages side effects. I assume common lisp would be quite similar to ML, Ocaml, and Scheme in the way it manages side effects. Those languages don't make side effects part of their type system and more or less leave it up to the programmer to not make mistakes. Note that I've never done anything of significance in common lisp so this is just a best guess.
isaac21259
·5 anni fa·discuss
I believe this is basically what programming with APL looks like.
isaac21259
·5 anni fa·discuss
Definitely possible. Steam had something similar a while back caused by caching issues [1]. I have no idea about Facebook specifically though.

[1] https://www.forbes.com/sites/insertcoin/2015/12/25/steam-is-...
isaac21259
·5 anni fa·discuss
Have you considered nix os? I personally don't use it but I think it could fulfill your needs. You could have a work user with the home directory encrypted and a seperate personal user. Then you can install packages in a user independent way and you won't have any cross over between your users.