Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
amjoshuamichael
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
amjoshuamichael
1y ago
Unfortunately, no :( I was hoping someone would recognize the book and reply...
2.
▲
by
amjoshuamichael
1y ago
I think CSS tools like that appeal to people who learned web development in a kind of ad-hoc way. When I first started, I just wanted to make designs I had in my head. I kind of went from "header, text, and image on the page" to,
3.
▲
by
amjoshuamichael
1y ago
That's a really good way to think about it! (Bonus points for ASCII diagrams.) IIRC, I had some similar visualizations in the article but I cut them. And nice paper, interesting way to solve that problem.
4.
▲
by
amjoshuamichael
2y ago
JavaScript! It's not perfect, but it's the easiest language to run in the browser :)
5.
▲
by
amjoshuamichael
2y ago
Haha, I don't know why I didn't think to include a raycast scene, especially since that's what I was using the algorithm for!! Glad you liked it.
6.
▲
by
amjoshuamichael
2y ago
Original author here. I've been reading this website for years. Imagine my shock when I saw my own article on the front page! I'm glad people are enjoying it. Quick fact about the way the interactivity is done, all of the code for
7.
▲
by
amjoshuamichael
2y ago
My argument is that using these non-standard extensions to do important things like memory management in a C library is malpractice—it effectively locks down the library to specific C compilers. I'm sure that's fine if you're
8.
▲
by
amjoshuamichael
2y ago
For me, the point of writing something in C is portability. There were C compilers 30 years ago, there are C compilers now, and there will almost certainly be C compilers 30 years from now. If I want to write a good, portable library that&#
9.
▲
by
amjoshuamichael
2y ago
My understanding is that the only qualifier for something on hackernews is that it has to be "deeply interesting": https://news.ycombinator.com/newswelcome.html Deeply interesting tech, or otherwise.
10.
▲
by
amjoshuamichael
2y ago
Maybe I'm wrong and this is new to a lot of people! I have a limited perspective based on my programming journey, which winds mostly through gamedev, graphics programming, and DSP, both (typically) low level domains. But I think if the
11.
▲
by
amjoshuamichael
2y ago
Absolutely, like I said, there's no problem with what this person is doing or the way that they're exploring computers, I'm just confused as to why it's being posted here.
12.
▲
by
amjoshuamichael
2y ago
Yeah I found this article super weird. Explaining pointers & dereferencing is reasonable, but doing it in the context of Zig specifically, like Zig is the first language to feature dereferencing, is odd. Especially since pointers are su
13.
▲
by
amjoshuamichael
2y ago
What do you mean by "motivational?" Are you talking about how the creator is against adding new features to the language? I actually think that's perfectly fine. One of my favorite things about Odin is the simplicity; the ent
14.
▲
by
amjoshuamichael
2y ago
Fair, though when I say "quality decline" I'm mostly talking about extraneous useless features and overly complicated node-based architectures that require GUIs. There are simpler ways to do all of this stuff. This engine, Tr
15.
▲
by
amjoshuamichael
2y ago
I don't think that the developers of Slay The Spire were taught by complexity loving professors, no. But education does more than influence the people at universities. Education informs norms, traditions, and styles that permeate throu
16.
▲
by
amjoshuamichael
2y ago
Oh, absolutely. I maintain the engine for my video game and it's ultra-minimal tailored to my needs. That leads to better performance, and a much slimmer build size. (currently sitting at ~900KB for the optimized build of a nontrivial
17.
▲
by
amjoshuamichael
2y ago
It's all done using the HTML canvas API.
18.
▲
by
amjoshuamichael
2y ago
I'm starting to believe there is an external force that drives down the quality of game engines over time. In most tech, the things that catch on are the things that are the easiest to develop curriculum for. The shape of a node-based
19.
▲
Show HN: Interactive Explainer for DDA Line Drawing Algorithm
(aaaa.sh)
2 points
by
amjoshuamichael
2y ago
|
2 comments
20.
▲
by
amjoshuamichael
2y ago
Personally, I don't care about the library, and just want the pure math implementation for shaders and such. For that, they have the algorithm available here in GLSL, vec3 mixbox_lerp is the function you want: https://github
21.
▲
Show HN: Music video made out of text in the browser
(aaaa.sh)
2 points
by
amjoshuamichael
2y ago
|
0 comments
22.
▲
by
amjoshuamichael
2y ago
Odin has a builtin heap allocator that works the same way you would expect any other high-level language to do memory allocation–it's just that you have to free the memory yourself. Plus, Odin's built in `context` system makes it
23.
▲
by
amjoshuamichael
2y ago
Matrices, like any other primitive data type, are stack-allocated. Do you want matrices to be allocated on the heap? If you're looking to do Pandas-style data science, you'd have to write your own implementation, where you could a
24.
▲
by
amjoshuamichael
2y ago
I've seen some interesting work in doing Wayland by hand: https://gaultier.github.io/blog/wayland_from_scratch.html I'd also look at the work done on minimal wayland projects like [foot]( https://co
25.
▲
by
amjoshuamichael
2y ago
Yeah, I've been looking for a minimal SDL alternative for a long time and I was really excited reading through this as that solution, but the lack of Wayland support is a huge dealbreaker for me. Are there any good minimal windowing ut
26.
▲
by
amjoshuamichael
2y ago
I tried that initially, but I found that it still wasn't quite satisfactory. My game's art style has a lot of straight edges, to be fair.
27.
▲
by
amjoshuamichael
2y ago
Graphics programming analysis done using examples written in WebGL–genius. Hypertext that takes full advantage of the medium. This reminds me of something I'd see on https://pudding.cool/ , but it goes far more in dep
28.
▲
by
amjoshuamichael
2y ago
I keep coming back to this idea as the (albeit ideal) future of the web. HTML keeps morphing and changing to fit the increasingly complex requirements of modern web apps. I mean the W3C spec is 114 million words (1). I think that web apps a
29.
▲
by
amjoshuamichael
2y ago
This seems to be Swift-exclusive, but the idea is absolutely there. Imagine when this gets expanded to any codebase. Imagine all the spaghetti code you could visualize as real spaghetti!
30.
▲
by
amjoshuamichael
2y ago
THIS! So much this!! With the jump from 2D screen to AR-based UI, we have the chance to re-think all of the conventions that have gripped UI/UX design over the past few decades. How many apps would benefit from being able to visualize
More ›