HNHacker News
TopNewBestAskShowJobs

bluewalt

286 karma · joined November 1, 2017

submissionscomments
bluewalt··on Async Django in Production
Not a hindrance, but something like not having a typed database, no auto completion over time, can be a real drawback (I know about django-types).

Finally, in my opinion, the best reason to not use Django is not the project itself (because it will do the job in 99% case), it's because all you learn is tied to Django.

Having learn Pydantic recently was a breed of fresh air, and I would reuse it in lots of projects, not only web projects.

bluewalt··on Async Django in Production
> Django was rarely a hindrance.

+1 on this. Django scales pretty well when adopting a clean architecture like Django Model Behaviours with mixins.

> Otherwise, I've found its ORM quite powerful.

Same. In ten years, the only issue I had is with a very complex query that the ORM was not able to write properly. But a workaround existed.

I'm currently using FastAPI in a project. It's very enjoyable (especially with a strictly typed codebase) but I have to write lots of batteries by myself, which is not very productive (unless you keep this boilerplate code for future projects).

bluewalt··on Htmx and the Rule of Least Power
What's a little frustrating with current webdev state if that there is no silver bullet. I can easily think of use case where a Django+htmx stack is much more relevant than a React/Vue one, but the opposite is true too.

People keep genuinely saying it's a good thing to have many tools to apply to the right usage. Personnaly, constantly switching from htmx to vue.js just fucks my brain.

I miss the time where I used Django or Rails and didn't need to ask myself all these questions.

bluewalt··on HTML Web Components
I think he knows that. The comparison with jQuery comes from the fact it is a DOM replacement logic too. Even if the syntax is way better, in the end, it’s still a way of working that scales badly, compared to components which embed their own logic.

htmx shines to add dynamic behaviour on some pages, but is not appropriate to replace a medium-sized SPA in my opinion.

bluewalt··on Ask HN: Why has no one replaced Ticketmaster?
In France it was widely used but now we have new competitors like www.shotgun.live with a modern app, built-in resale feature, stripe payment, etc.
bluewalt··on UI Lib Picker: a tool to compare various Vue 3 UI Libraries
Hey there! I've built a tool that makes it easier for developers to compare different Vue.js UI component libraries. I got the idea after seeing many people struggling to pick the right library.

Feedback and contributions are welcome!

bluewalt··on Ask HN: Who wants to be hired? (July 2023)
Location: Paris

Remote: Yes, but I would prefer an hybrid mode in Paris.

Willing to relocate: No

Technologies: Django, Nuxt, TailwindCSS, Docker.

Résumé/CV: david-dahan.com

Email: david.dahan3 [a] gmail.com

I built multiple ambitious products from scratch in early-stage startups and created my own startup. I have a deep understanding of the requirements of a startup, and I'd like to become the founding engineer (future CTO) of an early stage startup. I have more than 10 years of experience. You can read my blog: https://david-dahan.com/blog (mix of English and French).

bluewalt··on M1/M2 Macs Have Bluetooth Issues with the Mouse, Cursor, and Magic Trackpad 2
Form my experience with Logitech mouses, dongle has always been way better that bluetooth. I noticed my phone was the most responsible device of all the mess. If I put it far away from my devices, it's better.
bluewalt··on Astral
Maybe People should take a closer look to dev containers: https://containers.dev/
bluewalt··on Ask HN: How do you save and browse external interesting URLs?
Yep I do the same. From time to time, I move all my bookmarks to my notes, adding a title as a description, and removing useless bookmarks. I use a classification. It helps keep the bookmarks somewhere and kind of organised, but is very hard to search for.
bluewalt··on Ask HN: How do you save and browse external interesting URLs?
That's a very good point. I love the "the best solution to your problem is to realise you don't have a problem" mindset.
bluewalt··on Ask HN: How do you save and browse external interesting URLs?
The thing is, your system requires a lot of discipline. If I had discipline, I would almost not need a tool :/
bluewalt··on Ask HN: How do you save and browse external interesting URLs?
Thanks! I took a quick look to Raindrop.io, it seems powerful and full of features. At this point I'm wondering why they did not solve the problem of unsorted links. Since there is a browser extension, a simple solution would be to allow user to add optional tags when the user bookmarks the link.
bluewalt··on Breaking up with JavaScript front ends
The presentation is 6 years old...
bluewalt··on Breaking up with JavaScript front ends
I'm gonna screenshot this and show it to basically every dev I know.
bluewalt··on I’m a productive programmer with a memory of a fruit fly
Despite the excellent initial intention, the article itself shows the reasons of the low adoption: if you actually need to kind of hack every new piece of documentation, this is overwhelming. I can have more than 30 external packages for each project. It would be too painful to handle all of them, and particularly frustrating for the ones I can't, and still need to browse from my browsers.

