Hacker News

Vector Notation in JSON (MongoDB)

Hacker News - Sat, 09/14/2024 - 7:31pm

I am using tiptap editor with React to populate my study app's mongodb database. Unfortunately, I have hit a roadblock. I want to insert characters like A with arrow on top of his head to denote A(vector). Is this possible and will my iOS and android apps display it correctly?

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

Points: 2

# Comments: 0

Categories: Hacker News

Show HN: Podcast API

Hacker News - Sat, 09/14/2024 - 6:59pm

Article URL: https://www.listennotes.com/api/

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

Points: 1

# Comments: 0

Categories: Hacker News

Ask HN: Former gifted children with hard lives, how did you turn out?

Hacker News - Sat, 09/14/2024 - 6:47pm

For various life reasons, I developed depression, and I am autistic and have ADHD (diagnosed, treated). I didn’t get treatment for my ADHD till after college.

The point of this Ask HN isn’t to start a pity party, but I am just getting some data on how others like me are doing.

I have an ACE score of 6. Currently, I look accomplished to people, but I don’t feel accomplished. My estimated networth is maybe 300K or more with home equity. My biggest concern with my quality of life is I don’t feel safe (don’t ask).

So what’s your ACE score, and how satisfied are you with your life?

ACE quiz: https://www.npr.org/sections/health-shots/2015/03/02/387007941/take-the-ace-quiz-and-learn-what-it-does-and-doesnt-mean

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

Points: 2

# Comments: 1

Categories: Hacker News

Show HN: I made a digital circuit drawing and simulation game

Hacker News - Sat, 09/14/2024 - 6:43pm

Inspired by games like Turing Complete/Virtual Circuit Board/Logic World, I tried to make a mix of aseprite and wiredworld/wired-logic, the idea being the user can build a digital circuit using a "fullstack" pixelart creation workflow.

The circuit is just an image. The primitives are (i) connected wires which have undefined, 0 or 1 state during simulation (displayed brighter or darker in function of the state) and (ii) NANDs, which are little pixel triangles. During simulation the user can interact with any wire by clicking on it, toggling its state, which is cool for messing around when learning. The simulation uses a unit-delay event driven algorithm.

Then, on top of that there are little wire interfaces on the left side of the image that communicate with an external system. This external system is defined in lua and is simulated together with the main circuit (they alternate until convergence). By default there's a sandbox mode with a clock and a power-on-reset signal. The user can choose other "levels", where the API change and there are some problems to solve, from finding if a number is multiple of 3 to solving hanoi tower to finding if a number is prime. The idea is that if the user want to learn but not sure what to do they can try to solve these puzzles, or they can change the lua scripts to add their own stuff/interface for a custom project.

I've also included a small wiki (circuitopedia) with some basic digital concepts to guide those who are new or are a bit rusty. It's not super detailed but I guess it can at the very least present the concepts so the user can dig further on more serious material if they want to.

I developed the game in C with raylib, with scripting in lua/luajit. I've put the game on steam (for windows) and released the source code on github under GPLv3. There's also a web demo version on itch.io, even though it's a bit laggy: https://lets-all-be-stupid-foreva.itch.io/circuit-artist-dem... .

Feedback is appreciated!

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

Points: 1

# Comments: 0

Categories: Hacker News

Ask HN: How do you find an SO?

Hacker News - Sat, 09/14/2024 - 6:37pm

I wfh, with no activities to think of, how can I find someone?

How did you find yours?

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

Points: 2

# Comments: 1

Categories: Hacker News

Pages