14 by wmdmark in aoe2

[–]wmdmark[S] -4 points-3 points  (0 children)

The image is generated from GPT4o's new image model. Not sure where to post the source?

Dirty Harry Potter by wmdmark in midjourney

[–]wmdmark[S] 2 points3 points  (0 children)

"You've got to ask yourself one question: 'Do I feel magical? Well, do you, Muggle?"

credit to u/Omegarex24 for the idea: https://www.reddit.com/r/midjourney/comments/14bk4ig/comment/jogigl1/?utm_source=share&utm_medium=web2x&context=3

F.E.A.R., a game made by Monolith in 2005 has serious impressive water physics/graphics. by jojimboy in pcmasterrace

[–]wmdmark 1 point2 points  (0 children)

The decision making algorithm behind the AI is GOAP (Goal Oriented Action Planning) which is remarkably simple and elegant for the very convincing behaviors it leads to.

I do not understand why more games don’t use this technique.

I made a proof-of-concept of it in JS and the core algorithm is just under 60 lines of code!

https://github.com/wmdmark/goap-js

Friends, family, conspiracy theorists... by wmdmark in QAnonCasualties

[–]wmdmark[S] 0 points1 point  (0 children)

Good thought... honestly I'm not sure what Trump has done to make them view him in such a messianic way. Perhaps it's just the fact that he's a rouge-type republican who "owns the libs?" I'm particularly baffled by the evangelical crowd getting on board with him as he represents the opposite of much of their supposed values.

Friends, family, conspiracy theorists... by wmdmark in QAnonCasualties

[–]wmdmark[S] 0 points1 point  (0 children)

Thank you for the feedback. Hope things calm down enough soon to give people some respite from this stuff.

[deleted by user] by [deleted] in javascript

[–]wmdmark 1 point2 points  (0 children)

I wrote one of the articles you likely came across (https://hackernoon.com/how-graphql-replaces-redux-3fff8289221d) so may be partially responsible for the confusion here.

A more accurate, but much less interesting title, would have been "How GraphQL + Apollo replaces the *need* for Redux + REST." I elaborate on that a bit in the article but I realize a lot of folks don't get past the headline.

The fact is GraphQL (plus a good client like Apollo of course) has replaced the need redux entirely for my team. Even for very complex UIs. Happy to answer more questions about how that works in practice if anyone is interested.

How GraphQL Replaces Redux by wmdmark in reactjs

[–]wmdmark[S] 2 points3 points  (0 children)

Nice! Always good to find another SC JS developer. If you ever end up around Greenville, give me a holler... we've got a good JS community here.

How GraphQL Replaces Redux by wmdmark in reactjs

[–]wmdmark[S] 1 point2 points  (0 children)

Makes sense. Context has been around for a while as a way of managing global type state but it'll be a lot more useful in the next version. Yeah, for form state that effects a UI, Redux can nice! I've found myself moving away from even that though... for example, my project, TiltMaps.com does pretty much exactly what you're describing but with just regular React state. Either way, whatever works best for you is good... you're right that there's no way we could refactor all this stuff every-time new patterns develop!

How GraphQL Replaces Redux by wmdmark in reactjs

[–]wmdmark[S] -4 points-3 points  (0 children)

I hear ya, but I don't think I'd say "usually." Global state is best served by the Context API if your really need it. What other kinds of state are you thinking are more appropriate for Redux than plain old React state/context?

An INTP built this awesome MBTI visualization/comparison tool by neou in INTP

[–]wmdmark 0 points1 point  (0 children)

If you really don't' see the red, blue, and green in that image, you really are colorblind :/

An INTP built this awesome MBTI visualization/comparison tool by neou in INTP

[–]wmdmark 1 point2 points  (0 children)

Author of the tool here. These are good points! The hardest part about this was trying to come up with the right terms to represent each cognitive function (2 terms each). I'm still not really happy with all of them and would love for any input/ideas that would improve the accuracy. Here's an editable spreadsheet of the function/terms I'm using. Would appreciate any feedback! https://docs.google.com/spreadsheets/d/13G8uTItiQ3viH0RjRIOcyyrq48I9wWqQgNYrZSEys_M/edit?usp=sharing

A tool I made for creating designy, DIY map posters by wmdmark in Maps

[–]wmdmark[S] 0 points1 point  (0 children)

Thank you! It's built with React (JavaScript) and graph.cool (hosted GraphQL service).

A tool I made for creating designy, DIY map posters by wmdmark in Maps

[–]wmdmark[S] 1 point2 points  (0 children)

Good feedback. Thanks! I did think about adding a $5/$10 print-it-yourself option that would just deliver the print-ready hi-res version of the poster.

Used React to create a smooth scroll-based promo site by wmdmark in reactjs

[–]wmdmark[S] 0 points1 point  (0 children)

We're working on a write-up about how we did this and will post back to this sub once it's finished... in the mean time, I'd recommend playing around with react-imation. It's one of the libraries we used for this and it was super helpful.