The best Hacker News stories from Show from the past day
Latest posts:
Show HN: All-SVG websites with complex animation
I created a system for building SVG-only websites called Svija. But, though the content was nice, the sites felt too static — a bit flat and lifeless. Even a basic HTML website has mouseover effects, but SVG doesn't have them for free the way HTML does.<p>I wanted to find an easy way to recreate mouseover functionality in SVG. For my first try, I labeled objects in Adobe Illustrator:<p><pre><code> • linkSomeName: an invisible link <rect> (over the link text)
• mouseoverSomeName: a <g> mouseover decoration (usually bold or colored text, or an underline), initially hidden
</code></pre>
The two objects are connected by "SomeName", and a javascript event listener attached to the link object would change the mouseover object's CSS display from "none" to "block".<p>Once I had used it for a bit, I thought that it might be nicer if the effects faded in and out. So, I tried animating the transitions with GSAP. It immediately became clear that there was enormous potential to manage complex animations visually, and I worked over the
summer to create Svija Vibe.<p>It's all based on linking Adobe Illustrator object names to the GSAP script. Most basic transformations already work well but there's a lot I'll be able to do to make it even simpler to use.<p>I'm really excited about it! I've only just started but I have a million ideas about how to make it more capable — the big one being the ability to chain animations together.<p>There's a support document at <a href="https://tech.svija.love/how/animation" rel="nofollow">https://tech.svija.love/how/animation</a> that gives more detail about exactly what can be done.<p>Svija Vibe is free. It works with Svija, which is also free, but you do need to create an account to use it (Maconly, at least for the next three months).<p><a href="https://news.ycombinator.com/item?id=29430368" rel="nofollow">https://news.ycombinator.com/item?id=29430368</a> · previous HN about Svija 2022-12-03<p><a href="https://news.ycombinator.com/item?id=30454324" rel="nofollow">https://news.ycombinator.com/item?id=30454324</a> · previous HN about animation 2022-02-24<p><a href="https://greensock.com" rel="nofollow">https://greensock.com</a> · GSAP
Show HN: Cozo – new Graph DB with Datalog, embedded like SQLite
Hi HN, I have been making this Cozo database since half a year ago, and now it is ready for public release.<p>My initial motivation is that I want a graph database. Lightweight and easy to use, like SQLite. Powerful and performant, like Postgres. I found none of the existing solutions good enough.<p>Deciding to roll my own, I need to choose a query language. I am familiar with Cypher but consider it not much of an improvement over CTE in SQL (Cypher is sometimes notationally more convenient, but not more expressive). I like Gremlin but would prefer something more declarative. Experimentations with Datomic and its clones convinced me that Datalog is the way to go.<p>Then I need a data model. I find the property graph model (Neo4j, etc.) over-constraining, and the triple store model (Datomic, etc.) suffering from inherent performance problems. They also lack the most important property of the relational model: being an algebra. Non-algebraic models are not very composable: you may store data as property graphs or triples, but when you do a query, you always get back relations. So I decided to have relational algebra as the data model.<p>The end result, I now present to you. Let me know what you think, good or bad, and I'll do my best to address them. This is the first time that I use Rust in a significant project, and I love the experience!
Show HN: Cozo – new Graph DB with Datalog, embedded like SQLite
Hi HN, I have been making this Cozo database since half a year ago, and now it is ready for public release.<p>My initial motivation is that I want a graph database. Lightweight and easy to use, like SQLite. Powerful and performant, like Postgres. I found none of the existing solutions good enough.<p>Deciding to roll my own, I need to choose a query language. I am familiar with Cypher but consider it not much of an improvement over CTE in SQL (Cypher is sometimes notationally more convenient, but not more expressive). I like Gremlin but would prefer something more declarative. Experimentations with Datomic and its clones convinced me that Datalog is the way to go.<p>Then I need a data model. I find the property graph model (Neo4j, etc.) over-constraining, and the triple store model (Datomic, etc.) suffering from inherent performance problems. They also lack the most important property of the relational model: being an algebra. Non-algebraic models are not very composable: you may store data as property graphs or triples, but when you do a query, you always get back relations. So I decided to have relational algebra as the data model.<p>The end result, I now present to you. Let me know what you think, good or bad, and I'll do my best to address them. This is the first time that I use Rust in a significant project, and I love the experience!
Show HN: Cozo – new Graph DB with Datalog, embedded like SQLite
Hi HN, I have been making this Cozo database since half a year ago, and now it is ready for public release.<p>My initial motivation is that I want a graph database. Lightweight and easy to use, like SQLite. Powerful and performant, like Postgres. I found none of the existing solutions good enough.<p>Deciding to roll my own, I need to choose a query language. I am familiar with Cypher but consider it not much of an improvement over CTE in SQL (Cypher is sometimes notationally more convenient, but not more expressive). I like Gremlin but would prefer something more declarative. Experimentations with Datomic and its clones convinced me that Datalog is the way to go.<p>Then I need a data model. I find the property graph model (Neo4j, etc.) over-constraining, and the triple store model (Datomic, etc.) suffering from inherent performance problems. They also lack the most important property of the relational model: being an algebra. Non-algebraic models are not very composable: you may store data as property graphs or triples, but when you do a query, you always get back relations. So I decided to have relational algebra as the data model.<p>The end result, I now present to you. Let me know what you think, good or bad, and I'll do my best to address them. This is the first time that I use Rust in a significant project, and I love the experience!
Show HN: Game of Life on non-square topologies with 2^32 update rules
Hi HN, when learning Golang (and topology), I ported a simple GOL in C (<a href="https://github.com/Jeadie/GoL" rel="nofollow">https://github.com/Jeadie/GoL</a>) into Go. I then added a bunch of features
- Playing on other fundamental polygons (<a href="https://en.wikipedia.org/wiki/Fundamental_polygon#Examples_of_Fundamental_Polygons_Generated_by_Parallelograms" rel="nofollow">https://en.wikipedia.org/wiki/Fundamental_polygon#Examples_o...</a>)
- Considering all possible update rules (of which, there are many).<p>Looking to get back to this project soon. Would love some feedback + ideas.
Show HN: Game of Life on non-square topologies with 2^32 update rules
Hi HN, when learning Golang (and topology), I ported a simple GOL in C (<a href="https://github.com/Jeadie/GoL" rel="nofollow">https://github.com/Jeadie/GoL</a>) into Go. I then added a bunch of features
- Playing on other fundamental polygons (<a href="https://en.wikipedia.org/wiki/Fundamental_polygon#Examples_of_Fundamental_Polygons_Generated_by_Parallelograms" rel="nofollow">https://en.wikipedia.org/wiki/Fundamental_polygon#Examples_o...</a>)
- Considering all possible update rules (of which, there are many).<p>Looking to get back to this project soon. Would love some feedback + ideas.
Show HN: textshader.com
TLDR: Click the link to see some cool visualizations, refresh a few times for random examples, and try editing some of the code yourself.<p>This is a small weekend project of mine inspired by shadertoy.com<p>It's a static single-page site hosted on GitHub pages so the website design is pretty barebones. I'm not a web developer so I mainly wanted to create a Cool Thing with my free time and not have to learn tons of front-end to do it.<p>I'd love to hear what people think about it and please post or send me any shaders you make! You can use the link button in the bottom right to share.<p>I hope that this gets more people interested in shaders because GPU programming is a pretty different paradigm and learning it has made me a better software engineer even though my current job doesn't touch it. That said, textshader only runs normal Javascript on the CPU so think of it like a simplified sandbox and not the real thing. I'd highly recommend checking out shadertoy to level up to the real deal too!
Show HN: textshader.com
TLDR: Click the link to see some cool visualizations, refresh a few times for random examples, and try editing some of the code yourself.<p>This is a small weekend project of mine inspired by shadertoy.com<p>It's a static single-page site hosted on GitHub pages so the website design is pretty barebones. I'm not a web developer so I mainly wanted to create a Cool Thing with my free time and not have to learn tons of front-end to do it.<p>I'd love to hear what people think about it and please post or send me any shaders you make! You can use the link button in the bottom right to share.<p>I hope that this gets more people interested in shaders because GPU programming is a pretty different paradigm and learning it has made me a better software engineer even though my current job doesn't touch it. That said, textshader only runs normal Javascript on the CPU so think of it like a simplified sandbox and not the real thing. I'd highly recommend checking out shadertoy to level up to the real deal too!
Show HN: textshader.com
TLDR: Click the link to see some cool visualizations, refresh a few times for random examples, and try editing some of the code yourself.<p>This is a small weekend project of mine inspired by shadertoy.com<p>It's a static single-page site hosted on GitHub pages so the website design is pretty barebones. I'm not a web developer so I mainly wanted to create a Cool Thing with my free time and not have to learn tons of front-end to do it.<p>I'd love to hear what people think about it and please post or send me any shaders you make! You can use the link button in the bottom right to share.<p>I hope that this gets more people interested in shaders because GPU programming is a pretty different paradigm and learning it has made me a better software engineer even though my current job doesn't touch it. That said, textshader only runs normal Javascript on the CPU so think of it like a simplified sandbox and not the real thing. I'd highly recommend checking out shadertoy to level up to the real deal too!
Show HN: Lotus – Open source pricing and packaging infrastructure
Hi HN! We’re building an open-source pricing & packaging engine for SaaS with a built-in billing system. (<a href="https://github.com/uselotus/lotus" rel="nofollow">https://github.com/uselotus/lotus</a>).<p>We strongly believe pricing is the largest untapped growth lever for SaaS, primarily because pricing affects so many critical systems that don’t talk to each other (billing, payments, feature limits, metering, and CRM). We’re building this infrastructure to fix this and enable quick experimentation.<p>Lotus acts as a central repository for all of your pricing plans and utilizes your payment gateway, to manage usage-based, per-seat, and custom enterprise pricing. We’re excited to open-source this because we want to enable developers to build their custom pricing and integration edge cases on top of this base.<p>We’ve launched this repo under an MIT license so any developer can use the tool. Give it a spin for us at either:<p>* test our cloud version at (<a href="https://demo.uselotus.io" rel="nofollow">https://demo.uselotus.io</a>)<p>* self-host here (<a href="https://github.com/uselotus/lotus" rel="nofollow">https://github.com/uselotus/lotus</a>)
and let us know what you think.<p>All feedback is appreciated! If the project is especially relevant to you, follow us and we’ll keep you updated when we’ve fully published all our beta features.
Show HN: Lotus – Open source pricing and packaging infrastructure
Hi HN! We’re building an open-source pricing & packaging engine for SaaS with a built-in billing system. (<a href="https://github.com/uselotus/lotus" rel="nofollow">https://github.com/uselotus/lotus</a>).<p>We strongly believe pricing is the largest untapped growth lever for SaaS, primarily because pricing affects so many critical systems that don’t talk to each other (billing, payments, feature limits, metering, and CRM). We’re building this infrastructure to fix this and enable quick experimentation.<p>Lotus acts as a central repository for all of your pricing plans and utilizes your payment gateway, to manage usage-based, per-seat, and custom enterprise pricing. We’re excited to open-source this because we want to enable developers to build their custom pricing and integration edge cases on top of this base.<p>We’ve launched this repo under an MIT license so any developer can use the tool. Give it a spin for us at either:<p>* test our cloud version at (<a href="https://demo.uselotus.io" rel="nofollow">https://demo.uselotus.io</a>)<p>* self-host here (<a href="https://github.com/uselotus/lotus" rel="nofollow">https://github.com/uselotus/lotus</a>)
and let us know what you think.<p>All feedback is appreciated! If the project is especially relevant to you, follow us and we’ll keep you updated when we’ve fully published all our beta features.
Show HN: Lotus – Open source pricing and packaging infrastructure
Hi HN! We’re building an open-source pricing & packaging engine for SaaS with a built-in billing system. (<a href="https://github.com/uselotus/lotus" rel="nofollow">https://github.com/uselotus/lotus</a>).<p>We strongly believe pricing is the largest untapped growth lever for SaaS, primarily because pricing affects so many critical systems that don’t talk to each other (billing, payments, feature limits, metering, and CRM). We’re building this infrastructure to fix this and enable quick experimentation.<p>Lotus acts as a central repository for all of your pricing plans and utilizes your payment gateway, to manage usage-based, per-seat, and custom enterprise pricing. We’re excited to open-source this because we want to enable developers to build their custom pricing and integration edge cases on top of this base.<p>We’ve launched this repo under an MIT license so any developer can use the tool. Give it a spin for us at either:<p>* test our cloud version at (<a href="https://demo.uselotus.io" rel="nofollow">https://demo.uselotus.io</a>)<p>* self-host here (<a href="https://github.com/uselotus/lotus" rel="nofollow">https://github.com/uselotus/lotus</a>)
and let us know what you think.<p>All feedback is appreciated! If the project is especially relevant to you, follow us and we’ll keep you updated when we’ve fully published all our beta features.
Show HN: Feep! search, an independent search engine for programmers
Hi HN! This started late last year as an afternoon project to play around with ElasticSearch, and then I kept thinking of new features I wanted to add. I still have a lot of things I want to build, but now seemed like a good time to put it out there: even if the results aren’t nearly the quality I’d like, I’ve still found it useful and I want to show it off!<p>I’ve been working on it since September 2021, but only in fits and starts. The entire thing runs on a computer in my living room (there’s a picture on the About page); I haven’t done any load testing so we’ll see how it holds up.
Show HN: Feep! search, an independent search engine for programmers
Hi HN! This started late last year as an afternoon project to play around with ElasticSearch, and then I kept thinking of new features I wanted to add. I still have a lot of things I want to build, but now seemed like a good time to put it out there: even if the results aren’t nearly the quality I’d like, I’ve still found it useful and I want to show it off!<p>I’ve been working on it since September 2021, but only in fits and starts. The entire thing runs on a computer in my living room (there’s a picture on the About page); I haven’t done any load testing so we’ll see how it holds up.
Show HN: Feep! search, an independent search engine for programmers
Hi HN! This started late last year as an afternoon project to play around with ElasticSearch, and then I kept thinking of new features I wanted to add. I still have a lot of things I want to build, but now seemed like a good time to put it out there: even if the results aren’t nearly the quality I’d like, I’ve still found it useful and I want to show it off!<p>I’ve been working on it since September 2021, but only in fits and starts. The entire thing runs on a computer in my living room (there’s a picture on the About page); I haven’t done any load testing so we’ll see how it holds up.
Show HN: Feep! search, an independent search engine for programmers
Hi HN! This started late last year as an afternoon project to play around with ElasticSearch, and then I kept thinking of new features I wanted to add. I still have a lot of things I want to build, but now seemed like a good time to put it out there: even if the results aren’t nearly the quality I’d like, I’ve still found it useful and I want to show it off!<p>I’ve been working on it since September 2021, but only in fits and starts. The entire thing runs on a computer in my living room (there’s a picture on the About page); I haven’t done any load testing so we’ll see how it holds up.
Show HN: Auto generate images from Figma using an API
Show HN: Stable Diffusion print-on-demand apparel
Hey HN,<p>Obviously we are experiencing a surge of stable-diffusion based apps at the moment, but I have yet to see anyone try and map the outputs onto actual physical products that can be delivered to your door.<p>I wanted to make it easy to:<p>- pick an artistic style<p>- hit 'record' and speak into your phone / tablet / desktop or whatever, and describe the kind of design you want your clothing to have (since speaking is more spontaneous that typing)<p>- swipe among a variety of mockups (t-shirts, hoodies etc.) featuring your design, and order it to your door with the click of a button<p>The product is called 1SEWN. Fulfilment is currently achieved using a print-on-demand service called Printful (<a href="https://www.printful.com" rel="nofollow">https://www.printful.com</a>) that I have integrated with.<p>If you guys would like to try it, I would love some feedback. Shipping is currently limited to outside Europe, but even if you are in Europe, your feedback about the whole UX would be much appreciated!<p>Much love,<p>Matt
Show HN: Stable Diffusion print-on-demand apparel
Hey HN,<p>Obviously we are experiencing a surge of stable-diffusion based apps at the moment, but I have yet to see anyone try and map the outputs onto actual physical products that can be delivered to your door.<p>I wanted to make it easy to:<p>- pick an artistic style<p>- hit 'record' and speak into your phone / tablet / desktop or whatever, and describe the kind of design you want your clothing to have (since speaking is more spontaneous that typing)<p>- swipe among a variety of mockups (t-shirts, hoodies etc.) featuring your design, and order it to your door with the click of a button<p>The product is called 1SEWN. Fulfilment is currently achieved using a print-on-demand service called Printful (<a href="https://www.printful.com" rel="nofollow">https://www.printful.com</a>) that I have integrated with.<p>If you guys would like to try it, I would love some feedback. Shipping is currently limited to outside Europe, but even if you are in Europe, your feedback about the whole UX would be much appreciated!<p>Much love,<p>Matt
Show HN: Stable Diffusion print-on-demand apparel
Hey HN,<p>Obviously we are experiencing a surge of stable-diffusion based apps at the moment, but I have yet to see anyone try and map the outputs onto actual physical products that can be delivered to your door.<p>I wanted to make it easy to:<p>- pick an artistic style<p>- hit 'record' and speak into your phone / tablet / desktop or whatever, and describe the kind of design you want your clothing to have (since speaking is more spontaneous that typing)<p>- swipe among a variety of mockups (t-shirts, hoodies etc.) featuring your design, and order it to your door with the click of a button<p>The product is called 1SEWN. Fulfilment is currently achieved using a print-on-demand service called Printful (<a href="https://www.printful.com" rel="nofollow">https://www.printful.com</a>) that I have integrated with.<p>If you guys would like to try it, I would love some feedback. Shipping is currently limited to outside Europe, but even if you are in Europe, your feedback about the whole UX would be much appreciated!<p>Much love,<p>Matt