HNHacker News
TopNewBestAskShowJobs

mrspeaker

7,967 karma · joined November 28, 2009

Internet flibbertygibbert. Author of the books HTML5 Gamedev, and jQuery Novice to Ninja.

http://www.mrspeaker.net/ mrspeaker@gmail.com

submissionscomments
mrspeaker··on No-code startup Bubble raises $100M
No problem.
mrspeaker··on No-code startup Bubble raises $100M
About 6 months to switch - probably twice as long as it should have, because it was happening in parallel with maintaining and improving the no-code version, and the product requirements were evolving.

Switching off the no-code version was a happy day. We'd pushed it further than it was designed to go. The initial advantages of quick prototyping slowed down, and it was getting harder (very hard) to add new features without breaking old ones. Customizing the design (to our designer's high standards!) was... tough.

The coded version was better in every way - but part of that was because we learned a lot from the prototype. I personally probably wouldn't start a fresh project with it - but I would recommended it to (technical) non-programmers who want to get an idea out of their head to see if it's any good.

mrspeaker··on No-code startup Bubble raises $100M
I worked on a Bubble app that definitely hit the limits of how big apps should be. The work flow box things still give me nightmares. It's very hard to figure out the order things were executing, and we had to resort to A LOT of JavaScript blocks to break out of the normal workflow to get features working that weren't achievable with the built-in tools.

If felt like there was a missing level of abstraction - everything was too intertwined. Making changes to anything becomes harrowing once the app becomes large - it was slow, and you don't know which UI elements are being accessed by any blocks - so it's really easy to break things without realizing. And the undo system gives you no visual clue as to what is being undo-d if it was in a different view. It was the most fragile system I've worked on.

However, many of those issues could be fixed, improved, or redesigned. If you were doing "regular" use-case stuff it was... fun! Our designer could get in and implement/test things really easily.

My gut feeling is that there could be system that scales well - but the escape hatches need to be reliable when you hit the edges.

mrspeaker··on No-code startup Bubble raises $100M
It works best for prototyping and rapidly testing ideas.

I joined a startup that didn't have any deep coding skills - but had a great idea and vision for a product. They had made a pretty decent prototype with Bubble and could quickly implement suggestions from the beta testers.

When I joined I instantly suggested re-writing it in a "real" stack. But when I dived into it, there was a lot of built in features of Bubble they were using that would be a pain to write or integrate. The rewrite would take some time.

Instead we launched with the Bubble app as it was. It targeted a niche market, and that market came flooding in - it really proved there was demand for the product and the feedback helped shape the end result - months ahead of where would have been if I re-wrote it.

But as the app grew we ended up with "spaghetti no-code", slow loading times, crazy hacks, giant bundles (that we had no control over)... but again, it was good enough to launch with and validate the company, and it was fast to try out ideas.

We eventually did a full rewrite once we were happy with the overall structure of the app, but the process changed my perspective on the value of no-code tools in the right hands.

mrspeaker··on Getting sweet patron money on the modern internet (2020)
It doesn't even have to be something you hate - but it's something that's not yours.
mrspeaker··on Disinformation for hire, a shadow industry, is quietly booming
People are very good at justifying what they are doing if their livelihood is at stake. I know many programmers - nice people - working as the digital equivalent of seal-clubbers... but there's good money to be made clubbing seals, and if they don't do it somebody else will, and the seals have a choice not be clubbed, and they need the experience, and they only indirectly club the seals, and remember that time when that "good" guy did a bad thing for seals, and also there's WAY worse industries, and there's this one study that suggests clubbing seals is actually good for society... etc etc!
mrspeaker··on WaveFunctionCollapse: Generates bitmaps that are locally similar to the input
I've struggled with implementing my own version of this algorithm - so I know I don't understand it properly. I get lost because of the "quantum mechanics" aspect - I am kind of suspecting it's just an analogy for the actual algorithm (maybe it's not?)... but I'd love to see if this could be re-written without the "entropy" and "superposition"-type wording, just to see if I can finally make it click in my brain!
mrspeaker··on Component Graph System (2017)
I think originally it was primarily about developer ergonomics - here's the first thing I ever read about them in 2007 where they tested it on Tony Hawk Pro Skater (http://cowboyprogramming.com/2007/01/05/evolve-your-heirachy...). The CPU/memory management has been an on-going discussion ever since! Being able to process domains as flat arrays helps with cache misses - but there is a lot of other overhead, depending on how you designed everything.

Making it performant was one of the big problems initially, and it seems like the `Component Graph System` this thread is about trying to answer "how do systems efficiently process components?"... But I don't really get how it answers that actually.

mrspeaker··on Component Graph System (2017)
"Entity Component Systems" are common in game engine architecture, and there are a lot of variations on them - but they are a high-level architecture for making modular behavior in games. Generally they were thought of as "better than Object Oriented, because they very very heavily favor composition over inheritance."

The idea is that everything in your game - like Players, NPCs, Bullets - are Entities. Entities are simply an ID. That's their only property. Nothing else.

But there are Components - they have the data. For example, you might have a `PositionComponent` that has an `X Position` and `Y position` property. And maybe a `MassComponent` that has a property `Mass`. Somewhere in the framework (like a database table), a given Component will be related to a given Entity ID. The Entity therefore becomes a "bag of Components" through the relations.

Finally there are Systems. They do stuff with the data. One system might be `GravitySystem`. It doesn't care directly about `Entity`s, but can query the relations. It might ask for anything that has BOTH a `PositionComponent` and a `MassComponent` (it doesn't know which Entity it is for - it only gets the Components). It takes any `PositionComponent`s it gets and applies gravity: `component.y += gravity`.

The effect is that you can mix and match Components in weird and wonderful ways without having to hard-code behavior and rules for certain entities. You can obviously achieve this with other architectures too - but that's the primary goal of this one.

mrspeaker··on PlayCanvas introduces new Engine Examples Browser
This is really cool, and I love the idea of embedding assets around the web. When I first saw PlayCanvas years ago I kind of dismissed it. But it just keeps going, and becomes more and more feature-filled. Now it really seems like a solid product - and a solid idea. Well done to the creators!

