The best Hacker News stories from Show from the past week
Latest posts:
Show HN: DataSheetGrid, an Airtable-like React component
I've built and have been maintaining a React component that renders an Airtable / Notion-like component for a few years.<p>This can be seen as an <input/> where the value is an array of objects.
You can then specify any number of columns that are each responsible for rendering an input for a specific key.<p>The component handles all accessibility features like keyboard navigation, adding / removing rows, context menu, virtualization...<p>If you ever need your users to input long lists of data, this might be a good way to render the form!
Show HN: DataSheetGrid, an Airtable-like React component
I've built and have been maintaining a React component that renders an Airtable / Notion-like component for a few years.<p>This can be seen as an <input/> where the value is an array of objects.
You can then specify any number of columns that are each responsible for rendering an input for a specific key.<p>The component handles all accessibility features like keyboard navigation, adding / removing rows, context menu, virtualization...<p>If you ever need your users to input long lists of data, this might be a good way to render the form!
Show HN: I spent 6 months building a C debugger as a 17-year-old
Hey HN my name is Thassilo, I'm a student and passionate programmer from Germany.<p>I want to showcase Spray, a small C debugger I've been working on for a few months now. Spray has a very simple and approachable interface. Its feature set is limited at this point, but it's already enough to tackle some basic problems. I stared to work on Spray because I was curious about how debuggers work. I am also trying to design Spray in such a way that it's easy to grasp and has a small mental overhead.<p>I'd love to get your feedback on Spray.<p>Email: d4kd (at) proton (dot) me<p>PS: I'm generally interested compilers and language tool chains, and I'm looking for similar-minded people to work and collaborate with. I have a few similar projects on my GitHub: <a href="https://github.com/d4ckard?tab=repositories">https://github.com/d4ckard?tab=repositories</a>. If you find Spray interesting, you might enjoy playing around with them too.
Show HN: I spent 6 months building a C debugger as a 17-year-old
Hey HN my name is Thassilo, I'm a student and passionate programmer from Germany.<p>I want to showcase Spray, a small C debugger I've been working on for a few months now. Spray has a very simple and approachable interface. Its feature set is limited at this point, but it's already enough to tackle some basic problems. I stared to work on Spray because I was curious about how debuggers work. I am also trying to design Spray in such a way that it's easy to grasp and has a small mental overhead.<p>I'd love to get your feedback on Spray.<p>Email: d4kd (at) proton (dot) me<p>PS: I'm generally interested compilers and language tool chains, and I'm looking for similar-minded people to work and collaborate with. I have a few similar projects on my GitHub: <a href="https://github.com/d4ckard?tab=repositories">https://github.com/d4ckard?tab=repositories</a>. If you find Spray interesting, you might enjoy playing around with them too.
Show HN: QBasic 4.5 on Android
My father, who hung up his coding hat in the '80s, recently entered the golden years of retirement.<p>One day, he mused about the simplicity and educational value of BASIC and wondered if there was a way to share its charm using today's technology.<p>Specifically, he was looking for an Android application that could run BASIC so he could "teach programming while drinking coffee with [his] friends".<p>Thus, BabaBASIC was born—a hat tip to 'Babá', the Greek term for "dad", and a reminder of who sparked this journey.<p>The first iteration of this was made over a 10-hour all-nighter using existing open-source libraries.<p>I ended up forking the BASIC-like implementation to make it more byte-for-byte compatible with QBasic 4.5, which is what my father used back in the 90s to teach me programming.<p>This is the first thing I have ever made of which he approves.
Show HN: Bulletpapers – ArXiv AI paper summarizer, won Anthropic Hackathon
Show HN: Inshellisense – IDE style shell autocomplete
I built this terminal native runtime for Fig's autocomplete to support Windows and Linux. Would appreciate any feedback on it!
Show HN: Ladder, open source alternative to 12ft.io and 1ft.io
Hey there<p>I made a opensource alternative for these services. Although these worked very well, I was not so confident what they do. So I made my own and opensourced it.<p>It is written in Golang and is fully customizable.
Show HN: Ladder, open source alternative to 12ft.io and 1ft.io
Hey there<p>I made a opensource alternative for these services. Although these worked very well, I was not so confident what they do. So I made my own and opensourced it.<p>It is written in Golang and is fully customizable.
Show HN: Sshx, a web-based collaborative terminal
Show HN: Sshx, a web-based collaborative terminal
Show HN: WireHub – easily create and share WireGuard networks
WireHub is a side project I've been working on, on and off, for close to a year now. It's made with django and minimal javascript.<p>It's a hosted WireGuard config generator/manager, that you can invite others to join your networks and manage their own configs/devices.<p>It's still very much a beta, maybe an mvp, but I just wanted to get some early from the community.<p>Thanks!
Show HN: WireHub – easily create and share WireGuard networks
WireHub is a side project I've been working on, on and off, for close to a year now. It's made with django and minimal javascript.<p>It's a hosted WireGuard config generator/manager, that you can invite others to join your networks and manage their own configs/devices.<p>It's still very much a beta, maybe an mvp, but I just wanted to get some early from the community.<p>Thanks!
Show HN: DoltgreSQL – Version-Controlled DB, Like Git and PostgreSQL had a baby
From the company behind Dolt—the world's first fully versioned database—comes DoltgreSQL, which implements PostgreSQL's variant of SQL.<p>DoltgreSQL is at a very early stage, and we have quite a lot of work left to do, but we'd love to hear all thoughts and opinions! You can read more in the announcement blog post: <a href="https://www.dolthub.com/blog/2023-11-01-announcing-doltgresql/" rel="nofollow noreferrer">https://www.dolthub.com/blog/2023-11-01-announcing-doltgresq...</a>
Show HN: MicroTCP, a minimal TCP/IP stack
Show HN: MicroTCP, a minimal TCP/IP stack
Show HN: Light implementation of Event Sourcing using PostgreSQL as event store
Hi everyone,<p>If you have a Java Spring Boot application with a PostgreSQL database, you can implement Event Sourcing without introducing new specialized databases or frameworks.<p>If you have an application dealing with an entity called Order, you should adopt Event Sourcing to keep track of all changes, and know how the Order got into the current state.<p>Event Sourcing gives you:<p>1. the true history of the system (audit and traceability),<p>2. the ability to put the system in any prior state (debugging),<p>3. the ability to create read projections from events as needed to respond to new demands.<p>There are several well-known specialized frameworks and databases for Event Sourcing: EventStoreDB, Marten, Eventuate, to name a few.
But adopting a new framework or database you are not familiar with may stop you from trying the Event Sourcing pattern in your project. But you can actually implement Event Sourcing with a few classes and use PostgreSQL as an event store.<p>The "postgresql-event-sourcing" project is a reference implementation of an event-sourced system that uses PostgreSQL as an event store built with Spring Boot. Fork the repository and use it as a template for your projects. Or clone the repository and run end-to-end tests to see how everything works together.<p>The project describes in detail:<p>- database model for storing events,<p>- synchronous and asynchronous event handlers,<p>- CQRS,<p>- Transactional Outbox pattern,<p>- Polling Publisher pattern,<p>- optimized publisher that uses PostgreSQL LISTEN/NOTIFY capabilities,<p>- and more.<p>This project can be easily extended to comply with your domain model.<p>The source code is available on GitHub <<a href="https://github.com/eugene-khyst/postgresql-event-sourcing">https://github.com/eugene-khyst/postgresql-event-sourcing</a>>.
Show HN: Light implementation of Event Sourcing using PostgreSQL as event store
Hi everyone,<p>If you have a Java Spring Boot application with a PostgreSQL database, you can implement Event Sourcing without introducing new specialized databases or frameworks.<p>If you have an application dealing with an entity called Order, you should adopt Event Sourcing to keep track of all changes, and know how the Order got into the current state.<p>Event Sourcing gives you:<p>1. the true history of the system (audit and traceability),<p>2. the ability to put the system in any prior state (debugging),<p>3. the ability to create read projections from events as needed to respond to new demands.<p>There are several well-known specialized frameworks and databases for Event Sourcing: EventStoreDB, Marten, Eventuate, to name a few.
But adopting a new framework or database you are not familiar with may stop you from trying the Event Sourcing pattern in your project. But you can actually implement Event Sourcing with a few classes and use PostgreSQL as an event store.<p>The "postgresql-event-sourcing" project is a reference implementation of an event-sourced system that uses PostgreSQL as an event store built with Spring Boot. Fork the repository and use it as a template for your projects. Or clone the repository and run end-to-end tests to see how everything works together.<p>The project describes in detail:<p>- database model for storing events,<p>- synchronous and asynchronous event handlers,<p>- CQRS,<p>- Transactional Outbox pattern,<p>- Polling Publisher pattern,<p>- optimized publisher that uses PostgreSQL LISTEN/NOTIFY capabilities,<p>- and more.<p>This project can be easily extended to comply with your domain model.<p>The source code is available on GitHub <<a href="https://github.com/eugene-khyst/postgresql-event-sourcing">https://github.com/eugene-khyst/postgresql-event-sourcing</a>>.
Phind Model beats GPT-4 at coding, with GPT-3.5 speed and 16k context
Hi HN,<p>We’re excited to announce that Phind now defaults to our own model that matches and exceeds GPT-4’s coding abilities while running 5x faster. You can now get high quality answers for technical questions in 10 seconds instead of 50.<p>The current 7th-generation Phind Model is built on top of our open-source CodeLlama-34B fine-tunes that were the first models to beat GPT-4’s score on HumanEval and are still the best open source coding models overall by a wide margin: <a href="https://huggingface.co/spaces/bigcode/bigcode-models-leaderboard" rel="nofollow noreferrer">https://huggingface.co/spaces/bigcode/bigcode-models-leaderb...</a>.<p>This new model has been fine-tuned on an additional 70B+ tokens of high quality code and reasoning problems and exhibits a HumanEval score of 74.7%. However, we’ve found that HumanEval is a poor indicator of real-world helpfulness. After deploying previous iterations of the Phind Model on our service, we’ve collected detailed feedback and noticed that our model matches or exceeds GPT-4’s helpfulness most of the time on real-world questions. Many in our Discord community have begun using Phind exclusively with the Phind Model despite also having unlimited access to GPT-4.<p>One of the Phind Model’s key advantages is that it's very fast. We’ve been able to achieve a 5x speedup over GPT-4 by running our model on H100s using the new TensorRT-LLM library from NVIDIA. We can achieve up to 100 tokens per second single-stream while GPT-4 runs around 20 tokens per second at best.<p>Another key advantage of the Phind Model is context – it supports up to 16k tokens. We currently allow inputs of up to 12k tokens on the website and reserve the remaining 4k for web results.<p>There are still some rough edges with the Phind Model and we’ll continue improving it constantly. One area where it still suffers is consistency — on certain challenging questions where it is capable of getting the right answer, the Phind Model might take more generations to get to the right answer than GPT-4.<p>We’d love to hear your feedback.<p>Cheers,<p>The Phind Team
Phind Model beats GPT-4 at coding, with GPT-3.5 speed and 16k context
Hi HN,<p>We’re excited to announce that Phind now defaults to our own model that matches and exceeds GPT-4’s coding abilities while running 5x faster. You can now get high quality answers for technical questions in 10 seconds instead of 50.<p>The current 7th-generation Phind Model is built on top of our open-source CodeLlama-34B fine-tunes that were the first models to beat GPT-4’s score on HumanEval and are still the best open source coding models overall by a wide margin: <a href="https://huggingface.co/spaces/bigcode/bigcode-models-leaderboard" rel="nofollow noreferrer">https://huggingface.co/spaces/bigcode/bigcode-models-leaderb...</a>.<p>This new model has been fine-tuned on an additional 70B+ tokens of high quality code and reasoning problems and exhibits a HumanEval score of 74.7%. However, we’ve found that HumanEval is a poor indicator of real-world helpfulness. After deploying previous iterations of the Phind Model on our service, we’ve collected detailed feedback and noticed that our model matches or exceeds GPT-4’s helpfulness most of the time on real-world questions. Many in our Discord community have begun using Phind exclusively with the Phind Model despite also having unlimited access to GPT-4.<p>One of the Phind Model’s key advantages is that it's very fast. We’ve been able to achieve a 5x speedup over GPT-4 by running our model on H100s using the new TensorRT-LLM library from NVIDIA. We can achieve up to 100 tokens per second single-stream while GPT-4 runs around 20 tokens per second at best.<p>Another key advantage of the Phind Model is context – it supports up to 16k tokens. We currently allow inputs of up to 12k tokens on the website and reserve the remaining 4k for web results.<p>There are still some rough edges with the Phind Model and we’ll continue improving it constantly. One area where it still suffers is consistency — on certain challenging questions where it is capable of getting the right answer, the Phind Model might take more generations to get to the right answer than GPT-4.<p>We’d love to hear your feedback.<p>Cheers,<p>The Phind Team