The best Hacker News stories from Show from the past day
Latest posts:
Show HN: Qboard, a drawing app with Vim-style keybindings
I was frustrated with drawing apps where the eraser was E and the pen was P. Often, when I'm drawing, I want to quickly erase and then switch back to the pen. As one of my hands is on my mouse or tablet, I have to use my other hand to reach across the keyboard. I wanted a drawing app with customizable keybindings, so I made qboard a while back and have used it since.<p>I talk more about the design principles on the Github repo: <<a href="https://github.com/cjquines/qboard/#design-principles" rel="nofollow">https://github.com/cjquines/qboard/#design-principles</a>>.
Show HN: A CLI to avoid remembering HTTP status codes
To understand the meaning of an HTTP status code and list all codes belonging to a specific class from your terminal.
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: 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: 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: Babble – Communicate privately on state-sponsored social media
Thanks for checking out Babble! You might wonder why this app is even useful and why not just use Signal/PGP. This app's target audience is actually ordinary people in China or similar countries who are under severe government surveillance and censorship, where access to Signal and similar E2EE messaging software is blocked by nationwide firewalls, such as the Great Firewall of China (GFW).<p>Chinese people have been deprived of freedom of speech even before the COVID-19 pandemic. Li Wenliang, who was among the first to notice the spread of the virus and warned his colleagues about it in a <i>private</i> WeChat group, was admonished by the police for "spreading rumors"; his punishment was then aired on the national TV channel. After Wenliang passed away due to getting COVID-19 himself, discussions about it on China's public Internet were highly restricted; most discussions will be deleted upon being posted, which was done by some automatic keyword detection mechanism.<p>Things got even worse over the years and especially during the Shanghai lockdown in early 2022. Everything related to questioning the public health policy is banned. Many people posted articles about how bad Shanghai's economic and social situation is on their WeChat public accounts. None of these articles, not even their accounts, can survive for longer than a few hours. Even articles crying for help, because people were starving, got deleted.<p>A video called Voice from Shanghai Lockdown (<a href="https://youtu.be/38_thLXNHY8" rel="nofollow">https://youtu.be/38_thLXNHY8</a>), which contains audio recordings of desperate Shanghai people during the lockdown, went viral on Chinese social media at the end of this April. Unsurprisingly, this video was immediately censored. People got angry and tried to spread this video as much as possible by re-posting it again and again, racing against the detection algorithm. But it was futile.<p>It's just like 1984, where the number of words available to say "legally" is decreasing. There are no tools available for people to speak out. Public social media and private messaging apps are all monitored by the government. Foreign tools such as Telegram, Signal, or anything similar are blocked by the GFW. PGP is too technical for normal people. The goal of Babble is to provide those people with a cryptographic and steganographic tool that's easy enough to use but secure enough against a censorship system. It's not perfect as of now, but we are making an effort to make it better.<p>Yes, Babble might get removed from the App Store in China if the Chinese government asks, but it's fundamentally different from Signal being blocked - there are a considerable number of people in China who has an overseas Apple ID so that they can download apps not on Chinese App Store, but to use Signal, you have to bypass GFW, which fewer people know how to. One of the real challenges for this project though, is how to get people aware of the situation, because our education is brainwashing and people are starting to take surveillance and censorship for granted. And it's very hard for the app to reach its intended audience because the surveillance system is designed to prevent them from accessing this kind of tool.
Show HN: bashttp - a very (very) simple web server in Bash
Show HN: bashttp - a very (very) simple web server in Bash
Show HN: bashttp - a very (very) simple web server in Bash
Show HN: I'm building a browser-based DAW
Show HN: I'm building a browser-based DAW
Show HN: I'm building a browser-based DAW
Show HN: This Food Does Not Exist
Show HN: This Food Does Not Exist
Show HN: This Food Does Not Exist
Show HN: This Food Does Not Exist
Show HN: This Food Does Not Exist