Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
abhinav22
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
abhinav22
5y ago
You are most welcome :) Yes, this hopefully is a complete guide from start to finish and without any gaps (which are not easy for us to solve without having a reasonable amount of background knowledge!) Thanks for the kind words
62.
▲
by
abhinav22
5y ago
Argh! Fixed now - sorry about that. Pressed the wrong button when publishing on Medium (ps I really like Medium, sometimes it gets a bit of a rap, but it’s very easy to write and they are quite user friendly in my opinion at least :)
63.
▲
by
abhinav22
5y ago
Author: I wanted to consolidate some of the steps I did to get the basic functionality for Common Lisp web applications (CRUD, User Authentication, Domains, etc.) as its a big pain to keep revisiting and troubleshooting which step I did wro
64.
▲
Lisp and the Web: Creating Web Apps Through Lisp and GCE
(medium.math.dev)
162 points
by
abhinav22
5y ago
|
59 comments
65.
▲
by
abhinav22
6y ago
Thanks!
66.
▲
by
abhinav22
6y ago
Thanks! I will look into and revert, please check the repo from time to time, I’ll create an open issue against it
67.
▲
by
abhinav22
6y ago
Try the HTML / CSS / Paged.js workflow with headless chrome - I think it works really well (and open source / free with the exception of Chrome, where you are a bit at the mercy of Google, but they are unlikely to make any br
68.
▲
by
abhinav22
6y ago
Anything with paged.js makes me an auto fan :) This could be very interesting for those with Python workflows, thanks for sharing
69.
▲
by
abhinav22
6y ago
From my limited experience with wkhtmltopdf, a solution based on paged.js should work better But maybe that’s because I didn’t fully learn wkhtmltopdf PrinceXML is very good but is a paid solution. I found paged.js, at least for my purposes
70.
▲
by
abhinav22
6y ago
Thanks! :) Will fix it after work.
71.
▲
by
abhinav22
6y ago
Thanks Adam! I know I come across as one of the biggest fans of paged.js, but it’s such an inspirational project! The idea to polyfill the required functionality for CSS Print Rules is pure genius, as somebody who looked at all the alternat
72.
▲
by
abhinav22
6y ago
I will look into this and add it in (if possible), please do check back in a couple of weeks (maximum). Would you be able to expand on what you mean (sorry I’m being dense), otherwise I will Google it tomorrow Thanks for the kind words
73.
▲
by
abhinav22
6y ago
Thanks! Yes I know what you mean - it doesn’t work well in certain browsers, devices etc. Aimed at desktop users and Chrome in particular (I saw a bug in Safari version). The aim is less to be a readable pdf in-browser, but rather a high qu
74.
▲
by
abhinav22
6y ago
Also feel free to email me / send me a message on GitHub if you need any help in customizing parts of your CSS. I feel like I have become a guru in this now and can quickly figure out how to use it for specific goals :D I may write a b
75.
▲
by
abhinav22
6y ago
Thanks :) It’s all free, I will figure out how to add the license tomorrow as I don’t know what’s the right one - basically don’t want people to have any issues with GPL so if I understand then MIT is the right one? Also paged.js is the pro
76.
▲
by
abhinav22
6y ago
Hi dang, hope you are well. May I kindly ask why not? I spent two weeks writing the CSS / HTML / JavaScript, and did well documented code - in fact the output serves as both documentation of the code and also output from it (in my
77.
▲
by
abhinav22
6y ago
It really does. The team at paged.js are simply amazing and deserve so much credit. It’s such a big deficiency in the modern web, we really need Chrome / Safari / etc to implement the W3C standard or something better
78.
▲
by
abhinav22
6y ago
Should be able to - somebody with intermediate Wordpress knowledge (unfortunately I don’t know php) should be able to integrate within a day in my opinion, based on my understanding of web development
79.
▲
by
abhinav22
6y ago
Indeed - that makes a lot of sense
80.
▲
by
abhinav22
6y ago
The table of contents is itself hyperlinked. And at the bottom of each page is a link to return to the table of contents. Let me know if that works well?
81.
▲
by
abhinav22
6y ago
I work in financial reporting, doing very similar things to what you mentioned here. Mind dropping me an email at Ashok.khanna@hotmail.com and we could discuss further? Would love to chat to others facing similar dilemmas :)
82.
▲
by
abhinav22
6y ago
Do you have a repo I could play around with? I had the same issue, but for my use case I figured a work around - primarily by using classes. I could spend a few minutes and see if I can get it working for you. But yes, it’s a deficiency in
83.
▲
by
abhinav22
6y ago
Thanks - indeed there is likely a market for it. One of the issues is that to get a commercial app, you have to solve for most of the edge cases and make sure it has a good enough UI for the non sophisticated. I was thinking about doing it,
84.
▲
by
abhinav22
6y ago
Yes, that would be an advanced feature and I think likely out of the scope for paged.js. That said the table of contents page is hyperlinked - you can jump to sections, and I put a return to table of contents in the footer to aide with navi
85.
▲
by
abhinav22
6y ago
Basically you can use CSS to manage their layout - dimensions, positioning, scaling, etc. Should work pretty well If you want floating images (e.g. text on the left, images on the right), it may be a bit more difficult and not perfectly pos
86.
▲
by
abhinav22
6y ago
Yep - looks like Chrome only gets those right. I will speak to the paged.js guys and see where the bug is in the code. Rest seems to work on Safari - let me know if any other issues and I’ll fix / update accordingly
87.
▲
by
abhinav22
6y ago
Justify works in iOS Safari (I just checked). I like to use it in my designs sometimes :)
88.
▲
by
abhinav22
6y ago
Thanks for flagging. It’s aimed for desktop users and a reasonable size screen (eg A4 or so), it’s not really a responsive design as it’s meant to be a tool to generate PDFs. So it won’t work in some browser dimensions (the paged.js code i
89.
▲
by
abhinav22
6y ago
No, it’s more for pdf production from desktop. The print preview on the example web page works on iPhone and browsers but the aim is really for pdf and not for consumption via mobile etc
90.
▲
by
abhinav22
6y ago
I was a huge supporter of PrinceXML / DocRaptor for precisely the same reason - all the alternatives (that I knew at the time) were not good. Paged.js was a revelation (thanks to HN for telling me about it!). It is based off CSS Print
More ›