The best Hacker News stories from Show from the past week
Latest posts:
Show HN: Pg_jsonschema – A Postgres extension for JSON validation
pg_jsonschema is a solution we're exploring to allow enforcing more structure on json and jsonb typed postgres columns.<p>We initially wrote the extension as an excuse to play with pgx, the rust framework for writing postgres extensions. That let us lean on existing rust libs for validation (jsonschema), so the extension's implementation is only 10 lines of code :)<p><a href="https://github.com/supabase/pg_jsonschema/blob/fb7ab09bf6050130e8d656f2999ec0f6a3fedc0d/src/lib.rs#L1-L13" rel="nofollow">https://github.com/supabase/pg_jsonschema/blob/fb7ab09bf6050...</a><p>happy to answer any questions!
Show HN: Pg_jsonschema – A Postgres extension for JSON validation
pg_jsonschema is a solution we're exploring to allow enforcing more structure on json and jsonb typed postgres columns.<p>We initially wrote the extension as an excuse to play with pgx, the rust framework for writing postgres extensions. That let us lean on existing rust libs for validation (jsonschema), so the extension's implementation is only 10 lines of code :)<p><a href="https://github.com/supabase/pg_jsonschema/blob/fb7ab09bf6050130e8d656f2999ec0f6a3fedc0d/src/lib.rs#L1-L13" rel="nofollow">https://github.com/supabase/pg_jsonschema/blob/fb7ab09bf6050...</a><p>happy to answer any questions!
Show HN: I'm building a browser-based DAW
Show HN: This Food Does Not Exist
Tell HN: My new free note taking tool
So there are a lot of posts here about personal knowledge databases & note taking apps ... and methodologies. I wanted a way to keep track of info & just as importantly be able to easily see & edit that data from anywhere.<p>I wanted it to be robust, free, web-based, able to host code examples as actual files (e.g. style.css or script.js), and host images.<p>Turns out this is all available with Github & Gitlab.<p>Step 1: Create a Private Repo
Step 2: Hit the . key or use the editor URL pattern: https://github.dev/{{username}}/{{repo-name}}
Step 3: Start using ... you can add sub-directories with Markdown for notes ... you can add all the file types above.<p>For Gitlab just click "Web IDE" from your project's homepage.<p>(I made this URL: https://github.dev/{{username}}/{{repo-name}} my homepage, making it super easy to access.)<p>This is absolutely nothing new; but the epiphany I had a week or so ago about using a repo in this way seems to have really stuck (yes, a week is a short period of time but often a note app or approach sticks for a day or 2 for me).<p>I'm really curious if others do something like this & what other sorts of practices they might employ while doing this.
Show HN: I built a self hosted recommendation feed to escape Google's algorithm
I created this chrome extension for myself where I track my own behavior locally and recommend myself content from platforms I want content from (youtube/twitter/quora/etc) in a feed. I made it public just in case anyone else was interested.<p>I would rather have control over my own algorithm and own the data. Also, it gives me flexibility. Turns out I do like these feeds just not when I don't own it haha. Let me know what you think of my implementation?
Show HN: I made some ambient music generators that run in your browser
Show HN: tere – A Faster Alternative to cd+ls
Hi HN!<p>I wrote a small program to browse folders in the terminal. The main inspiration was type-ahead search in GUI file managers. There exist several programs that are similar (see the listing in the README), but none of them do it quite the way I like, and often they have a very complex UI and a ton of features. I tried to make something that is obvious how to use and gets out of your way. (I also wanted an excuse to learn Rust.)<p>Let me know what you think!
Show HN: tere – A Faster Alternative to cd+ls
Hi HN!<p>I wrote a small program to browse folders in the terminal. The main inspiration was type-ahead search in GUI file managers. There exist several programs that are similar (see the listing in the README), but none of them do it quite the way I like, and often they have a very complex UI and a ton of features. I tried to make something that is obvious how to use and gets out of your way. (I also wanted an excuse to learn Rust.)<p>Let me know what you think!
Show HN: I built an app for when I talk too much in online meetings
Hey HN!<p>Alexis here, I’m a product manager and software developer in Berlin by way of New York.<p>I want to show you this app I made – It’s like a "buddy" for those, like myself, who inadvertedly talk too much in meetings.<p>The app gives me feedback and a little more in control of what I have influence over by:<p>* Keeping track of how long I’ve been speaking<p>* Catching myself before I talk too much<p>* Developing a better sense of timing<p>I truly love having conversations with people in real-life.<p>But online meetings, especially group calls, tend to make me nervous. I can't read body language. The tone of voice, micro-experessions and social cues get lost.<p>If you, too, accidentally talk too much too often, check it out "Unblah". Watch the quick 2-minute demo and download the macOS app over at <a href="https://unblah.me/" rel="nofollow">https://unblah.me/</a>.<p>Cheers!<p>Alexis<p>PS: There’s a whole FAQ section for common questions you may have – Including if this is yet another "native" Electron app ;)<p>edit: bullet-list formatting
Show HN: I built an app for when I talk too much in online meetings
Hey HN!<p>Alexis here, I’m a product manager and software developer in Berlin by way of New York.<p>I want to show you this app I made – It’s like a "buddy" for those, like myself, who inadvertedly talk too much in meetings.<p>The app gives me feedback and a little more in control of what I have influence over by:<p>* Keeping track of how long I’ve been speaking<p>* Catching myself before I talk too much<p>* Developing a better sense of timing<p>I truly love having conversations with people in real-life.<p>But online meetings, especially group calls, tend to make me nervous. I can't read body language. The tone of voice, micro-experessions and social cues get lost.<p>If you, too, accidentally talk too much too often, check it out "Unblah". Watch the quick 2-minute demo and download the macOS app over at <a href="https://unblah.me/" rel="nofollow">https://unblah.me/</a>.<p>Cheers!<p>Alexis<p>PS: There’s a whole FAQ section for common questions you may have – Including if this is yet another "native" Electron app ;)<p>edit: bullet-list formatting
Show HN: Porting OpenBSD Pledge() to Linux
Show HN: Porting OpenBSD Pledge() to Linux
Show HN: Remove unwanted objects in photos simply by dragging boxes
Show HN: Inflation-adjusted stock charts – Total Real Returns
Here's a little side project I’ve been working on: <a href="https://totalrealreturns.com/" rel="nofollow">https://totalrealreturns.com/</a> The Total Real Returns chart demonstrates the preservation or growth of real wealth more clearly than conventional (nominal-dollar, price-only) stock charts, because: (1) we include the effects of inflation-diminished purchasing power, and (2) we include the effects of reinvesting dividends from the initial investment.<p>I found it harder to explain the y-axis in words than it was to do the math, so please let me know if you think the "baguettes" explanation on the homepage helps.<p>I was up until 4am ET finishing some features on this, and then at 8:30am ET the BLS released the new CPI numbers through their API: <a href="https://download.bls.gov/pub/time.series/cu/" rel="nofollow">https://download.bls.gov/pub/time.series/cu/</a> and I was able to manually re-run my daily cronjob with the new numbers, so it's up to date! If you catch any bugs, please let me know via the “Report a bug” link in the footer of every page.<p>Some FAANG examples: <a href="https://totalrealreturns.com/s/META" rel="nofollow">https://totalrealreturns.com/s/META</a><p><a href="https://totalrealreturns.com/s/GOOGL" rel="nofollow">https://totalrealreturns.com/s/GOOGL</a><p><a href="https://totalrealreturns.com/s/AMZN" rel="nofollow">https://totalrealreturns.com/s/AMZN</a><p><a href="https://totalrealreturns.com/s/AAPL" rel="nofollow">https://totalrealreturns.com/s/AAPL</a><p><a href="https://totalrealreturns.com/s/NFLX" rel="nofollow">https://totalrealreturns.com/s/NFLX</a><p>Comparing three Vanguard treasury funds, showing vividly the impact of bond duration (short-term, intermediate-term, long-term) on both risk and reward: <a href="https://totalrealreturns.com/s/VFISX,VFITX,VUSTX" rel="nofollow">https://totalrealreturns.com/s/VFISX,VFITX,VUSTX</a>
Tell HN: We are trying to get tail calls into the WebAssembly standard
WebAssembly is a modern bytecode supported by all browsers and designed to be a compiler target for a wide variety of programming languages.<p>To effectively support some forms of Functional Programming support for tail-calls has been proposed as an extension to the WebAssembly standard.<p>This proposal has reached Phase3 of the standardization process years ago, but has since stalled.<p>Phase3 is known as "the implementation phase" and the prerequisite for advancing the proposal to Phase4 is to have support in two different browser engines. V8/Chrome support has been available for a long time, so another engine is required.<p>To unblock this situation we have contributed full support for WebAssembly Tail Calls to JavaScript/WebKit/Safari. The PR is available here:<p><a href="https://github.com/WebKit/WebKit/pull/2065" rel="nofollow">https://github.com/WebKit/WebKit/pull/2065</a><p>An in-depth article about the challenges of implementing this feature is also available. This is intended both as documentation for our contribution, but also as a general explainer about how tails calls actually work, with a particular focus on stack space management.<p><a href="https://leaningtech.com/fantastic-tail-calls-and-how-to-implement-them/" rel="nofollow">https://leaningtech.com/fantastic-tail-calls-and-how-to-impl...</a>
Show HN: Colorvote.io – ranking all sRGB web colors by popularity
Show HN: Colorvote.io – ranking all sRGB web colors by popularity
Show HN: Ants Sandbox - an ants simulator
I was inspired to make a web based ants simulator after watching this video <a href="https://www.youtube.com/watch?v=81GQNPJip2Y" rel="nofollow">https://www.youtube.com/watch?v=81GQNPJip2Y</a><p>Any feedback appreciated.<p>Best viewed on Chromium based browsers. Firefox is slow for some reason and Safari is not tested as I don't have a Mac.
Show HN: Ants Sandbox - an ants simulator
I was inspired to make a web based ants simulator after watching this video <a href="https://www.youtube.com/watch?v=81GQNPJip2Y" rel="nofollow">https://www.youtube.com/watch?v=81GQNPJip2Y</a><p>Any feedback appreciated.<p>Best viewed on Chromium based browsers. Firefox is slow for some reason and Safari is not tested as I don't have a Mac.