HNHacker News
TopNewBestAskShowJobs

flexterra

1,648 karma · joined October 31, 2008

submissionscomments
flexterra··on Should I use JWTs for authentication tokens?
no
flexterra··on Moving from React to htmx
Here's the sortable example: https://htmx.org/examples/sortable/

IMHO something slightly more complex than this example (more client side stat) will require using something like React/Vue/Svelte. But there's no need to rewrite the whole FE. Just create a component that performs the rich client side interaction and use HTMX for the rest of your app. Win-Win.

flexterra··on Moving from React to htmx
Validating data on the client and not doing it again on the server will lead to security vulnerabilities. At the very least you will end up duplicating that validation code.
flexterra··on Moving from React to htmx
IMHO this approach is better for most apps. Remix is bending the curve here. They make it extremely easy to progressively enhance a small part of your UI with all the power of React.

That said, using React on the server side and forcing you to run JS on the server is not my cup of tea...

flexterra··on Moving from React to htmx
The difference in programming model IS THE advantage of HTMX. Changing from react to preact is a perf optimization.

If you are doing the SPA thing correctly you must duplicate business logic (data validation). Also when your API just sends "dumb data" (JSON) to the client, you are forced to make changes to the backend and frontend in lockstep.

flexterra··on Moving from React to htmx
The programming model is totally different when working with HTMX. The server returns HTML instead of a JSON API which is the usual solution when building apps with React/Preact and similar.
flexterra··on Show HN: We wrote a book about building business applications in Go
DDD-Lite
flexterra··on Extending HTML as a Hypermedia
HTML could and should do more
flexterra··on Swimlanes.io – generated editable sequence diagrams
I've been using this for years. Is really good and the best feature is that diagrams don't look like crap by default, which is not the case for most code to diagram tools out there. Looking at your Plant UML.
flexterra··on The average size of Web pages is now the average size of a Doom install
what is the average size of a native mobile app?
flexterra··on [dead]
https://downdetector.com/status/facebook
flexterra··on Ember's Glimmer Engine
Ember's templates allows the framework to determine which portions of the DOM will never change, and so only needing to analyze the portions that might.

  <div class="container"> <-- this won't change
    <h1>Hello World</h1> <-- this won't change
    <div>{{name}} <-- this might change </div>
  </div>
flexterra··on Freemail
Cached version: https://webcache.googleusercontent.com/search?q=cache:150k8Y...
flexterra··on Erato - simple and beautiful markdown editor
This has the same design as http://mouapp.com which has been on the market for a long time now.

Mou is donation based so you can try before you donate. The developer is very responsive and the app is constantly updated.

I really don't get it.

flexterra··on Ubuntu 13.04 Raring Ringtail Released
Ubuntu names...
flexterra··on Things I Wish I Had Known About Django Development Before Starting My Company
#16 is one of the biggest pains we had to deal with but I think we now have a good solution for now.

We use brunch.io a node.js build tool. It handles concatenation and minification of CoffeeScript, Stylus and Handlebar templates for us but it can work with almost any front end technology out there. A cool thing is that we can use require within out CoffeeScript files and that allows us to better organize code into modules.

Brunch even provides file watching capability so when we save a stylus or CoffeeScript file it will update the browser without a reload.

In our setup we compile everything to our django static folder so when we collectstatic, files get uploaded to s3.

One thing that was a bit a tricky and something that we have to make better is cache expiration of files. For now we are appending static files with a few characters from the current commit hash (app.css?e2232 something like that), while this is pretty effective we've found some cache systems that ignore it. The next step is to rename files before uploading to s3 (app-e2232.css).

I agree that this might be a bit too complicated for most apps but in our case (getblimp.com) we have a pretty heavy JS app and we really need to take advantage of all the "better" front end tools available.

I will be willing to contribute to FOSS project to solve this issues once and for all on the django/python side. BTW I think that file watching is better than compiling on every reload during development. In our experience (many js files) request on the development side took seconds and became very frustrating.

flexterra··on How I develop Django projects
After reading two scoops I started a new Django project and my first one using CBVs and I couldn't be happier. It now seems like django has two modes classical everything manual (FBVs) and the new some magic included mode (CBVs). You just have to choose.
flexterra··on Show HN: sachet – handcraft your Vim environment online
This is cool. While VIM is not my main text editor I use it quite often and this is just the amount of configuration I needed. Thanks!
flexterra··on Ask HN: Webdevs, designers: what devtools should we (Mozilla) build in Firefox?
Chrome has a button that gives format to minified code. It's useful.
flexterra··on Heroku Fucking Console
Yeah! that's what I do. Then run whatever I need.
flexterra··on Moving from Trello to Blimp
Just wait a few days ;)
flexterra··on Moving from Trello to Blimp
I agree with you on: "I tend to hate about most "Methodologies" is when they're not flexible to the realties of your team".

That's why we made Blimp in such a way that if you don't want to use the methodology you don't have to and you'll get a very nice task management app. But if you learn the simple process and use it, the app will become smarter and it will help you more, if you need that.

The more you use the process, the smarter Blimp gets.

flexterra··on Moving from Trello to Blimp
Just got the reply, thanks!
flexterra··on Moving from Trello to Blimp
Blimp's pricing: https://pbs.twimg.com/media/BCRS1UOCQAETDr6.png:large
flexterra··on Moving from Trello to Blimp
We are working on it https://twitter.com/blimp/status/299918365869342720
flexterra··on Moving from Trello to Blimp
Here you have the latests screencasts, they are a few weeks old but good enough. http://www.youtube.com/playlist?list=PLP1NjAf7U2LsE52GsPwXxD...
flexterra··on Moving from Trello to Blimp
We are working on it. Seems to be an issue with our api keys but we can't confirm because the folks at Trello support haven't responded yet.

I suspect that response is going to take a while.

flexterra··on Moving from Trello to Blimp
Puerto Rico has a growing startup community. Check out this article when you can.

http://thenextweb.com/la/2012/01/08/startups-of-puerto-rico-...

flexterra··on Moving from Trello to Blimp
Just updated the blog post with an answer to "Why move from Trello to Blimp?" to summarize: Blimp understands the process your team is using so it can extract meaningful data from it. Head back to the blog post to read all of it.
flexterra··on Is Your Site Hacker News Ready?
My blog (elweb.co) has been on the HN home page a few times. I use Wordpress with WP Super Cache, hosted on cheapest available shared plan from Dreamhost with no problems.
Page 1 of 5Next →