Better HN
topnewbestaskshowjobs
Log inSign up

fuzzythinker

2,446 karma · joined Feb 16, 2008 (18y ago) · 1,221 submissions

https://johnleung.com

https://github.com/mationai

john@johnleung.com

Now: Explore Ideas and Projects. Open to work on interesting fields.

Recently: built https://foldmation.com - an interactive origami learning and creator app

Previously: Sr. Engineer -> Engineering Manager at Cancerlinq.org

HackerSmacker profile: https://www.hackersmacker.org/user/fuzzythinker?hs=aAyLnbtERfzOwRxuPS

Submissions

comment 2y ago · link · parent

The DSL for foldMation uses https://github.com/mationai/mation-spec . I created it since I couldn't find anything out there that is similar, allowing me to specify a well structured data with English-like readable syntax.

242.

Show HN: FoldMation – An Interactive Origami Learning and Creation Application(foldmation.com ↗)

1 points · by fuzzythinker · 2y ago · 1 comment

comment 3y ago · link · parent

Ohm is a wonderful tool. I used it to create mation-spec [0], a readable structured configuration and specification format to automate and run code. I look hard trying to find something like it before giving up and creating one myself with the help of Ohm. The mation-spec is the basis of an origami fold simulation language to describe and simulate origami folds. PM me if you like to see it before I post the simulator on HN.

[0] https://github.com/mationai/mation-spec

comment 3y ago · link · parent

I wasted much time trying to make Next.js work, both the new and old version. Way too much complexity and issues, not to mention build/reload took > 10 secs. Switched to Vite with vite-plugin-react-pages and things are back to simple. refresh/reload is a sec or less like it should be.

comment 3y ago · link · parent

50k Earth-moon distance may be easier to grasp for some. For me, I'm not sure how to understand the earth/moon distance enough to make 50k earth-moon a more meaningful measurement. Pluto is in the Kuiper belt, which for many, signifies the physical bodied edge of our solar system. So for me, scaling that to 2.5 to know where the heliosphere is and 3.3 & 4 to where the Voyagers are is more understandable.

comment 3y ago · link · parent

To put the 12B miles in an easier grasp, Pluto's average distance is 3.7B miles. So Voyager 2 is a hair under 3.3 Plutos away, and Voyager 1 at 15B miles is slightly over 4 Plutos away.

Another point of reference is the heliosphere, at 100AU. 1AU (earth to Sun) is 93M miles, so the heliosphere is around 2.5 Plutos away.

comment 3y ago · link · parent

I mentioned this before. This kills show/launch-HNs that has long text that needed all the attention it needs. For these long posts, it is just unreadable in mobile, so I have to skip reading it until I get back to desktop, which often, its ranking dropped and/or I had forgotten about it. So HN is really preventing these show/launch-HNs from getting its needed attention.

comment 3y ago · link · parent

Why flagged?

comment 3y ago · link · parent

A DIY of the same idea, as linked by others: https://www.diybookscanner.org

comment 3y ago · link · parent

I see ulid and nanoid being recommended here. I like cuid2 based on input from its README [0] and discussion [1]

[0] https://github.com/paralleldrive/cuid2

[1] https://github.com/paralleldrive/cuid2/issues/7

comment 3y ago · link · parent

Top "programming" languages should not include SQL. No one uses it to do programming, we use it to read/write to a data store. If it's included, Excel/google-sheet should be included ahead of it and would be the #1 programming language. Typescript is a programming language, but should be grouped with JS in lists like this.

comment 3y ago · link · parent

Not according to the video. It has no resemblance to the way I described.

comment 3y ago · link · parent

This is not how I imagine "turning a keyboard into a mouse" to behave. How is this even practically useful? A better solution is to hold a combination of meta keys like ctrl-shift-alt or the like with one hand and use the keyboard like a trackpad with the other, except by "sliding" the keys while they are pressed since almost all keyboards are not touch sensitive. This of course would work best with flatter keys and not mechanical ones.

comment 3y ago · link · parent

Also from her - The Continuity of Splines [0]. More from her site [1].

Long interactive read from Bartosz Ciechanowski [2]

[0] https://www.youtube.com/watch?v=jvPPXbo87ds

[1] https://acegikmo.com/

[2] https://ciechanow.ski/curves-and-surfaces/

255.

How Not to Make an iPad Game: Final Fantasy Tactics(bluh.org ↗)

2 points · by fuzzythinker · 3y ago · discuss

comment 3y ago · link · parent

Have you had much experience with trains? Would replacing flights with trains alleviate your dread (if somehow the world is connected with trains)?

comment 3y ago · link · parent

In the JS/typescript world, neverthrow [1] may be the closest library for this. If anyone has good experience with something else, please reply. Not sure if neverthrow is the right choice after replacing all Errors in a 16k LOC engine library with it. It did added more "noise" to the code. Would a custom bespoke code/library add less noise? I'm not sure.

[1] https://github.com/supermacro/neverthrow

comment 3y ago · link · parent

Whenever this is mentioned, it is usually the top comment (like this one I mentioned recently [0]), which shows that many reader agree. Yet, nothing's been done on this easy change for 10+ years. @dang, can you at least give a reason, like "too lazy", "we don't agree", "we don't like changes".

[0] https://news.ycombinator.com/item?id=36460399

comment 3y ago · link · parent

I'm quite surprised that everyone here is questioning your ability and truthfulness of the situation instead of taking giving advance on the face value of your assertions. If you believe in your assessment of the situation, I would do one of 2 things. Either look for new opportunities or don't feel guilty spending less time at work. Use the time to better yourself.

comment 3y ago · link · parent

It's been 3 days, so not sure if you read this. You should have a contact in your HN profile. I don't want to have to subscribe to contact you, so a contact should be on your site as well.

A big but pretty simple request, both three.js and three-fiber (if you are using that) has "demand" rendering. Can you please look into that and use that? Your games are static like 99% of the time, so "demand" rendering really helps in not using 640% CPU (eg. on 2019 mac) at all times. It makes your game much "greener" and playable in more devices.

comment 3y ago · link · parent

Same design and look, don't get the "Missed opportunity"

comment 3y ago · link · parent

Like others mentioned, disclosed is fine, it's the "you'll receive [$20 | free stuff] if you leave a 5 star review" that makes reviews untrustworthy.

comment 3y ago · link · parent

Ya, it's been said that "it is part of the issues to be fixed in the next UI update" for like 10 years now.

To me, the most annoying part of using HN w/o other clients on mobile is not this, which can be addressed with extra care or zoom in. It's the idiotic decision to somehow think the post text is less important than comments and so the font color must be set to be lower. It's so low that it's unreadable in mobile. For long posts like many show-HNs, I have to just skip reading it until I get back to desktop, which isn't only not ideal, but also defeats the purpose of show-HNs since the ones that doesn't stay at top are the ones needed all the attention and HN is not helping by making it unreadable.

Ya, a simple css color change to match comments' color need to be part of the fixes to be addressed when there's a blue moon.

comment 3y ago · link · parent

Data point of one; I am new to next.js and tried both new and old ways. Decided on new way since it's slightly less worse than old way and it's the new way forward. After a few weeks, I've decided to dump it and just go with Vite. I can sprinkle SSR on top of it w/ plugin if needed. Much faster, much simpler DX, much smaller build output. I regret choosing Next.js and regret the decision to use it believing it's at least a good/decent choice based on popularity and default choice for most people.

comment 3y ago · link · parent

their bottom line

266.

What did Stonehenge sound like?(bbc.com ↗)

1 points · by fuzzythinker · 3y ago · 1 comment

comment 3y ago · link · parent

A newer update than one you linked: https://kaleidawave.github.io/posts/ezno-23/

comment 3y ago · link · parent

No, it does not.

"Rui is a genius and an amazing programmer" validates the author's credentials for those who don't know Rui.

comment 3y ago · link · parent

To Figma blog team: Please fix your links. "Open in new tab" both opens it in new tab AND loads in current tab.
1
8910
41