Best of Hacker News — December 2023
- 1
- 2
- 3
Hacker News·2y
You don't need JavaScript for that
The article discusses the rule of least power in web development, which advocates for choosing the least powerful language suitable for a given purpose. It highlights examples of using native HTML and CSS instead of JavaScript, such as creating custom switches, using the datalist element for autosuggest, utilizing the native color picker, implementing accordions, and using dialog modals. The article also mentions future features that will further reduce the need for JavaScript.
- 4
Hacker News·2y
Tailwind CSS Application UI Kit
Tailwind CSS Application UI Kit, Catalyst, offers modern UI components built with Tailwind CSS, Headless UI, and React. The components are customizable, easy to use, keyboard accessible, and available in TypeScript and JavaScript. The templates can be purchased individually or with an all-access license, with free updates included.
- 5
- 6
Hacker News·2y
Google AI for Developers
Google AI offers developers a range of tools and technologies to leverage artificial intelligence and machine learning in their projects. It brings benefits such as enhanced functionality, improved user experience, and automation. However, developers may also face challenges and limitations when working with Google AI.
- 7
- 8
Hacker News·2y
penxio/penx: A structured note-taking app for personal use.
PenX is a structured note-taking app designed for personal use. It prioritizes privacy and features local-first data ownership, end-to-end encryption for data syncing, and GitHub-based version control. The primary tech stack includes Next.js, TypeScript, tRPC, Prisma, NextAuth.js, Slate.js, and IndexedDB. The maker of PenX is 0xZion, a freelancing full-stack developer.
- 9
Hacker News·2y
Open source & zero knowledge private note taking app
Notesnook is an open-source and zero-knowledge private note-taking app that prioritizes user privacy. It offers end-to-end encryption, encrypted note syncing, password-protected notes vault, web clipping, and more. Users can access their notes on mobile and desktop devices.
- 10
- 11
Hacker News·2y
Frooodle/Stirling-PDF: locally hosted web application that allows you to perform various operations on PDF files
Stirling-PDF is a locally hosted web application for manipulating PDF files, offering various features like merging, splitting, converting, and more. It uses technologies like Spring Boot, Thymeleaf, PDFBox, LibreOffice, and Docker.
- 12
- 13
- 14
- 15
- 16
- 17
- 18
Hacker News·2y
How Plane, an open-source alternative to Jira, got to the #1 in project management on GitHub in less than a year
Plane, an open-source alternative to Jira, gained popularity on GitHub and became the #1 project management tool. They achieved this by effectively leveraging GitHub stars, building a community on Discord, creating well-crafted release notes, engaging with Reddit and Twitter communities, and making strategic announcements on Medium and Hacker News.
- 19
Hacker News·2y
Termshark • A terminal UI for tshark, inspired by Wireshark
Termshark is a terminal UI for tshark, inspired by Wireshark. It allows users to read pcap files, sniff live interfaces, use Wireshark's display filters, and more. It is available for Linux, macOS, *BSD, Android (termux), and Windows. Recent updates include packet search, profiles, configurable columns, magic wormhole, vim navigation, cmdline, packet marks, and themes.
- 20
Hacker News·2y
SQL as API
Using SQL in the API can be a viable solution for complex filtering and adding flexibility to the API. It involves validating and sanitizing the SQL input and allows for easy modification and customization. However, it requires careful documentation, has performance considerations, and may lead to vendor lock-in.
- 21
Hacker News·2y
Should you add screenshots to documentation?
Screenshots in documentation can be contentious. Outdated screenshots can decrease customer trust and slow down page loading. However, they can also make content easier to scan, provide a visual frame of reference, and supplement confusing task steps. To effectively use screenshots, it is important to consider their purpose, make them accessible, use simplified versions, and automate their creation and maintenance when possible.
- 22
Hacker News·2y
PySimpleGUI/PySimpleGUI: Launched in 2018. It's 2023 and PySimpleGUI is actively developed & supported. Create complex windows simply. Supports tkinter, Qt, WxPython, Remi (in browser). Create GUI app
PySimpleGUI is a Python package that enables programmers of all levels to create GUIs. It simplifies the process of creating windows and supports various frameworks like tkinter, Qt, WxPython, and Remi. PySimpleGUI is widely used in various applications, including games, media capture and playback, artificial intelligence, graphing, front-end GUIs, and Raspberry Pi projects. Financial support for PySimpleGUI is greatly appreciated and can be done through Buy Me a Coffee or GitHub Sponsoring.
- 23
Hacker News·2y
New in Chrome 120
Chrome 120 introduces the CloseWatcher API for handling close requests, the ability to implement an accordion pattern using the `<details>` element, and permission policy violation reports. Other highlights include relaxed CSS nesting implementation, the action in the Media Session API, and the deprecation of third-party cookies.
- 24
Hacker News·2y
microsoft/promptbase: All things prompt engineering
Promptbase is a collection of resources, best practices, and example scripts for prompt engineering, specifically for GPT-4. The article discusses the Medprompt methodology and its three distinct strategies, dynamic few-shot examples, self-generated chain of thought, and majority vote ensembling. It also introduces Medprompt+ and how it extends the power of prompting. The article provides instructions on how to run the scripts and includes links to relevant datasets and additional resources.
- 25
Hacker News·2y
Apple and Google confirm governments spy on users through push notifications
Government agencies have been spying on smartphone users through push notifications sent out by apps, according to a US senator. The senator has asked the Department of Justice to allow Apple and Google to disclose government demands for push notification data. Both Apple and Google have acknowledged the issue and committed to keeping users informed about these requests.