Live data from Hacker News

Ask HN: What novel tools are you using to write web sites/apps?

news.ycombinator.com

121–130 of 333 posts

Re: Ask HN: What novel tools are you using to write web sites/apps?

#121

Earlier quoted context omitted.

I really don't get the appeal of tailwindcss, and I feel like I must be missing some obvious benefit of using it vs something like bootstrap. But at first glance, it just looks like the framework recreates css rules with class names. What epiphany am I missing here?

I seldom write CSS. I tried tailwindcss on one of my recent projects that required to closely follow a custom design (a portfolio for a graphic designer friend). I like it, with some caveats. Main benefit for me is that I don't need to remember how to write css. 95% of what I need is a shortcut away from tailwind docs. The result is "prettier" than any other website-from-scratch I've done (that's purely on me, not mu…

> add non-default variations (mostly different heights/widths than what it ships with).

Check out https://github.com/tailwindlabs/tailwindcss-jit. It got released 3 weeks ago, and supports variable variables in width and height now.

Re: Ask HN: What novel tools are you using to write web sites/apps?

#122
post #56

Earlier quoted context omitted.

Adding in a service like a SQL database because "you might want that" in the future is not a good idea. Apps should do what they need to do and no more. "Future proofing" is almost always a waste of time - even if you definitely want the feature in the future it's usually better to add it in when it's needed than adding it early and have to support something that adds no value yet. As for reports and transactions spe…

OP isn't talking about noSQL databases, but no database at all (if I understand correctly - OP says '- No SQL database; I just keep everything in memory in native data structures'. In this case, I don't think OP is even thinking about noSQL databases.

Correct. Sorry, I should have worded that better; unfortunately I cannot edit the post anymore.

Re: Ask HN: What novel tools are you using to write web sites/apps?

#123

This partially might be more of a what's old is new again, but here's what I use: - 100% server side rendered - Progressively enhanced (fully works without JS, but having JS enabled makes it nicer) - In select places where I need SPA-like snappiness I use a ~100 line long DOM diffing algorithm (I request full HTML through AJAX and diff it into the current page; if the user has no JS enabled then the page just refresh…

This speaks to my soul! How cheap of a VPS?

Currently 4.29 EUR/month VPS on Hetzner. (Although I have some fun features planned and might need some more processing power so I might upgrade in the future.)

They have great AMD-based VMs, 2x perf/$ over Intel. (I've benchmarked.)

Re: Ask HN: What novel tools are you using to write web sites/apps?

#124
For a startup with a friend: Typescript, Vue, Bulma, Buefy, Django, Postgres

For a hobby project: Typescript, Vue, Bulma, Buefy, Rocket (Rust), Postgres

I’m slightly worried about the bulma/buefy choice as there doesn’t seem to be a very active online community, but they work well so far.

I’m hosting on render but I don’t know if I’ll continue to use them if it starts getting serious with real clients.

Is there anything like Django in the node.js world? I mean that gives you so much stuff out of the box?

Re: Ask HN: What novel tools are you using to write web sites/apps?

#125

I am an amateur dev writing things mostly for myself, just a few were worth sharing as open source. I use Quasar (based on Vue) for everything. Yes, it makes it look like I have a hammer and everything looks like a Quasar-Vue nail,but it always works. Everything is enclosed, components, canvas,... SPAs are easy, WPAs are easy, everything is easy. The community could be better but the docs are excellent. I've learned…

This is slightly unrelated but I looked up Quasar and their homepage (https://quasar.dev/) is the first website that literally makes me nauseous just by looking at it.

That's a kind of UX problem I didn't even consider to exist a few minutes ago.

Re: Ask HN: What novel tools are you using to write web sites/apps?

#126
For my current personal project I'm having a lot of fun playing with client-side Sqlite[1] via WASM. It's great for situations where you have a set of relational data which you want to query and sift and display on the page in various ways, yet you know users won't need to add to, or alter, that data set.

[1] - sql.js - https://github.com/sql-js/sql.js/

Re: Ask HN: What novel tools are you using to write web sites/apps?

#127
post #73

Earlier quoted context omitted.

This is really neat. What's the site? I'd love to see it. And could you tell us more about the DOM diffing algorithm?

> What's the site? I'd love to see it. One of my projects where I'm using this approach is this one: https://jpdb.io > And could you tell us more about the DOM diffing algorithm? I'll paste what I wrote in another reply to a post asking the same question: It's really nothing special. I wrote the whole thing in, like, a single afternoon. If you're interested, here it is: https://pastebin.com/V7UiWj1e It's not really a…

The search works great. Having furigana next to kanji is very useful. Fantastic work!

While playing around, I got the play button to work only once and then got this error:

  Uncaught TypeError: this.previousElementSibling.play is not a function
    onclick https://jpdb.io/search?q=ごめんあさい#a:1

Re: Ask HN: What novel tools are you using to write web sites/apps?

#128
post #19

SvelteKit, Serverless, Backendless.com SvelteKit[1] is a framework for SvelteJS (like Next.js is a framework for ReactJS). I've tried both Svelte and React. Svelte seems to be more elegant and lets me implement my ideas faster with less code. Svelte is very flexible; SvelteKit adds some opinions on how to do things like routing. SvelteKit also embraces the serverless paradigm[2] (AKA JAMstack[3]). Although a node.js…

This whole thing feels like layers upon layers of complexity. Not to mention, the brittle aspects of any javascript project - immature, lack of robustness and dependability. Your stuff is working on Node v12? Good luck with Node v14 - both LTS versions. It is a shitshow. Let's keep Javascript inside the browser IMO. SveltKit is literally 2 months old.

Chill man. Svelte is awesome.

Re: Ask HN: What novel tools are you using to write web sites/apps?

#129

This partially might be more of a what's old is new again, but here's what I use: - 100% server side rendered - Progressively enhanced (fully works without JS, but having JS enabled makes it nicer) - In select places where I need SPA-like snappiness I use a ~100 line long DOM diffing algorithm (I request full HTML through AJAX and diff it into the current page; if the user has no JS enabled then the page just refresh…

> Progressively enhanced (fully works without JS, but having JS enabled makes it nicer)

This is something I've struggled to get developers to understand forever. It doesn't help that no browser really allows users to switch off js. The number of developers who think doing client-side validation on forms is enough is far too high!

Re: Ask HN: What novel tools are you using to write web sites/apps?

#130
For all of my new side projects I am all in on Phoenix live view. I couldn’t be happier, you can write web apps quickly and it is super reliable. It’s probably not the best choice for every project, but for now it lets me do a lot as a solo dev who has maybe 30 minutes to an hour free a day to code side/personal projects.

My personal project that has the most use is https://readastorytome.com/. Almost all of the problems/bugs I have with it are to do with my implementation of webrtc and pdf.js. Liveview has been the source of very few problems.

And tinylivechat.com is a WIP that is also using Phoenix live view but I am debating killing it

Post reply on HN