Hacker Newsnew | past | comments | ask | show | jobs | submit | devtom's commentslogin

I’m tinkering with a small TCO estimator for internal apps.

It compares different approaches and makes some assumptions explicit. Mostly a rough tool to sanity-check effort and tradeoffs.

https://tco.devtom.ca


A business web app TCO estimator: See https://tco.devtom.ca/ Send me your comments :-)


Location: Montreal/QC/Canada

Remote: Yes

Willing to relocate: No

Technologies: TypeScript,Javascript, React, Next.js, Node.js, AWS (Serverless / Event Driven), PostgreSQL, DDD, CQRS

Résumé/CV:

https://devtom.ca

https://www.linkedin.com/in/devtom/

Email: https://devtom.ca


Thank you! This looks very interesting and promising. I had issues running it locally on my Mac with pandas problems. But I switched to collab and it run well there. I guess you would use "requests" to get and post data to the backend ?


Could you share the error you're getting locally?

Re: calling backend, yeah you can use requests or anything else (e.g API client libs, talk to DB directly). The beauty is that you're just writing regular python code


So If I make a request from the python code, is the request executed in the browser ? or on the server ? Is the UI layer executing in the browser and use proxy rpc from the server ?


All the python code, including requests are executed on the server

Take a look at https://google.github.io/mesop/internal/architecture/ for an explainer on how the client-server interaction works and let me know if you have any questions!


Yay, thank you :-) going to take a look!


The error is: partially initialized module 'pandas' has no attribute '_pandas_datetime_CAPI' (most likely due to a circular import)

This happens only on the second interaction.


OK thanks. I've filed an issue here: https://github.com/google/mesop/issues/345 if you could share with us a repro (the Mesop code you're running) on the issue, that would be helpful in debugging this.

If you take a look at the "table" example on the demo gallery: https://google.github.io/mesop/demo/ it shows how to use Pandas w/ Mesop, so I'm not sure what's going on.


ok, will look at the issue and add an example if possible. The code I was executing was one of the example code present on the site. So nothing special.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: