Feed aggregator

Docling

Hacker News - Tue, 11/05/2024 - 7:06pm
Categories: Hacker News

Show HN: Hackertuah: A Hacker News CLI Built in Rust

Hacker News - Tue, 11/05/2024 - 7:05pm

This was a lot of fun!

Using Claude to start, and then Cursor to make more complicated changes, I made a Hacker News CLI, built in Rust, that has a sweet loading screen ;)

Wanted a neat way to browse hacker news, and this was a fun start.

Just a 4.7M binary on macOS.

Comments URL: https://news.ycombinator.com/item?id=42056334

Points: 1

# Comments: 0

Categories: Hacker News

22 of the Best Gifts Under $50 for 2024

CNET Feed - Tue, 11/05/2024 - 6:35pm
You don't need to spend big bucks to show how much you care. From speakers to blenders, we've found the best gifts under $50 to give your friends, family and anyone else in your life this year.
Categories: CNET

That Okta LDAP Bug

Hacker News - Tue, 11/05/2024 - 6:32pm
Categories: Hacker News

Ask HN: Can all of 32bit computing fit within a single 16GB permutation of 2^32?

Hacker News - Tue, 11/05/2024 - 6:24pm

And am I correct in intuiting that computing over the permutation would be NP-Complete?

The idea is that since technically all 32 bit opcodes, data representations, and encoding instructions(Unicode text, 24 bit color/audio) for computers come down to byte-sized combinations of bits (yes, there's nibbles and words and half-words too)--and these are necessarily limited to <2^32--, that any combination of bits used to represent an opcode or data are stored within the permutation, eliminating the need to store data beyond the 16GB partition.

Every bit pattern needed to move to another bit pattern is contained within the permutation.

This horrible Hello World bit bang I did on an 8bit CPU I made up is contained within the permutation, and could conceivably run against a virtualization of the CPU which would also be contained within the permutation if it were virtualized on a 32bit system.

0b00000011 0b10000110 0b00100000 0b10000010 0b00101000 0b10000001 0b01000100 0b10011100 0b10100110 0b00100101 0b10000001 0b01000100 0b10011001 0b01000100 0b10011100 0b10100110 0b00100110 0b10000001 0b01000110 0b10011001 0b01000100 0b10011100 0b10100110 0b10100110 0b00101111 0b10000001 0b01000100 0b10011001 0b01000100 0b10011100 0b10100110 0b00100000 0b10000100 0b10100110 0b00010111 0b10000001 0b01000100 0b10011001 0b01000100 0b10011100 0b10100110 0b00101111 0b10000001 0b01000100 0b10011001 0b01000100 0b10011100 0b10100110 0b00110010 0b10000001 0b01000100 0b10011001 0b01000100 0b10011100 0b10100110 0b00100110 0b10000001 0b01000110 0b10011001 0b01000100 0b10011100 0b10100110 0b00100100 0b10000001 0b01000100 0b10011001 0b01000100 0b10011100 0b10100110 0b00100001 0b10000100 0b10100110

The permutation, being a tape of 1s and 0s could then be acted upon by a multi-state machine to reproduce the actions necessary to play an audio file or execute a program without any additional data storage.

Has this been theorized before? Is it the sort of thing that is so obvious that it's taken for granted and not worth discussion? Is the NP-hardness of it so astronomical only the insane could and would conceive of such a folly?

Not the Turing Machine bit, obviously, but that all representations of data and program execution for any 32 bit system are necessarily contained within a permutation of the 32bit space?

Comments URL: https://news.ycombinator.com/item?id=42056090

Points: 1

# Comments: 0

Categories: Hacker News

Giveaway: Illustrated JavaScript Coding Course (For Families)

Hacker News - Tue, 11/05/2024 - 6:22pm

Dear Parents,

I’ve created a JavaScript coding course designed for the whole family!

This course is ideal for parents eager to teach their kids the basics of coding. It covers JavaScript in the browser, using the codeguppy.com platform, which is built on the widely used p5.js library—popular in both academia and creative coding.

With nearly 700 slides of beautifully illustrated content, this course is part of my mission to support coding education. As a special offer, I’m sharing 100 copies of this course in PDF format for FREE. Don’t miss out—download it while supplies last!

Download the course in PDF format

https://codeguppy.gumroad.com/l/js/ Discount code: GIVEAWAY (Enter the code, and the price will update to $0.00)

Printeed edition ================

Preview the printed edition on YouTube: https://www.youtube.com/shorts/uJmS-s4DKAM

Order your copy from Lulu: https://www.lulu.com/shop/marian-veteanu/illustrated-javascript-coding-course/paperback/product-kv8yky2.html?page=1&pageSize=4

Your Support Matters ====================

I’d love for as many people as possible to discover this course and the codeguppy.com platform. I don’t have a marketing budget, so if you enjoy the course, please consider sharing it on social media. Your support would mean the world!

Comments URL: https://news.ycombinator.com/item?id=42056079

Points: 1

# Comments: 1

Categories: Hacker News

Pages