HackerTrans
TopNewTrendsCommentsPastAskShowJobs

cabbageears

no profile record

comments

cabbageears
·2 ปีที่แล้ว·discuss


    function modifyElements(pSel, cSel, rxStr) {
        const regex = new RegExp(rxStr, 'i');
        const pEls = document.querySelectorAll(pSel);
        pEls.forEach(pEl => {
            const fEl = pEl.querySelector(cSel);
            if (fEl && regex.test(fEl.textContent)) {
                pEl.style.display = 'none';
            }
        });
    }
    
    let rx = /(hi are u lonely|want (an )?ai gf?)/i;
    
    modifyElements(".athing.comtr", ".comment", rx);
People can add onto the regex as needed, I guess. I haven't seen enough of the comments to be more specific since that seemed to get them. :-/
cabbageears
·2 ปีที่แล้ว·discuss


    function modifyElements(pSel, cSel, rxStr) {
        const regex = new RegExp(rxStr, 'i');
        const pEls = document.querySelectorAll(pSel);
        pEls.forEach(pEl => {
            const fEl = pEl.querySelector(cSel);
            if (fEl && regex.test(fEl.textContent)) {
                pEl.style.display = 'none';
            }
        });
    }
    
    let rx = /(hi are u lonely|want (an )?ai gf?)/i;
    
    modifyElements(".athing.comtr", ".comment", rx);
cabbageears
·2 ปีที่แล้ว·discuss
>The biggest dumbest problem is when blinds accelerate to the point that the minimum bet is greater than what Kelly would recommend. Some online poker sites are aggressive about this, to the point that you are forced to make irrational choices pretty quickly or get blinded out. A way to juice the house advantage I guess. It's almost enough to make me give up and find the next project.

The house does not have an advantage with poker. With player games, they earn money from hosting by taking vig(orish). But rapidly rising blinds in tournament poker is a way for them to get more games played, hence introducing turbos in tournament poker and Zone-type cash games.

Better understanding common betting patterns is more useful than hand simulators or whatever. Being able to accurately update your opponent's range throughout the hand is essentially how to play well.
cabbageears
·2 ปีที่แล้ว·discuss
You're an industry plant.
cabbageears
·2 ปีที่แล้ว·discuss
Sweet. I spent a few years cultivating mushrooms and found the hobby to be very rewarding. One can grow (legal) medicinal and gourmet mushrooms on a small scale with very little money. I recommend people interested give it a go because it's fun and offers a lot to learn. :)
cabbageears
·3 ปีที่แล้ว·discuss
The DALLE3 and other imagine ones are the worst with those instructions, especially spelling. Like spelling is impossible, but I'm sure they could update it to copy/paste text since current model can't by design. Back when they'd do 4 variants of the image, no matter what you'd say to keep in all 4 of them, it'd go slightly rogue. Very frustrating.
cabbageears
·3 ปีที่แล้ว·discuss
It took me a single try, both times. I asked it to pick a single digit from the number sequence, which it did. I then asked in another chat, "Type back a single character only. Your pick." It gave me a star character. Maybe my custom settings?
cabbageears
·3 ปีที่แล้ว·discuss
"Reverse this sequence of numbers: 473936482738338373926"

"The reversed sequence of the numbers 473936482738338373926 is 629373833837284639374."

It works like this by using Python. Even when I told it to write a JS function internally to do it and only share the answer, it overruled that. When I asked it to repeat the sequence back in the same order, but starting from the last digit and working backwards, it failed a little bit. It seems like using the language model to pivot to the correct "model" or "logic" to decide to use code is impressive.