Readit News logoReadit News
squiffy commented on AI video you can watch and interact with, in real-time   experience.odyssey.world... · Posted by u/olivercameron
squiffy · 9 months ago
Can you say where the underground cellar with the red painting is? It's compelling.
squiffy commented on Withnail and I (2001)   criterion.com/current/pos... · Posted by u/dcminter
hounddogX · 10 months ago
If you liked Withnail & I, try "Naked" for the hard-edge & existential experience... you'll never forget "Naked" - it stays with you, for better or worse.
squiffy · 10 months ago
I still think about some scenes in Naked having only seen it once. It's brutal and uncomfortable at many points, and a brilliant film.

I was visiting Dalston, London and thought I recognised a certain house and sure enough it was the (at least exterior) filming location for "the" house in the film. It was characteristic enough to recognise even after one viewing.

squiffy commented on Medieval   teenage.engineering/produ... · Posted by u/beefman
apitman · 2 years ago
If you've never heard of bardcore it's well worth a google
squiffy · 2 years ago
Although related to bardcore, I see this product as more about creating dungeon synth and its offshoots: https://en.wikipedia.org/wiki/Dungeon_synth

which has seen a little more popularity recently, judging by the number of views this got: https://www.youtube.com/watch?v=FP9_XmmmIk0

squiffy commented on Show HN: HN Avatars in 357 bytes    · Posted by u/tomxor
onion2k · 4 years ago
This is fun.

One suggestion.. rather than creating a canvas for each user using a querySelectorAll and a loop, I'd use an IntersectionObserver and only create the canvases as they scroll into view. That way the user's device won't need to create hundreds of elements when the code runs.

    let observer = new IntersectionObserver(
    (entries) => {
        entries.forEach((entry, i) => {
        if (entry.isIntersecting) {
            const p = 2;
            const c = document.createElement('canvas');
            const x = c.getContext('2d');
            c.width = 18;
            c.height = 14;
            const s = entry.target.innerText;
            const r = 1;

            if (s) {
            for (
                let s = entry.target.innerText, r = 1, i = 28 + s.length;
                i--;

            ) {
                // xorshift32
                (r ^= r << 13), (r ^= r >>> 17), (r ^= r << 5);
                const X = i & 3,
                Y = i >> 2;
                if (i >= 28) {
                // seed state
                r += s.charCodeAt(i - 28);
                x.fillStyle =
                    '#' + ((r >> 8) & 0xffffff).toString(16).padStart(0, 6);
                } else {
                // draw pixel
                if (r >>> 29 > (X * X) / 3 + Y / 2)
                    x.fillRect(p * 3 + p * X, p * Y, p, p),
                    x.fillRect(p * 3 - p * X, p * Y, p, p);
                }
            }
            }

            entry.target.prepend(c);
        } else {
            if (entry.target.firstChild.tagName === 'CANVAS')
            entry.target.firstChild.remove();
        }
        });
    },
    { rootMargin: '0px 0px 0px 0px' }
    );

    document.querySelectorAll('.hnuser').forEach((user) => {
    observer.observe(user);
    });

squiffy · 4 years ago
This is great, thanks. A small fix I made to stop console warnings was to change:

  x.fillStyle = '#' + ((r >> 8) & 0xffffff).toString(16).padStart(0, 6);
to:

  x.fillStyle = '#' + ((r >> 8) & 0xffffff).toString(16).padStart(6, '0');
as the pad target length is the first parameter of padStart.

squiffy commented on Factorio 1.1 stable   factorio.com/blog/post/ff... · Posted by u/OrderlyTiamat
dubcanada · 5 years ago
One thing some people don't know is there is a ton of really cool mods - https://mods.factorio.com/

You can see some of the most popular at - https://mods.factorio.com/downloaded and https://mods.factorio.com/trending

squiffy · 5 years ago
Here are some recommended mods from a previous Factorio discussion: https://news.ycombinator.com/item?id=22933767 Mostly convenience/quality-of-life improvements.

I "completed" the game using a lot of these and thoroughly enjoyed it but it was incredibly addictive.

squiffy commented on What is interesting about Factorio   fuseki.net/home/WhatIsInt... · Posted by u/ivee
pmoriarty · 6 years ago
I don't know if you finished the game yet, but if you haven't, I suggest that you do so before adding mods, just so you have a good feel for what the vanilla game is like before you start changing stuff... it'll also give you a sense of what you don't like or would want more of, and that'll let you more intelligently pick mods.

That said, I'd divide mods in to several types:

First, there are convenience mods, which make certain parts of the game less annoying or less tedious. Among those, I'd recommend:

- Squeak Through - Lets your character squeeze through spaces that you couldn't in the vanilla game. It doesn't sound like much, but it make a huge difference and makes the game much less annoying.

- Tree Collision - Similar to Squek Through, this lets you move through forests easily.

- Splatter Guard - Keeps you from getting killed by trains.

- Repair from Inventory - Automatically repair items in your inventory.

- Packing Tape - Lets you carry filled containers.

- Fill4Me - Automatically fills things things like turrets with ammo when you place them.

- Even Distribution - An easy way to put the same amount of something in to multiple entities (ex: same-sized batches of coal in furnaces).

- Belt Reverser - One keystroke to reverse the direction of a belt. Much easier than doing it by hand.

- Atilla's Zoom Mod - Zoom out much further than you can in the vanilla game. Also has keystrokes for quick zoom in/out.

- Todo List - I couldn't live without this mod, which lets me keep track of what I need to do.

- Far Reach - Lets you manipulate far way items as if they were near by. This could be considered "cheating" by some, but it makes the game much more convenient. If you are concerned that the game is too easy this way, you could always raise the difficulty with other mods.

- Where Is MyBody - When you die a line will be shown on the screen pointing to your body, so you can find it more easily and get your inventory back.

- What is it really used for? - A nice way to find what items are used for (which the vanilla game does not tell you.. it only tells you how to craft items).

The second category of mods is one that adds major features to the game and/or lots of different items. In this category, I can reommend:

- Factorissimo2 - adds "factory" buildings that can contain other buildings (including, if researched, more "factory" buildings). This is very useful for packing a lot in to a little space. If you're constantly running out of space this could be a good mod for you.

- Bob & Angel's mods - if you want a trillion intermediate products to extend the game

- Yuoki Industries - lots of strange, different items and intermediate products that feel very different from vanilla

Finally, if you found the vanilla biters too easy and want more combat, I'd recommend the Rampant mod, which makes the biters smarter and tougher. If you find Rampant too hard, you can dial down the difficulty in its options and/or install some other mods that give you more powerful weapons.

Ok, so this wasn't a small list of mods.. but I couldn't narrow it down any further without feeling like I'd left out some crucial mods. Hope you find something here that interests you.

squiffy · 6 years ago
Thank you so much :). I'll try some of these next time I go down the wormhole!
squiffy commented on What is interesting about Factorio   fuseki.net/home/WhatIsInt... · Posted by u/ivee
pmoriarty · 6 years ago
For anyone here who's only played vanilla Factorio (ie. Factorio without mods), you should really try it with mods.. the mods enhance the game in so many ways (from eliminating annoyances, to making things more convenient, to adding way, way, way more content).

I absolutely loved the base game, but the mods made it 10 times better for me.

squiffy · 6 years ago
Would you have a small list of recommended mods for someone like me with ~50 hours in Factorio? Thanks.

u/squiffy

KarmaCake day15August 9, 2015View Original