Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Farer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
Farer
2y ago
It seems to be almost completed. Would you like to finish it together? We are now at the final stage. When looking for a detour in the direction blocked by the map boundary and failing to find one, the program attempts exploration on the op
32.
▲
by
Farer
2y ago
Since I recently felt the limitations of the A* algorithm in my LIVE project, I am planning to proceed with this attempt. As a result of discussing with many AIs, it was difficult to find existing cases. As far as I have reviewed extensivel
33.
▲
by
Farer
2y ago
It seems that the A* algorithm is not delivering the performance I was hoping for, so I am trying a new approach. Are there any existing cases, by any chance? If not, I would like to hear your thoughts on this approach.
34.
▲
Ask HN: Have you ever seen a pathfinding algorithm of this type?
(blog.breathingworld.com)
49 points
by
Farer
2y ago
|
75 comments
35.
▲
by
Farer
2y ago
https://blog.breathingworld.com/
36.
▲
Seeking feedback on regional server performance for a virtual ecosystem
1 points
by
Farer
2y ago
|
0 comments
37.
▲
by
Farer
2y ago
It’s quite similar to the reason why I insist on developing with vanilla JavaScript. It’s hard to shake off the feeling that many libraries or frameworks stray away from the essence, and that’s one of the reasons. Since these are things I’v
38.
▲
by
Farer
2y ago
Oh, so you're developing a bit differently from the current trends. Interesting. As you mentioned, when developing with vanilla JavaScript, it can become difficult to maintain as more features are added or the service grows. However, i
39.
▲
by
Farer
2y ago
Oh, I see. Have you used other frameworks like React or Next.js, Svelt and so on ? If so, do you think Vite has clear advantages compared to those frameworks?
40.
▲
by
Farer
2y ago
Oh, I briefly looked over Vite but haven't actually used it yet. This is a good opportunity to seriously take a look at it. Is the final HTML and JavaScript code generated clean and without unnecessary bloat? As always, minimizing the
41.
▲
by
Farer
2y ago
And are you using React and Next.js these days?
42.
▲
by
Farer
2y ago
Not a single exception? :)
43.
▲
by
Farer
2y ago
That's right. Web frontend has always been constantly changing. And that's what makes it even more fun. Because of that, I try not to focus too much on new technologies. Of course, new challenges are always meaningful, and over ti
44.
▲
by
Farer
2y ago
And the map UX isn’t complete yet. I also plan to finish a smooth map UX like Google Maps or the ones you mentioned. I’d appreciate it if you could keep an eye on it a bit longer.
45.
▲
by
Farer
2y ago
Yes, that's exactly what I wanted to say! In the end, the browser just reads and processes the given HTML, CSS, and JavaScript. And now it feels like the discussion has shifted from whether to use vanilla JavaScript to the graphic rend
46.
▲
by
Farer
2y ago
Since this project is just starting to implement canvas, there might not be any noticeable visual performance improvements yet. I imagine I’ll probably start using WebGL as more animals are added.
47.
▲
by
Farer
2y ago
Thanks for your kindness! I will see it too.
48.
▲
by
Farer
2y ago
Oh, I get it now! Currently, when dragging or zooming in and out, the ground, weeds, and rabbits are being redrawn. Of course, for the weeds, the browser is using a cache of about a minute, but due to network latency, this part might be eve
49.
▲
by
Farer
2y ago
Okay. I think what I said might cause some misunderstandings. As I mentioned in another comment above, it seems to be because I don't like adding builds, compiles, issues, etc. that are not pure JavaScript. I also like TypeScript. It e
50.
▲
by
Farer
2y ago
I totally get what you mean. I'm also someone who finds compiling or building unnecessary when running JavaScript in the browser. It feels like we end up studying and dealing with issues that aren't directly related to actual deve
51.
▲
by
Farer
2y ago
Yeah, I know this saying well: "Don't reinvent the wheel." I completely agree with it, too. I mean, I’m not building a browser engine from scratch here, right? lol But when it comes to web front-end development, I often feel
52.
▲
by
Farer
2y ago
Got it. I just want to clarify that I'm not someone who thinks all my ideas are always right, so I hope there’s no misunderstanding. Also, could you provide links to the libraries you mentioned? Of course, I’m always eager to study mor
53.
▲
by
Farer
2y ago
Okay, thanks. I have one question. What exactly do you mean by something disappearing and reappearing when panning? Could you explain the phenomenon in a bit more detail? Actually, when zooming in or out quickly, there’s a momentary effect
54.
▲
by
Farer
2y ago
Oh, and the source code is already made public, so if it's okay with you, could you take a look at it? If you could point out any parts I might have missed, it would be a huge help. https://github.com/Farer/breathi
55.
▲
by
Farer
2y ago
As I mentioned in my previous reply, I've been using nearly every major JavaScript library and framework for almost 20 years. After all that, I ultimately came to the conclusion that Vanilla JavaScript is the best. Especially when it c
56.
▲
by
Farer
2y ago
I've worked with various frameworks and libraries in the past, like Prototype, jQuery, AngularJS, React, and Next.js, but I think I've ultimately come to trust Vanilla JavaScript the most. Compared to developing with Vanilla, I no
57.
▲
by
Farer
2y ago
Ah, the reason you feel it's slow is because the server is located in Seoul, Korea. You're probably not in Korea, which is causing some network latency. If you try adjusting the map to a single spot and wait for a moment without m
58.
▲
by
Farer
2y ago
Of course, type safety is great, I understand that. But I want to know the detailed reason why. Why do you think it's so important?
59.
▲
Ask HN: What do you think about developing a web front with Vanilla JavaScript?
7 points
by
Farer
2y ago
|
41 comments
60.
▲
by
Farer
2y ago
I’m looking for developers interested in collaborating on the development of the web front-end for this project. If you're into real-time systems or dynamic web environments, I’d love to work with you! You can find the client-side sour
More ›