Hacker Timesnew | past | comments | ask | show | jobs | submit | jesse__'s commentslogin

This somehow reminds me of the days when the fastest way to deep copy an object in javascript was to round trip through toString. I thought that was gross then, and I think this is gross now

This should be the top comment

Love this.

As an aside, if the author reads this, did you consider using bitfields for the superposition state (ie, what options are available for a tile)? I did a wfc implementation a while back and moved to bitfields after a while.. the speedup was incredible. It became faster to just recompute a chunk from scratch than backtrack because the inner loop was nearly completely branchless. I think my chunks were 100 tiles cubed or something.


> I did a wfc implementation a while back and moved to bitfields after a while.. the speedup was incredible.

Yeah, my WFC bot (which happens to generate Carcassonne maps in an amusing coincidence) eventually ended up using https://github.com/bits-and-blooms/bitset which improved things hugely.

> It became faster to just recompute a chunk from scratch

Kinda what mine does - every now and again[0] it stacks the current state and if it gets stuck, just pops the last one and continues from there.

[0] Just checked and it's every `tileCount / 20` iterations, hilariously in a variable named `tenper`. I hate past me.


I read an 'i hate myself' post one time where someone encountered a variable named leghands. Obviously, it had once read legendHandles, and had since been helpfully shortened by the author.


> If you need to wait YEARS ...

Imagine working on voyager II .. or some old-ass banking software that still runs RPG (look it up, I'll wait), or trying to hire someone to do numerical analysis for the genesis of a format that supercedes IEEE float .. or .. whatever.

There are many applications for extremely specific skillsets out there. Suggesting otherwise is, in my opinion, clearly unwise


Thanks for your work on Zulip!

I have some feedback that's annoyingly non-specific.

I used Zulip a few years ago as a contractor. It seemed _fine_, but I didn't love it. Specifically, the UI felt sluggish and generally the experience was somewhat unpolished. Maybe things have changed, a lot happens in a couple years, but there you go


Just about every UI component has been redesigned over the last two years. So your experience may be different these days :).


Of the three, I only like cars.

I'm from Canada, and I like cars for many of the same reasons I like programming. They're complicated, fickle, and go fucking fast when you get everything right. It's like mainlining adrenaline and validation at the same time.. who wouldn't like that?! They're just fucking fun


As someone who accidentally discovered the anti-depressive effects of psilocybin in my early 20s, I approve this message!


> Here, we don't have winter, fall or anything anymore.

I was in the bar in Revelstoke (where I lived, at the time) chatting with an old-timer the other year, and I asked him "is it just me, or did it used to snow more?"

He laughed, and told me that when he was a kid growing up, they weren't allowed to play on the tops of snowbanks because you'd get electrocuted by the high tension power lines. At the time, mid-winter, it was raining outside with a sad pile of slush maybe 1 foot deep.

Even when I was a kid in Revy, snowbanks were 10' deep mid-winter, every winter. It's been raining in town for the last 5 years, all winter. Winter's over. Time to start surfing, I guess.


> 60 FPS — Optimized for smooth rendering

I don't wanna dunk on this, it's a cool idea, but you can generate a lot of Perlin noise in 16ms ..


The meme at the top is absolute gold considering the point of the article. 10/10


Why does one of them have the state flag of Ohio? What AI-and-Ohio-related news did I miss?


Note that the only landmass on Earth is actually Ohio as well. Turns out, it's all Ohio. And it always has been. https://knowyourmeme.com/memes/wait-its-all-ohio-always-has-...


Thanks - I should have done an image search on the whole image. Instead, I clipped out the flag from the astronaut's shoulder and searched that, which how I found out it was the Ohio flag. I just assumed it was an AI-generated image by the author and not a common meme template.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: