Better HN
topnewbestaskshowjobs
Log inSign up

silviogutierrez

704 karma · joined Apr 3, 2012 (14y ago) · 221 submissions

Personal blog: https://www.silviogutierrez.com

Business: https://www.joyapp.com

Submissions

comment 8mo ago · link · parent

having issues right now. Perfect timing.

comment 9mo ago · link · parent

Some people profess guilt to claim credit for the sin

3.

Show HN: Peptide calculators ask the wrong question. I built a better one(joyapp.com ↗)

4 points · by silviogutierrez · 9mo ago · discuss

comment 11mo ago · link · parent

Full disclosure: I run a competing app [1].

I think this is great, especially because it's OSS.

But if you want to really outshine Strong and Heavy, I'd look into "auto progression" of exercises. Too often, people just... log the same thing for years. Some RIR / RPE / linear progression would keep people motivated.

[1] joyapp.com

comment 1y ago · link · parent

Ackchyually… I think this is apocryphal.

https://www.snopes.com/fact-check/brothel-laws-sororities/

comment 1y ago · link · parent

Was wondering the same thing

comment 1y ago · link · parent

I wrote about docker development (and a library that solves this for Django here): https://www.reactivated.io/documentation/why-nix/#native-per...

comment 1y ago · link · parent

Check out my project, built exactly for this: https://www.reactivated.io

comment 1y ago · link · parent

I think the foundation, sure.

But the ecosystem of React, including UI libraries, charting, forms, and so forth, is enormous.

comment 1y ago · link · parent

Sure thing. The magic is in vite.mts, render.mts and renderer.py

In theory, you could swap in Svelte in there.

comment 1y ago · link · parent

Nothing on the python side for templating will ever come close to React or things like that. I built https://www.reactivated.io specifically to let python do what it does best (business logic / backend) and render using React. But all still server side without the downsides of a SPA.

comment 1y ago · link · parent

Shameless plug for https://www.reactivated.io

It swaps the templating engine for React. But still server side and using all the Django features you know and love. No SPA needed.

comment 2y ago · link · parent

Big fan of typing improvements in Python. Any chance you can elaborate on the "if let" pattern in Rust and how it would look in Python now? Not sure I follow how it translates.

comment 2y ago · link · parent

What about https://quicktype.io ?

15.

Ask HN: Has 1Password Become Unusable?

2 points · by silviogutierrez · 3y ago · 2 comments

comment 4y ago · link · parent

I'm the creator of Reactivated[1] and fully agree with a lot of the aversion to SPAs [2] and REST [3][4]

But to me, writing my markup in JSX (really, TSX with TypeScript) and using scoped CSS solutions was too good to pass up. I just couldn't bear writing text-based templates.

That's why I built Reactivated: combining the best of both worlds. Server-rendered, simple markup — albeit still in TypeScript — but you can add interactivity as needed.

Of course, HTMX is far less opinionated and framework-agnostic. So it can be used with any number of libraries / stacks.

[1] https://www.reactivated.io

[2] https://www.reactivated.io/documentation/philosophy-goals/#t...

[3] https://www.reactivated.io/documentation/philosophy-goals/#r...

[4] https://htmx.org/essays/how-did-rest-come-to-mean-the-opposi...

comment 4y ago · link · parent

Since you like Python and want a turnkey React/Python integration with a Django backend, check out https://www.reactivated.io.

It's not drag and drop, but abstracts away all tooling and let's just get to just writing your code. Either in React or in Django templates.

Eventually, if you have any dynamic behavior, you're going to end up rebuilding a lot of what React does for you.

Full disclosure: I'm the creator.

comment 4y ago · link · parent

Theoretically, the Dockerfile should "just work"™ with Render.com as well. Right now I focus on fly.io only because their free tier offers PostgreSQL without time limits. Render, I believe, only does so for a period of time.

See here: https://github.com/silviogutierrez/reactivated/blob/main/dev...

https://github.com/silviogutierrez/reactivated/blob/main/dev...

https://github.com/silviogutierrez/reactivated/blob/main/dev...

comment 4y ago · link · parent

It's very similar, except hotwire/htmx won't give you server rendering. It's not that big a deal if it's just small snippets.

This does make testing a lot easier, as the server response is identical to the hydrated client.

comment 4y ago · link · parent

I would agree that "Django templates are perfectly fine"... until: https://www.reactivated.io/documentation/philosophy-goals/#u...

Of course there's many ways around this, but doing them in a declarative, type-safe way is not trivial when using Django templates.

comment 4y ago · link · parent

Sure:

The docs site itself: www.reactivated.io . Notice no JS loaded on the client side. It's purely SSR. The code is in the repo under /website.

My personal blog: www.silv.io

And my business: www.joyapp.com

I don't track others that use it, but hopefully they're out there!

comment 4y ago · link · parent

If you want a batteries-included, zero-config Django + React framework, check out https://www.reactivated.io .

It incorporates most of these best practices, along with React server side rendering in addition to regular Django templates.

Full disclosure: I'm the creator.

comment 4y ago · link · parent

I too found a lack of strong opinions and recommendations for using Django with TypeScript and modern web technologies. So, shameless plug, I built https://www.reactivated.io . Give it a look if you ever work with Django again.

comment 4y ago · link · parent

Yea using Django only for DRF APIs always felt limited. I want Django forms and form sets.

Reach out if you have any questions! Email is on my GitHub profile.

comment 4y ago · link · parent

Shameless plug: If you want seamless SSR with Django logic, but React templates, check out my project at https://www.reactivated.io .

It's like HTMX but uses React, and the JS bits are rendered on the server. You can then hydrate on the client.

The Reactivated docs site itself uses the project: https://github.com/silviogutierrez/reactivated/tree/main/web...

comment 4y ago · link · parent

https://silv.io

Built with Django + React SSR using https://www.reactivated.io

comment 4y ago · link · parent

Disclaimer / shameless plug: I have an OSS project in this space, https://www.reactivated.io, and plan to do a Show HN on it tomorrow.

With that out of the way, I think having more opinionated Django frameworks is a great thing. Particularly around styling and forms.

I also think it's interesting to try to "productize" (I think there's a better word) what is often done as consulting. That is, bottling up and selling experience. So while the price may seem high, there's a ton of wisdom behind it. An experienced Django consultant is easily thousands of dollars per week.

I wish you the best!

comment 4y ago · link · parent

Thanks! Hopefully not brittle at all. Specially since both React and Django are very stable projects, the latter even more than the former.

comment 4y ago · link · parent

It's a hurdle to be able to write Nix stuff, but to consume it is pretty easy.

Shameless plug here: https://www.reactivated.io/documentation/why-nix/

comment 4y ago · link · parent

Not OP, but I looked into scandit. While excellent, it's quite expensive right?
12345
8