HN user

pretzelhands

53 karma
Posts12
Comments23
View on HN
Templating in HTML 4 years ago

<template> tags are so incredibly useful for keeping your JS clean when you're not able to have something more reactive around for some reason.

I've recently used that on an interview project I did (https://github.com/pretzelhands/ubiquitous-sniffle) and it surprisingly takes you quite far with very little effort.

The only major annoyance is really manually keeping track of the elements in the DOM and .innerText and .innerHTML-ing everything that needs a dynamic value. But it's manageable if you keep it confined.

Seems like PHP does something reasonably right for once!

    $ php hello.php > /dev/full
    $ echo $?
    255
It doesn't exactly print an error, but at least it returns something non-zero.

I have landed on the TALL stack for building my homespun apps with minimum faffing around.

Especially with the components feature offered by Laravel’s Blade it usually takes a while before I really start reaching for JS.

As an Austrian I'd like to note: We've also previously had a vaccination mandate for smallpox. There's a precedent here, at least.

Whether you're for or against a vaccination mandate I leave up to debate. But either we get everyone vaccinated or everyone needs to actually follow proper COVID rules. The second option hasn't worked out great so far, as you might be able to tell.

They're not the prettiest sight, yes, but I think anyone who isn't in some way a geek particularly cares about what's actually in URLs.

There's a reason why Apple got away with only showing the hostname of a URL: It doesn't matter to ordinary people. :)

I'm currently focused on dusting off my old blog and getting some new posts out.

I ended up accidentally building my own (somewhat cursed) static page generator in PHP. It's probably not super portable, but it does the job of taking some Markdown and Mustache files and putting together a site.

And since I was super minimalist about it, the site is really fast. So that makes me happy!

https://pretzelhands.com

Hi! I'm currently working on note sync as it is one of the most requested features so far.

As for the trial ending: You will have the possibility to export all your notes as Markdown once the trial ends, so you're not locked in.

A mobile version is also planned for the future, currently researching on the best approach!

Hi Hacker News!

I built Notebag because I got a bit sick of other note taking apps breaking my workflow. I wanted something that I could quickly show and hide and that would allow me to jot down Markdown, so I could have a bit of structure.

And then Notebag happened! I hope you'll find it useful.

Hi HN!

I'm the Austrian dude featured in this article. Since last time it generated a bunch of discussions I thought it might be nice to hop on here.

If you have any further questions you want to ask, go ahead.

Hello Hacker News!

I recently accidentally crashed my entire infrastructure with Caddy server. Thus I had to quickly switch to nginx to get my sites back up.

While dealing with the nginx setup process I found it super annoying to switch between the various commands all the times

(ln -s /etc/nginx/sites-available/ .., vi /etc/nginx/sites-available/ .., systemctl restart nginx, ..)

So I built this little wrapper around the commands to streamline the process!

I hope you find it useful and give it a shot on your local dev setup or similar!

Hey all! I've recently been spending a lot of time in meetings and a few mates over at WIP came up with this idea that I should make a counter that tells you how much you've earned just by sitting in a meeting.

This is the result of that idea being turned into an actual thing! It doesn't have any purpose other than being a silly tool to track what your hourly rate converts to in meeting time.

I hope you enjoy it!