Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
okaleniuk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
Homogeneous coordinates as a mathematical investment in programming
(wordsandbuttons.online)
1 points
by
okaleniuk
3y ago
|
0 comments
92.
▲
by
okaleniuk
3y ago
20 years ago I'd look for an InstallHook call in a Windows program. There are legitimate reasons to use hooks, but a game should have none.
93.
▲
by
okaleniuk
3y ago
Well, it's a good video but... Hacker News? On the related topic, you know how in Ford Mustang the engine noise is simulated so the engine would sound like a pre-emission-standards V8 even if it runs on just four? How about a similar t
94.
▲
by
okaleniuk
3y ago
I lead a small R&D team in Materialise's Kyiv office. Due to very demanding requirements (we need someone who can do math, write code, and communicate with other people reasonably well, often at the same time), I usually have to re
95.
▲
by
okaleniuk
3y ago
I think, type inference is a poor man's model checking. And it makes exactly as much sense as your model does. There is no such thing as a universal model. https://wordsandbuttons.online/static_typing_isnt_free.html Ad
96.
▲
by
okaleniuk
3y ago
In case you were wondering, there is a "FossilHub": http://chiselapp.com/
97.
▲
by
okaleniuk
3y ago
I think this is brilliant! And, what's more important, practical. I did a similar thing a few years back for small linear systems: https://wordsandbuttons.online/outperforming_everything_with... The idea is essentially
98.
▲
by
okaleniuk
3y ago
No, it's all vanilla JS. Moreover, I don't even have internal dependencies, every page is written from scratch (with a pinch of copy-paste). This is a hobby project, and I like to program, so I'm just not interested in code r
99.
▲
by
okaleniuk
3y ago
I do all the https://wordsandbuttons.online/ by hand, and this is my top 10: 2527 p 2047 a 1318 span 1078 td 918 b 537 tr 531 sub 499 br 401 i 393 table
100.
▲
Either your estimates suck or your job does
(wordsandbuttons.online)
1 points
by
okaleniuk
3y ago
|
0 comments
101.
▲
by
okaleniuk
3y ago
This means that the more lexemes look alike, the more they need color difference the highlighting provides. Like 'coordinate_u' and 'coordiante_v' should be distinctively different, but 'coordinate_u' and '
102.
▲
by
okaleniuk
3y ago
Hi James. Mine is https://wordsandbuttons.online and I'm definitely zooming in <s>this</s> next Wednesday.
103.
▲
by
okaleniuk
3y ago
Wow! Didn't expect to see it on Hacker News again. Hello, hi! I'm Oleksandr Kaleniuk, and I wrote the thing back in 2020. Please don't take it all too seriously. There was COVID-19, I had nothing better to do. I did write a n
104.
▲
by
okaleniuk
3y ago
We used quaternions in our engine back in 2005-2008. Compared to matrix multiplications, multiplying quaternions was cheaper so we could save a few instructions here and there. But I never used them since. One reason being, I suppose, proce
105.
▲
by
okaleniuk
3y ago
What do you think about Geometry for Programmers? https://www.manning.com/books/geometry-for-programmers It has been recently published (April 2023) and not yet in any lists.
106.
▲
by
okaleniuk
3y ago
Have you tried reading code instead of smelling it?
107.
▲
by
okaleniuk
3y ago
This "level of abstraction" euphemism actually means "the level at which I'm not reading code anymore even and especially if I should". Of course, linear code is more readable! Linear everything is more readable. Ha
108.
▲
by
okaleniuk
3y ago
Thank you!
109.
▲
by
okaleniuk
3y ago
In a way, every static typed compiler has a bit of Prolog in it: https://wordsandbuttons.online/logic_programming_in_cpp.html
110.
▲
by
okaleniuk
3y ago
Cloning things makes maintenance harder linearly. Generalizing things makes maintenance harder exponentially. Counterintuitively, generalization only makes sense on small numbers or reiterations, not the vice-versa. I started https:/&
111.
▲
by
okaleniuk
3y ago
Ten years ago, Python used to be excellent as a second choice for everything. So if you dabbled in machine learning, web, statistical analysis, text processing, system scripting, computer algebra, etc, it made sense to learn some Python eve
112.
▲
by
okaleniuk
3y ago
Since we're sharing links, here's my collection of interactive pages too: Interactive visual explanations of math and algorithms, with motivating examples from computer games. https://www.redblobgames.com/ The wor
113.
▲
by
okaleniuk
3y ago
You have to measure. It's a contextual optimization, no compiler in existence measures contextual optimization for you. Even the profile-based optimization is a spray and pray thing. CPUs are not getting better at division per se, but
114.
▲
by
okaleniuk
3y ago
Have you tried measuring the actual impact of this? This optimization is so old, I'm not even sure if it's still worth the effort. It definitely worked in the 90s. What you do here is you save on division, and lose on instruction
115.
▲
by
okaleniuk
3y ago
If you're inclined to write fast code in assembly, you will. If not - not. The thing is, optimizing compilers don't actually do any optimization in the classical sense. They don't do run-measure-modify loop as programmers do
116.
▲
by
okaleniuk
3y ago
You are right. The site is not fast because of Assembly, it is simply well designed. Assembly, however, pushes towards healthier design choices. You have to keep things simple since you are the one who pays for the complexity, not a third-p
117.
▲
by
okaleniuk
3y ago
There is a notion that programming is an extreme kind of poetry. Like with haiku, where there are rules, and the rules are formal, you can ratify an ISO standard on haiku rules; but they only support the structure and not the sense.
118.
▲
by
okaleniuk
3y ago
I've been wondering myself whether "software engineering" is a misnomer. We have so many of them in software engineering. What if creating software is closer to investigative journalism than to building bridges? Consider this
119.
▲
by
okaleniuk
3y ago
This just shows that we need a sustainable widely supported hardware platform for long-time operation. 30 years is not that long. I wonder if RISC-V could take this niche.
120.
▲
by
okaleniuk
3y ago
Back when I was active in academia, our publishers were reluctant to print source code or even repository links (that was largely before GitHub) but they could still share a paper source on demand. If you reference someone else's paper
More ›