Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jkcxn
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
jkcxn
1y ago
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 the front. Same goes for planes etc
2.
▲
by
jkcxn
1y ago
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.
3.
▲
by
jkcxn
1y ago
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 other synchronisation events happen
4.
▲
by
jkcxn
1y ago
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 way to run the endpoint by clicking something in addition
5.
▲
by
jkcxn
1y ago
You can quite easily make bindings for raylib/sokol-gpu/bgfx from Bun
6.
▲
by
jkcxn
2y ago
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?
7.
▲
by
jkcxn
2y ago
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 to drop me a message/email. My proj
8.
▲
by
jkcxn
2y ago
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 runs them like a mini bytecode interpreter. You can tile
9.
▲
by
jkcxn
2y ago
I had fun generating isometric mazes https://www.reddit.com/r/proceduralgeneration/comments/kxau1...
10.
▲
by
jkcxn
2y ago
How do you move memory and have all the pointers update to the new position? I didn't understand that part.
11.
▲
by
jkcxn
3y ago
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 layout to css
12.
▲
by
jkcxn
3y ago
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 html { height: 100% }, or set parent'
13.
▲
by
jkcxn
3y ago
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 as all the things inside of me”, not “as
14.
▲
by
jkcxn
3y ago
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 of a program spatially rather than by a name. Most kinds of
15.
▲
by
jkcxn
3y ago
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 most 2D UIs. You can prerender ahead of time or have some runti
16.
▲
by
jkcxn
4y ago
This one works with variable height, you can pull some css from it https://codepen.io/khoama/pen/AoPeMM
17.
▲
by
jkcxn
4y ago
That's mad because the useMemo clearly has to do an equality check to see if it changed anyway...
18.
▲
by
jkcxn
5y ago
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 thing using standard language features for years. There'
19.
▲
by
jkcxn
5y ago
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 components on each load. You can also use form state to communicate
20.
▲
by
jkcxn
5y ago
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 possible to tack this onto a dynamic language like JavaScript thoug
21.
▲
by
jkcxn
5y ago
Software development sure has come a long way, now we can change what the screen shows when you click a button!
22.
▲
by
jkcxn
5y ago
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?
23.
▲
by
jkcxn
5y ago
Can I contact you? My email address is in my profile
24.
▲
by
jkcxn
5y ago
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 front end is just super modular components and your backend
25.
▲
by
jkcxn
5y ago
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 problems of goto and keeping the behaviour. Not sure why
26.
▲
by
jkcxn
5y ago
No I'm talking about professionally, 64.33% of respondents have 5 years or more professional experience
27.
▲
by
jkcxn
5y ago
By the way they already scan photos that aren’t uploaded to iCloud. I’ve never used iCloud and I can go on the photos app and search for food for example
28.
▲
by
jkcxn
5y ago
If anyone else is curious https://insights.stackoverflow.com/survey/2021#developer-pro... Most people responding have 5 or more years of experience
29.
▲
by
jkcxn
5y ago
Incredible piece of work, and an inspirational process. Your book helped me write my own language compiler. I love the way you explain the pratt parsing technique and also the way the lexer and parser work together so you don't have to
30.
▲
by
jkcxn
5y ago
If you're curious there's a subreddit for a technique like this for building/breaking habits https://www.reddit.com/r/thexeffect
More ›