Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
okaleniuk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
okaleniuk
2y ago
I also played with the same idea some time ago: https://github.com/akalenuk/fakelisp I ended up using tuples instead of lists for cosmetic purposes :-) My Fakelisp then looks like this: from fakelisp import *
62.
▲
by
okaleniuk
2y ago
I think, this is a step forward. I got used to real-time version tracking when I was working on a book. The publisher insisted that the working files are kept in the Box folder (like a DropBox, or any other cloud-shmoud synchronized storage
63.
▲
by
okaleniuk
2y ago
Sure! https://github.com/akalenuk/mesh-experiments/blob/master/eq/... It's not even a particularly large system. Only 6 linear equations.
64.
▲
by
okaleniuk
2y ago
There is a missing variable declaration in the Colab playground. y = Expression.var('y') e = 1/(x*y+1) e = e.derivative(x) md(e.to_latex()) I suppose, the first line should be: x, y = Expression.var
65.
▲
by
okaleniuk
2y ago
There is also a linear solver in the Matrix.
66.
▲
by
okaleniuk
2y ago
The most obvious use case is to see that the expression does not simplify well and is inherently huge :-)
67.
▲
by
okaleniuk
2y ago
Can confirm, it is fast. I've been struggling with a plane equation for a plane based on isotropic segments. 3 segments, 3 complex points - only 6 equations. Almost every CAS can solve the system per se fast, it's the simplificati
68.
▲
by
okaleniuk
2y ago
Good point. Why not? I'll add them.
69.
▲
by
okaleniuk
2y ago
Yep, there is a square in the source: // interpolation/extrapolation with no basis functions var weight2d1 = 2; const wf2d1 = function(x) {return 1./Math.pow(x, weight2d1);}
70.
▲
by
okaleniuk
2y ago
Oh, it seems that a square fell off. It should have been 1/x^2. 1/x works fine for bitmaps, but in 1-dimensional case 1/x indeed turns the whole thing into linear interpolation, you're right.
71.
▲
A smooth and sharp image interpolation you probably haven't heard of
(wordsandbuttons.online)
102 points
by
okaleniuk
2y ago
|
50 comments
72.
▲
Ukrainian Coder's New Programming Language: One Big Data Structure
(thenewstack.io)
11 points
by
okaleniuk
2y ago
|
1 comments
73.
▲
by
okaleniuk
3y ago
I like writing HTML + vanilla JavaScript with zero dependencies in any simple text editor. Notepad++ on Windows, gedit or vim elsewhere.
74.
▲
by
okaleniuk
3y ago
Ah, yes! Fakelisp page references Hylang too, although with a broken link.
75.
▲
by
okaleniuk
3y ago
Or you can just from fakelisp import * And turn your Python into a Lisp. https://github.com/akalenuk/fakelisp
76.
▲
Rational Interpolation
(wordsandbuttons.online)
1 points
by
okaleniuk
3y ago
|
0 comments
77.
▲
by
okaleniuk
3y ago
Meanwhile, all the pages on https://wordsandbuttons.online/ with all the animation and interactivity are still below 64 KB. This one, for example, https://wordsandbuttons.online/trippy_polynomials_in_arctang
78.
▲
by
okaleniuk
3y ago
Nice! Didn't know of that. Thanks!
79.
▲
by
okaleniuk
3y ago
I'm definitely getting one after the war. Have been looking for something RISC-V to play with just recently. Not sure if it's really the first RISC-V Laptop ever since there is also Lichee Console 4a, and it's technically a l
80.
▲
Show HN: The Namingless Programming Language
(github.com)
6 points
by
okaleniuk
3y ago
|
2 comments
81.
▲
by
okaleniuk
3y ago
Interestingly, I've never heard about cosine interpolation until now. I wonder why? Could it be that in a practical computation, cosine is in fact a polynomial itself and cosine interpolation is a kind of polynomial interpolation with
82.
▲
by
okaleniuk
3y ago
An alarming portion of people in software industry can't code. Leetcode or otherwise. This was shocking for me when I started interviewing but it is what it is. Most people just can't code. I don't like brainteasers and never
83.
▲
by
okaleniuk
3y ago
Academic publishing has a lot of problems, it is an aging institution after all, and it shows. However, reputation-via-affiliation is the only thing that keeps it running.
84.
▲
by
okaleniuk
3y ago
I thought, this looks like something the company I work for put a hand to. And then I saw a familiar picture in the LinkedIn feed. Yep, that's us: https://www.materialise.com/en/news/press-releases/3d-tec
85.
▲
by
okaleniuk
3y ago
I don't challenge the author's use of the word "abstraction", I challenge the validity of the very word "abstraction" in the context of computer science. What we're dealing here is not abstraction, it is s
86.
▲
by
okaleniuk
3y ago
Don't get me started on compilers. Compilers don't compile. Linkers compile. Compilers should have been called translators from the start.
87.
▲
by
okaleniuk
3y ago
I claim that what we call "an abstraction" in software is something else. E. g. while you state that "an abstraction may remain the same abstraction even if you alter its implementation", I insist that the right verb her
88.
▲
by
okaleniuk
3y ago
Yes. I agree with you wholeheartedly, and that's exactly why I have to insist that the phenomena we're talking about is not an abstraction but something else. You see, there is no such thing as a "good abstraction" or a
89.
▲
by
okaleniuk
3y ago
"Abstraction" is a misnomer. This word has its useful meaning in math and art, but in software engineering, all what we call "abstraction" is automation in disguise. When you write a piece of "abstract" code, y
90.
▲
by
okaleniuk
3y ago
Brick-and-mortar is not a guarantee either. I've got my account frozen by a Hungarian bank in 2015 due to "suspicious activity". I consulted my lawyer, apparently that had no legal grounds, with this information I came to the
More ›