What's up?! A new landing-page is up, that's what's up!
Gave a designer a take on hasty's landing-page, and HOLY COW, did I love it? 🥳
So I, with her acceptance, simply had to implement it. And wow, I'm in love!
Thanks, that's all folkes!
Don't you just hate it when an app sharing feature turns into a 5k long char-chain? Well, I did for hasty.dev, but no more! I've updated most everything and urls are now always 22 characters long, no more, no less! Oh happy joy!
Even works for everything else, that's sharable via hasty.dev! What are you waiting for? Please go check it out 😍
After a lot of thinking, I've implemented a few sorting algorithms comparing them against eachother! 😍
So far I've added:
- Bubble Sort
- Selection Sort
- Insertion Sort
- Merge Sort
- Quick Sort
- Heap Sort
So I started building. Actually been on this since November 12th - so about a month. Lot's of stuff is going to happen still!
Back on the 12th of November it couldn't do much, in fact you were only able to build a page using the source code!
This couldn't spark much joy to any people, so that brings us to the present.
Now you are able to build pages as your heart desires! still missing some documentation on how to use the page-builder, but it's definitely a step in the right direction!
No one knows what the future will bring, not even me for this project! What I do know, though, is that there wil have to be some docs upon how to use the scripting of the pages. Hopefully also a more intuitive way to use the page builder and so on.
I'd love to get some way to work on a saved notebook again, as for now it is not possible to get working on an old saved notebook, which is quite a shame!
The page itself
The notebooks are easily managed by a notion-esque idea-inspired way to build a page - in this case, a notebook.
You start with mostly nothing, then add along all the fields you'd possibly need for a long coding experiment.
It all starts with a box - a magic box one might say. This box allows you to add any element you'd like.
For now though, there are four elements to choose from:
- Header - A header element
- Text - A text-area element
- Code - The snippets to run and global to run from
- Comment - A super simple comment - for less text that Text, but not quite a heading
Checkout the /page to get a taste off all the elements. It'll show off all of the elements!
Thanks for reading!
Pst. There's also a shortcut to get a compelely clean slate by navigating to hasty.dev/page/new 💡
Who doesn't like colours? Well, hasty.dev has got them now! Highlighted code, whatcha think?
A few days ago, all text were white on a dark background. Well, that wasn't very IDE-esque. So, instead of the white text, it has been highlighted!
Along with an auto resizing area for the code 🤩 How about it!
What feature does any great tool require? You got it! An embeddable component! This is exactly what I just added as the latest feature of #hasty.
With hasty.dev you've got the ability to add the globals along with (or without) some tests and simply press the "Embed" button to get an easily embeddable piece of code, which you can embed any- and everywhere amongst the web - sometimes even natively, but this depends on the software.
So, what are you waiting for? Go check out the new embeddable feature, if you don't know which code to test, I've even prepared one for you: https://hasty.dev/#eyJnbG9iYW....
Is this even useful, you may ask. The answer to that is - of course - yes, very!
I, for one, am going to be using these in some posts in the future. These can even be used educationally. Simply think about it, the professor scolds the student, that some piece of code is waaay faster than their code, but the student won't listen without proof, but how do they test it? Well, simply hasty those two code-pieces; and bam! The student was right all along.
Just navigate to hasty.dev, write your "global" code, a few test cases, and press "Embed". Simple as that!
PS. This is an embedded hasty: