Live data from Hacker News

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

news.ycombinator.com

171–180 of 333 posts

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

#171
post #132

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…

The post was about 'novel' tools. I really dont see what is novel about your approach

Let me quote the OP:

> I'd like to hear about different approaches others are using to write web sites or apps today. What languages, frameworks, or libraries are you using?

So the question as I understood it was not "what truly novel and unique approach you're using that no one else has before?" but more of a "what non-mainstream approach you're using?". And what I'm doing is definitely non-mainstream.

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

#172
post #161

I wanted something novel for my "website" so I used a few websocket tunnels, xterm.js and User Mode Linux to make a rather quick booting Curses Dialog menu as my main website [1]. It was a fun challenge to secure it and make sure it doesn't get overloaded, as its on a cheap 30$/yr VPS. since UML doesn't need any CPU extensions, it just about works anywhere. You can read a little but more about how I built it under th…

Well now I know a few more failure cases when too many kernels try to boot at once, and a few other failures, (UML Switch has a bug! some kind of strange socket limit)

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

#173

This is the first thread in a long while that's given me a lot of FOMO anxiety. I've made a lot of one-off server-side rendered apps in Flask, and right now I'm doing some backend work ASP.NET Core for my job, but I have this overwhelming feeling there's so much I don't know and I'm not sure where to start. I only bring this up in case I'm not the only person sharing these feelings.

Honestly I don’t think you should worry about it. Once you know how to program, you know how to program - the fundamentals don’t change very quickly. Anything you don’t know now you can learn when you need it. The most important thing to retain is your love of learning and excitement about new technology, so that when the time comes for whatever is next you rise to the challenge with enthusiasm.

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

#174

I worked as a full-stack developer up until 7 years ago. Evaluating different options for my new website, I ended up just using what I'm familiar with: raw, vanilla PHP, HTML, CSS, and JS. Eliminates the need for any faff like server management on my part; PHP-enabled hosting is cheap and easy. No frameworks, just PHP. Not that novel, I know. There's a stark difference in research and production in terms of output, f…

I'm not trying to impress anyone, I just want to solve business problems quickly, get paid, and go golf. I firmly believe that high productivity can be achieved by using boring technology. https://expatsoftware.com/articles/happiness-is-a-boring-sta...

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

#175
post #95

Elm + elm-ui[1] (dont worry about CSS so much) + generated Elm client lib from GraphQL schema + Hasura (GraphQL over Postgres) + Postgres => strong type safety from db schema to frontend with SPA-first workflow; possibly add ReactAdmin[2] to the mix if that sort of thing is needed. Rust + Actix + Yew (Rust browser framework compiling to WASM) => also verrrry nice vor SPA-first! Slightly more traditional: Kotlin and j…

Hasura + the React Admin plugin is a godsend, allowed me to focus on the SwiftUI app I was writing and barely have to think about the backend.

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

#176

This is the first thread in a long while that's given me a lot of FOMO anxiety. I've made a lot of one-off server-side rendered apps in Flask, and right now I'm doing some backend work ASP.NET Core for my job, but I have this overwhelming feeling there's so much I don't know and I'm not sure where to start. I only bring this up in case I'm not the only person sharing these feelings.

Try this for size: Are you feeling effective at what you currently do? Is there any tangible reason why that would change for the worse in the upcoming year?

If not, you are doing fine. There is absolutely nothing out there that obviously and significantly increases your output by dropping whatever tooling you are effective with already and switching as of this time. I have looked. It's sobering.

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

#177

This is the first thread in a long while that's given me a lot of FOMO anxiety. I've made a lot of one-off server-side rendered apps in Flask, and right now I'm doing some backend work ASP.NET Core for my job, but I have this overwhelming feeling there's so much I don't know and I'm not sure where to start. I only bring this up in case I'm not the only person sharing these feelings.

It's not a feeling, it's an observation. Technology is like a tree, branching infinitely in all directions.

When I was a baby web developer, just knowing CSS on top of HTML was considered advanced. (This was back when the bleeding edge was using tables for layouts.)

Today, I can't keep up with all the different ways there are to do something as simple as loading a web page.

This splintering is true in every area of tech.

At first it freaked me out, but I've accepted two things:

1) The only option is pick a path and specialize in it, knowing there will always be things I won't know. There's nothing wrong with learning new ways, of course. And often that's necessary. But I've given up on trying to master all of them.

2) Just because something is new and popular doesn't make it right. The proliferation of frameworks for otherwise simple things (like loading mostly static web pages) is one such example.

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

#178

Earlier quoted context omitted.

> So it's a simple mmap database like early versions of MongoDB? Even simpler. I use mmap only for things that I build offline and that never change during the runtime. Everything else is just kept as your garden variety objects in memory. (Well, although I guess you could say it is an mmap database, it's just that the mmaped file is the swap, and the OS manages it for me.) > I like using atomic commands, but I imagi…

I do similar stuff to what you do, writing my backend code in Rust and not using a database but opting instead to keep things in memory and flushing to disk on my own. And running servers that I manage with SSH. I would love to talk with you and exchange knowledge. Your HN profile has no publicly visible contact info though. Do you have an email address I can reach you on? Can you put it in your HN profile descriptio…

Sure. You can email me at j@exia.io.

(Just please note that if I apparently don't reply and if you're using gmail then my reply probably went to spam or gmail's /dev/null, so email me again; lately gmail doesn't like emails that I send and either puts them into spam or just sends them to /dev/null, even when I'm replying to someone that emailed me first! So much for Google having no monopoly, sigh...)

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

#180
post #127

Earlier quoted context omitted.

> 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

That's interesting! It works for me, both on Firefox and Chromium.

May I ask what web browser and OS are you using?

Post reply on HN