StrandedKitty | 1 year ago | on: University of Alabama Engineer Pioneers New Process for Recycling Plastics
StrandedKitty's comments
StrandedKitty | 1 year ago | on: Show HN: Simplify Tailwindcss with This Library
What makes it better compared to de-facto standard `classnames` library?
const styles = tw({
base: "p-4 rounded-lg shadow-md",
dark: { if: isDarkMode, classes: "bg-gray-800 text-white" },
light: { if: !isDarkMode, classes: "bg-white text-black" },
});
can be written as const styles = classNames("p-4 rounded-lg shadow-md", {
"bg-gray-800 text-white": isDarkMode,
"bg-white text-black": !isDarkMode,
});
which requires less boilerplate and arguably looks a bit cleaner.StrandedKitty | 2 years ago | on: 3D OpenStreetMap
It was never really meant to work on mobile. Honestly, this is more of a personal playground to try out different graphics algorithms, above anything. But the mobile version is requested a lot, so I will try finding time to work on it.
StrandedKitty | 2 years ago | on: Streets.gl – a 3D map of the world that uses OpenStreetMap data
Streets GL is a web-based 3D map that uses OpenStreetMap data to render features such as buildings, roads, paths, trees, etc. on top of a dynamic terrain. Geometry for tiles is generated in runtime.
Source code is available on GitHub: https://github.com/strandedkitty/streets-gl
page 2
It looks like the best solution the municipality has managed to come up with so far is to attach metal cupholder-like thingies to new trash cans, and people are expected to put statiegeld bottles and cans there, so that others can take them later and get a refund. Though I don't know how a regular uninformed person is supposed to figure out what these cupholders are for -- it's not intuitive at all.