This kind of projects could have a better adoption rate with standards for documentations.

bluewalt··on Ask HN: I love programming but hate the industry. Can anyone relate?
1. Try to clearly identify what you love and what hou hate in tech industry and working on day to day. 2. Be able to prove your value when talking with someone. 3. Use this value to be picky, by curating opportunities to keep the one.

For the last 6 months, I had job opportunities every day and say no to everything until I find the right one. Your family and friends will laugh at you, but in the end you'll be happier than them.

bluewalt··on Show HN: Preline UI – Open-Source Tailwind CSS Components
This looks more a TailwindUI alternative, as daisyUI has a different philosophy to abstract utility classes, and makes the code shorter.
bluewalt··on Ask HN: What's is your go to toolset for simple front end development?
Backend: Django / Celery - Front-end: TailwindCSS, daisyUI, HTMX, Hyperscript - Devops: VS Code dev containers than I can duplicate easily between projects to keep configuration.
bluewalt··on Reimagining front-end web development with htmx and hyperscript
I think people in comment should not try to compare HTMX to SPA directly, but have a broader view of the whole pros/cons of the tech stack.

For example, let's say you need to write an admin dashboard with many pages, no fancy stuff. Odds are you'll be very productive with a good old Django/Rails, having no API to write and a single simpler project to maintain.

Once that monolithic framework choice is made, before HTMX, as soon as you needed interactivity, you had to mess with jQuery and the code was quickly awful. The only solution was to plug a SPA framework and develop an API (this is not trivial!). HTMX (and other tools like Alpine.js) solve that problem well.

So, the question is not "is HTMX better than SPA frameworks", but rather: "Knowing that I can now build decent front-end with Django/Rails, does a more complex stack with Next worth it?"

HTMX-like tools make SPA frameworks a little less indispensable in some use cases. That's it.

bluewalt··on Reimagining front-end web development with htmx and hyperscript
You're missing the point here. It's not "another framework". It's more like "no framework" at all. Please read: https://edofic.com/posts/2022-01-28-low-js/
bluewalt··on Reimagining front-end web development with htmx and hyperscript
Vanilla JS v. jQuery v. hyperscript full examples here: https://hyperscript.org/comparison/
bluewalt··on Ask HN: Why are there no good note taking apps
+1 for NotePlan. I use it extensively every day for 2 years and I can't go back. I'm just frustrated to lack advanced features or simple tables available on notions. However, as it's markdown based, it's kind of logically limited by it. I guess it's hard to have both no lock in AND having crazy dynamic advanced tables.
bluewalt··on Tetra – Full stack reactive component framework for Django using Alpine.js
I love these kinds of projects. I hope you'll have the time you need and enough attention/traction to make it work.

I'm not sure it's possible, but it could be great to make this a team project officially supported by Django (like DRF or channels). This would bring trust and support, compared to solo-dev projects that can die instantely if the developer can't support it anymore. Anyway, I'd be glad to sponsor your project on Github.

From this new perspective, here are the tools I'd use in my front-end Django: - Level 0: no dynamic UI needs -> no additional tool (pure HTML/CSS templates) - Level 1: simple dynamic needs -> HTMX + Hyperscript - Level 2: SPA-like needs -> Tetra (instead of Alpine itself)

bluewalt··on Ask HN: How did you overcome perfectionism?
This helped me a lot as well!
bluewalt··on War will be a total failure, FSB whistleblower says
I'm wondering how long Putin will keep the population obedient enough, by rising threats. At some point, when the people see they're losing everything, fear of jail is not enough to keep them quiet.
bluewalt··on SPAs Were a Mistake
I think one of the main reason SPAs are overused is because it's hard in 2022 for your users to wait after clicking on a link. Users are now used to instantaneous, especially since they all have a smartphone with apps on it. We, as web developers, try to give the best UX to users.
bluewalt··on Django Ninja – Fast Django REST Framework for Building APIs
This project is very clever, because as a Django developer, when I tried to use. FastAPI, I didn't get the faith to learn another ORM.

I've been using django ninja for months and I can say that it's a very good replacement to DRF. It's way simpler to use and less bloated, thanks to pydantic.

However I would not use it for important projects in production, because of a lack of support and documentation, and the fact that it relies almost entirely on a single developer (like many other projects, right).

bluewalt··on Show HN: Mailwind – Use Tailwind CSS to design HTML emails
This is useful. As tailwind team is very active, I won't be surprised if they decide to embed an official tool like this one.
bluewalt··on Show HN: Mailwind – Use Tailwind CSS to design HTML emails
It could even be a good name for a smtp provider as well :)
Page 1 of 4Next →