patafemma
Joined 4 years ago
Joined 4 years ago
I don't like Mac keyboard layout, keyboard shortcuts or window management. I like the hardware but I cannot get over this stuff.
Windows gives me WSL2 so I can basically use Linux with Windows user interface. I've heard a lot of complaints about Windows user experience but personally I like it way more than Mac. It has it's issues but I can live with those. So Windows it is.
Now I'm happily running Windows 11 with WSL2.
Where it gets tricky is handling more complex data structures: deeply nested objects and arrays, different date formats, varying element types and adapting the layout based on the structure. SnazzyPDF's layout engine automates those decisions. The configuration options are still limited but that's what I'm focusing on improving next.
Open sourcing the project is not something that I have decided against. Maybe it could drive more adoption. I've found Chrome to be the best tool for PDF creation in this use case, so the API is actually running a pool of Chrome instances that are used for the rendering. This makes self-hosting slightly more complicated.
Regarding the page/file size limits, that's helpful input. I have set the current limits based on my own experience but haven't had much opportunity to validate them yet. I’ll definitely take another look and try to find a good balance.
Hi, my name is Pauli. I am a full-stack software engineer with experience in all aspects of software, from initial planning and design through implementation, deployment, and monitoring. My strongest areas are web development, analytics and machine learning.
FRONTEND: JavaScript, TypeScript, React, Next.js, Angular, Material UI, HTML, HTML5, semantic HTML, accessibility, CSS, CSS3, animations
BACKEND: Java, Scala, Kotlin, Spring Boot. JavaScript, TypeScript, Node.js, Express, NestJS, Python, SQLAlchemy, Flask, Django, Pandas, NumPy
DATA & INFRASTRUCTURE: SQL, PostgreSQL, MySQL, SQL Server, Oracle Database, RESTful APIs, GraphQL, AWS, Azure, Docker, Kubernetes, Terraform, AI, machine learning, NLP
OTHER: Git, DevOps, Linux, Bash, Software architecture, system integration, UI/UX design, Technical writing, Technical interviewing
Website: https://paulilohi.dev/
E-mail: [email protected]
The thing the article seems to be missing is an explanation about when not to use CSS. In my experience there's a lot of scenarios which could be solved with pure CSS in theory but in the end will be implemented in javascript.
The first reason is browser compatibility. If older browsers need to be supported (unfortunately IE is not completely dead yet), many CSS based solutions are just not possible.
The second reason is changing requirements and future-proofing. Often only the simplest requirements can be fulfilled with a pure CSS solution. When more requirements are added or the feature needs to be extended in any way, the only possible solution is to just completely scrap the CSS solution and re-implement it in javascript. I feel this happens so often that most web developers just prefer implementing the feature in javascript straight away because they know it will be easier to change later if needed.
---
E-mail: [email protected] Homepage: https://paulilohi.dev/