Does anyone know who PlayCanvas are? (And are they hiring?!) I love WebGl and WebGl2 (here's a little Minecraft thing I made: https://github.com/mrspeaker/webgl2-voxels), so for my own projects I always want to do it all "from scratch". But this is a much more productive engine and that playground is really tempting me to dive in further.

mrspeaker··on Rendering game worlds in text [video]
I've loved messing around with Markov Chains in the past, but the output of this seems more interesting... does anyone have any recommended resources for getting started with Natural Language Generation?
mrspeaker··on Runway – Create impossible video
Reply to self! In this thread the user `mkaic` linked to their own work/study at: https://nomoregreenscreen.com/ ... perfect "getting started" material.
mrspeaker··on Runway – Create impossible video
Is this any better than the current After Effects auto-roto feature? (Real question... is it?!) I thought they were already using ML models to do rotoscoping.
mrspeaker··on Runway – Create impossible video
Yeah, "impossible" phsssh... it's clearly a 180 heel-flip or something like that. THIS is an impossible - https://www.youtube.com/watch?v=GtaJSQO0T8k
mrspeaker··on Runway – Create impossible video
Does anyone have any resources on how you might make this yourself from scratch using machine learning? Obviously not this polished, but just a really rough-and-dodgy version to learn how it works.
mrspeaker··on Blender and the Rabbids
That's Ian Hubert magic - he explains it in this (very entertaining) video: https://www.youtube.com/watch?v=RxD6H3ri8RI
mrspeaker··on Alien Dreams: An Emerging Art Scene
Maybe they are using the meaning of sublime of converting from solid to vapor state
mrspeaker··on A Group Is Its Own Worst Enemy (2003)
And the next paragraph from that:

"But that was a requirement. In order to defend themselves against being overrun, that was something that they needed to have that they didn't have, and as a result, they simply shut the site down."

They didn't want to block anyone, so they deleted it. That's why we can't have nice things.

mrspeaker··on Move fast, but understand the problem first
Works well for a warrior (where 7 breaths is a long time) - but not so much most business leaders/managers. After witnessing it so many times, I'm guessing the standard playbook they teach at business schools is "Don't bother taking time to understand a situation - just make a decision unnecessarily quickly and over-confidently, and then stick to your guns no matter what".

So much wasted effort results... but, hey, at least I got paid for it. And now I make sure I don't work anywhere where they run this playbook anymore!

mrspeaker··on Ask HN: Which software do you value immensely but never pay for it?
I was just thinking about this! For me it's "All build tools". I rely on them so heavily, and they have started putting nag/beg messages in them and everything. I know they'd really appreciate the funds but still I've never even thought about doing it.

I kind of don't understand why anyone would ever work on a build tool/package manager for a language: I expect them to be bug-free, stay out of my way, be fast - and even if it is all those things - I'll jump ship to the next big thing as soon as it's available without any appreciation for all the work that went into it!

mrspeaker··on Roblox on Linux with recent Wine 6.11
Yeah, calling it a "game" is underselling it. My nephew and niece were really into Roblox, so I thought I'd be the "cool uncle" and have a go at making something for them in Roblox Studio.

I dragged out my macbook (as there was no Linux support) and it was ridiculously easy to make a 3D multiplayer game that millions of people could play instantly (sure, only a handful of their friends played my creation, but still - if you made something good, the audience is there!). It was also a great introduction to my niece on using 3D software - she loved adding tonnes of random stuff and moving it around into weird structures.

I've tried to make multiplayer games in the past, and it's a nightmare. Having a giant player base already authenticated, with all the plumbing in place - it's just a really fun environment to develop for.

I wish there was something similar (and as popular) for making "more serious" games.

mrspeaker··on Functors and Monads for People Who Have Read Too Many “Tutorials”
To be fair, this particular article is titled 'Functors and Monads For People Who Have Read Too Many "Tutorials"'... after your tenth monad tutorial, you start getting good at reading types!
mrspeaker··on Functors and Monads for People Who Have Read Too Many “Tutorials”
If you never want to learn Haskell (or PureScript or similar) then the author even says in the `If They're So Wonderful Why Aren't They In My Favorite Language?` section:

    "If you don't need IO sequencing, or purity because your language doesn't care about purity, or the list implementation's nondeterminism because that's a parlor trick, or STM because your ecosystem doesn't use it... there's not much point to worrying about it. Monad implementations in languages other than Haskell fail to take off because there generally isn't even a single thing that is improved by working with it through a monad interface, let alone a family of such things."

    "[...]It's definitely an interesting idea, and if you are a curious programmer, it's worth learning about this particular interface and what it can do. But it's not something you generally directly take back to your language"
mrspeaker··on Functors and Monads for People Who Have Read Too Many “Tutorials”
I think the downvotes are because it kind of sounds like you didn't read the article and are saying the things that the author directly states as a "misconception":

    "It is a common misconception that "monad is the same as flatmap", which has even made its way into some "monad libraries" in non-Haskell languages. flatmap is not "monad". flatmap is the particular implementation of the monad interface on lists. If you understand flatmap, you understand the monad implementation for the list datatype... you do not understand "monads" in general."
Maybe you think the author is wrong, but your comment didn't read like you were addressing these points.
mrspeaker··on Tips for Interviewing over Zoom
I think it's the classic case of "when customers tell you something is broken, they are usually right. When customers tell you WHAT is broken, they are usually wrong".
mrspeaker··on Blender 2.93 LTS
I dream that one day whoever did that incredible transformation to Blender would do the same to Inkscape and Gimp UIs. In one or two versions it went from the past to the future!
mrspeaker··on 3D Math Primer for Graphics and Game Development
I've just been browsing for a bit, but this seems like a really great book! Most "maths for games" books feel like the authors are just regurgitating their university exams. This is very focused on the "why" rather than just the "how" - it feels like this book is actually trying to teach, not simply be a reference.

It's rare to find resources written by good teachers. I'm excited to dig in more!

mrspeaker··on Tried Nvidia’s GTX 1080 – still no external GPU on a Pi
"10% chance of releasing the magic smoke" made me laugh out loud.

Off topic-ish, but maybe someone here would know... I have a 2013 macbook pro. It's still great for coding but recently I got into Blender, and now I understand why you might want an external GPU. Is that a possibility for such an old laptop? I couldn't find any definitive information on how to go about buying one, and setting it up.

mrspeaker··on Show HN: A 64-step drum sequencer I built using React and Redux
Would be great to read a write-up on how you approached it. Also, it seems pretty tight - how are you doing the timing loop? Also also, Great job!
mrspeaker··on UFOs shows government competence as either surprisingly high or low
Not to deny your orbs (though, orbs are pretty "common" - like ball lightning)... but I saw 3 flying orbs in the 90s that I thought were ufos (or, one ufo) - like they were kind of linked, but moving independently. Weird looking. I woke my parents to come and verify I wasn't crazy. I called the telephone operator (lol, trust me, they were a thing once) to get the number for the observatory and the operator said "You saw them too? Let me know if you find out what it is!". The observatory was closed and I never chased it up.

I started thinking about that again recently and went to see if others had the same experience. Ended up finding video footage of exactly what I saw, and... US spy equipment. I have the program name written down somewhere - it wasn't Black Triangle (https://en.wikipedia.org/wiki/Black_triangle_(UFO)) - but it was something similar. I was so disappointed.

← PreviousPage 3 of 33Next →