Viewing profile — jkcxn
jkcxn
HN member- Joined
- Wed, May 22, 2013, 2:02 PM UTC
- HN karma
- 136
- Public activity
- 52 items
- HN profile
- View on Hacker News ↗
About jkcxn
Recent public activity
-
comment
Comment #45318125
You can switch between the two easily by imagining a lever on the back of the characters head vs front of their head - press up to push the lever higher for the back vs lower for t…
-
comment
Comment #44661088
That's like saying WASM doesn't have a direct way to allocate memory or print to the console. Of course it doesn't, it doesn't have access to anything, that's the whole point.
-
comment
Comment #44609532
Not the OP, but in formal definitions like Communicating Sequential Processes, concurrency means the possibility for tasks to run out of order and still be correct, as long as othe…
-
comment
Comment #44119795
This seems like a really good idea. I like that it's just markdown files and how seemless it is with an existing project. I have a few minor suggestions 1. I would really like a wa…
-
comment
Comment #43914207
You can quite easily make bindings for raylib/sokol-gpu/bgfx from Bun
-
comment
Comment #41649404
Do you know how the break/return would get compiled down to? Would the yield function need to be transformed to return a status code and checked at the callsite?
-
comment
Comment #41360129
Yes sounds like the same thing! I also couldn't find anyone else doing it. Sounds super interesting what you're doing so I'd love to read your blog post when it's done if you want …
-
comment
Comment #41348840
I've done this for a project where the SDF functions are basically instructions, and you can build up instrictions on the CPU to send to the shader. and then the fragment shader ru…
-
comment
Comment #41347538
I had fun generating isometric mazes https://www.reddit.com/r/proceduralgeneration/comments/kxau1...
-
comment
Comment #40803838
How do you move memory and have all the pointers update to the new position? I didn't understand that part.
-
comment
Comment #39396794
It’s called a masonry grid. Images retain their aspect ratio so they don’t need to be cropped. You can kind of simulate it with css but there’s proposals to add a proper masonry la…
-
comment
Comment #39335526
It's no different except now you've set parent's height to 100% of its parent, which is the html tag. But the html tag is height: auto so there is a circular dependency. if you put…
-
comment
Comment #39335115
He says "width looks up the tree while height looks down the tree." And "Width Looks Outward, Height Looks Inward" And - The key insight here is: height: 100% means “I am as tall a…
-
comment
Comment #37706586
It’s not syntax help thats useful about visual programming it’s the 2-way communication between the programmer and the running program, and also being able to refer to other parts …
-
comment
Comment #35580213
If you have a couple of different sizes of texts you can render out each character into a sprite map and render a quad per character which is probably the fastest and works for mos…
-
comment
Comment #33670669
This one works with variable height, you can pull some css from it https://codepen.io/khoama/pen/AoPeMM
-
comment
Comment #31612628
That's mad because the useMemo clearly has to do an equality check to see if it changed anyway...
-
comment
Comment #30617244
Yes Dart with Flutter and swift UI both had to add language features just to support if and loop expressions. But people writing immediate mode guis have been doing the exact same …
-
comment
Comment #30533278
Yes this is exactly right. What I’ve done in the past is use Django to return HTML with JSX mixed in, and have a super lightweight SPA frontend that just hydrates the react compone…
-
comment
Comment #30126619
D’s way is far superior because as the caller you don’t have to worry about whether you’re calling a method or an external function, it looks the same. Not sure it would be possibl…
-
comment
Comment #29669508
Software development sure has come a long way, now we can change what the screen shows when you click a button!
-
comment
Comment #29413733
As far as I can tell you don't own the right to the picture either. You just buy the right to have your name next to it. Is that right?
-
comment
Comment #29317459
Can I contact you? My email address is in my profile
-
comment
Comment #29313508
It’s definitely possible. I have a project that does the same thing with Python and React but you could switch out the backend to anything that outputs html. The cool thing is your…
-
comment
Comment #28949488
Isn't it interesting that all of the examples in the original article can be replaced with a labeled break of arbitrary blocks? Even replacing the continue statement. Solving the p…