Readit News logoReadit News
soxfox42 commented on Show HN: Website to APK Convertor   website2apps.com/... · Posted by u/Codegres
soxfox42 · 3 months ago
This domain was registered today, yet the website claims "10,000+ Apps Created" and lists a copyright date of 2024. None of the links in the site footer work, nor does the "See How It Works" button. There's nothing to show that this site can even do what it claims, and it immediately requests payment without allowing you to verify that any given site will work with it.

Basically, I'm saying that this looks like a simple AI generated scam.

soxfox42 commented on Fizz Buzz without conditionals or booleans   evanhahn.com/fizz-buzz-wi... · Posted by u/ingve
somat · 4 months ago
Enumerating all values probably can't be done in python as that requires some sort of unchecked loop construct, that is a goto or bare loop nether of which is present in python. perhaps a recursive solution(throws up a little in mouth)

baring that I too got nerd sniped by this and unsatisfied by the limitations of the authors solution here is my attempt. and when I read up on fizzbuz to make sure I was solving the correct thing. (I was not and my elegant duel state engine was wasted) it turns out the problem solution could be as simple as

    f_out = ['', '', 'fizz']
    b_out = ['', '', '', '', 'buzz']
    
    def fizz_buz(n):
        return(f_out[n % 3] +  b_out[n % 5])
anyhow the rest of my clever but unneeded and useless enumeration system, remember to read the spec first.

    f_state = {
        0:1,
        1:2,
        2:0,
        }

    b_state = {
        0:1,
        1:2,
        2:3,
        3:4,
        4:0,
        }

   def fizz_buzz_all():
        f_index = 0
        b_index = 0
        while 1: #how to loop with no end check?
            print(f_out([f_index] + b_out[b_index] )
            f_index = f_state[f_index]
            b_index = b_state[b_index]
and the recursive solution:

    def fizz_buzz_recurse(n):
        print(fizz_buzz(n))
        fizz_buzz_recurse(n + 1)

soxfox42 · 4 months ago
That solution fails for any value that is a multiple of neither 3 nor 5. In those cases, the result should be the original number.
soxfox42 commented on Google will allow only apps from verified developers to be installed on Android   9to5google.com/2025/08/25... · Posted by u/kotaKat
bithaze · 7 months ago
There's a ctrl+open shortcut, if I remember correctly, which may be what the parent comment is referring to.
soxfox42 · 7 months ago
As of macOS 15 (I think?), that shortcut stopped working, it will just show the same unverified software warning.
soxfox42 commented on Apple is reportedly going to rename all of its operating systems   theverge.com/news/675945/... · Posted by u/thesuperbigfrog
thesuperbigfrog · 9 months ago
Does the new naming scheme imply yearly releases for all of the Apple operating systems?
soxfox42 · 9 months ago
They've all been receiving yearly releases for a long time now – macOS has had them since Lion, iOS had them from the beginning, and the others are similar.
soxfox42 commented on Show HN: Semantic Calculator (king-man+woman=?)   calc.datova.ai... · Posted by u/nxa
__MatrixMan__ · 10 months ago
Here's a challenge: find something to subtract from "hammer" which does not result in a word that has "gun" as a substring. I've been unsuccessful so far.
soxfox42 · 10 months ago
hammer - red = lock

u/soxfox42

KarmaCake day4May 15, 2025View Original