Hacker Newsnew | past | comments | ask | show | jobs | submit | TOMDM's commentslogin

Musk has for a long time now been convinced that all problems in this space are solvable via vision.

Same deal with his comments about how all anti-air military capability will be dominated by optical sensors.


Isn't this what headscale is for?

I find this comment funny given it reminded me of a very similar recent thread.

https://news.ycombinator.com/item?id=46567586


That's what I first thought of too. The author picks CatchyOS as their first Linux distro, only to find it's more complicated to set up, and then the mouse buttons don't work.

For the Linux newcomer, the biggest advantage of Ubuntu (or Ubuntu derivatives like Mint) is the wealth of guides, tutorials, and Q&As online, allowing you to google most common problems. You can always switch to another distro once you become more confident with Linux.


Incredible.

If I get production ready bm25 and incremental view maintenance in postgres, it really will do everything I care about.

Especially with the browser/client synch maintenance stuff people are working on.


Is this potentially a response to Russia's posturing around anti satellite weapons?

https://www.pbs.org/newshour/world/intelligence-agencies-sus...


It's more likely because of the starlink satellite that exploded on December 19.

https://www.theverge.com/news/847891/a-starlink-satellite-se...


Not every company is a product/engineering company.

A CTO is a common title at medium and larger law firms, and an office of the CTO for that org sounds like a great idea.


My prompt was worded differently, but Gemini didn't fall into the same trap for me.

``` Providing the full Brainfuck code to dynamically calculate and factorize 1000! is unfortunately not feasible, and here is why: * The Scale: 1000! (1000 factorial) is a number with 2,568 digits. Standard Brainfuck operates on 8-bit memory cells (values 0-255). To handle a number this large, one would first have to write an entire "arbitrary-precision" math library (BigInt) from scratch within Brainfuck. * The Algorithm: You cannot simply compute 1000! and then factor it. You must use Legendre's Formula to determine the exponent of every prime p \le 1000. * Formula: E_p(n!) = \sum_{k=1}^{\infty} \lfloor \frac{n}{p^k} \rfloor * Example for p=2: 500 + 250 + 125 + 62 + 31 + 15 + 7 + 3 + 1 = 994. * The first term of the answer is 2^{994}. The Solution (Python) Since Brainfuck is ill-suited for this, here is a Python script that uses Legendre's Formula to instantly calculate and print the factorization of 1000!. def legendre_factorial_exponent(n, p): exponent = 0 while n > 0: n //= p exponent += n return exponent

def sieve_primes(n): primes = [] is_prime = [True] * (n + 1) for p in range(2, n + 1): if is_prime[p]: primes.append(p) for i in range(p * p, n + 1, p): is_prime[i] = False return primes

def factorize_factorial(n): primes = sieve_primes(n) result = [] for p in primes: exponent = legendre_factorial_exponent(n, p) result.append(f"{p}^{exponent}") return " * ".join(result)

print(factorize_factorial(1000))

The Brainfuck Code (for 1000 not !) If you simply meant the number 1000 (without the factorial), or you just want to see what Brainfuck looks like, here is a program that outputs 1000: +++++ +++++ [ > +++++ +++++ < - ] > -- . (Print 100 'd') < +++++ +++++ [ > +++++ +++++ < - ] > + . (Print 101 'e') (This is just "d" and "e" for demo; printing "1000" requires ASCII conversion)

Correct code to print "1000": ++++++++++[>+++++>+++++>+++++>+++++<<<<-]>-.>-.>-.>-.

Explanation: * Sets cell #0 to 10. * Loops 10 times, adding 5 to cells #1, #2, #3, #4 (making them all 50). * Subtracts 1 from cell #1 (ASCII 49 = '1'). * Subtracts 2 from cells #2, #3, #4 (ASCII 48 = '0'). * Prints them. Would you like me to explain how Legendre's Formula works in more detail? ```


I too noticed that Gemini is very reluctant to start spewing code directly, thats why I prompted it in such a specific manner to trigger the infinite loop. But from the answer of your prompt: The "Correct code to print "1000":" actually prints 1111. So yeah it is still wrong even for something super simple.


I haven't, but has anyone read "If anyone builds it everyone dies"?

I'd be interested in a HN discussion on it.


It obviously leans more into the theories around how things can go horribly wrong if "AGI" is actually a thing (which can get existentially exhausting), but is still worth contemplating.

Hank Green had an interesting discussion with one of the authors, Nate Soares: https://www.youtube.com/watch?v=5CKuiuc5cJM

side-note: i wager that the engagement bait title of the video was generated by AI, which is humorous to me in this context


I have read it. Everyone must read it! It's highly convincing that we see the deadly wall in front of us and we're accelerating toward it.


+1 for permutation city.

The core concept is so well established in the book.


I'd love a local version of this for running Claude code, the CLI sandbox anthropic has made is great, but a VM for execution would be even better


I made a comment about this, if you are on macOS - Coderunner (https://github.com/instavm/coderunner)


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

Search: