Live data from Hacker News

Calendar

neatnik.net

31–40 of 141 posts

Re: Calendar

#31
The neatnik calendar is very nice. Others are talking about enhancements they've done and I've done my own, creating a pretty faithful JavaScript implementation with enhancements:

https://github.com/abetusk/neatocal

https://abetusk.github.io/neatocal/ (demo)

URL parameters can be used to alter behavior. Here's a highlight of some of them:

https://abetusk.github.io/neatocal/?layout=aligned-weekdays&... (weekend highlighted, aligned)

https://abetusk.github.io/neatocal/?start_month=7 (academic)

https://abetusk.github.io/neatocal/?start_month=6&n_month=6 (second half, 6 month)

https://abetusk.github.io/neatocal/?month_code=1%E6%9C%88,2%... (chinese month and day)

There's also a data file option for more complex date notes.

Re: Calendar

#32

CSS rules for printing is one of my favorite features of the web. You get a powerful typesetter directly in your browser. For those wondering how it's done, I wrote about it [0] recently for my friends who frequently asked how I generated PDFs for my blogs. [0] https://barish.me/blog/make-your-website-printable-with-css/

Thank you for the nice (and still short) article - I really liked it.

However, while these rules apply for web pages, I would like to... let's say warn all developers expecting CSS is a good option for accurate printing.

It may work for single page printouts or "make this page more printable" approaches, but don't expect it to be an easy opt out of providing PDFs for every single use case.

CSS for printing gets annoying pretty quick as soon as you have some more sophisticated requirements. You should probably also know that print-CSS is not fully cross browser compatible - there are quirks and caveats for every single one of them regarding font sizing, margin, padding and page-layouts.

I would not recommend to use HTML + CSS for something that really needs to be exactly the same layout in every browser.

Re: Calendar

#33
Daveseah.com was a favorite bookmark for me -- his "printable CEO" series of task planners and calendars were cool.

I have since fallen off the productivity wagon unfortunately.

For many years past I have printed and used stacks of the Emergent Task Planner.

He has a Compact Calendar that has somewhat similar layout as OP.

Edit to add link:

https://davidseah.com/node/compact-calendar/

The website domain seems to have changed a bit.

Re: Calendar

#34

CSS rules for printing is one of my favorite features of the web. You get a powerful typesetter directly in your browser. For those wondering how it's done, I wrote about it [0] recently for my friends who frequently asked how I generated PDFs for my blogs. [0] https://barish.me/blog/make-your-website-printable-with-css/

Neat, I did one of these too :)

https://voussoir.net/writing/css_for_printing

Re: Calendar

#35

CSS rules for printing is one of my favorite features of the web. You get a powerful typesetter directly in your browser. For those wondering how it's done, I wrote about it [0] recently for my friends who frequently asked how I generated PDFs for my blogs. [0] https://barish.me/blog/make-your-website-printable-with-css/

Thank you for the nice (and still short) article - I really liked it. However, while these rules apply for web pages, I would like to... let's say warn all developers expecting CSS is a good option for accurate printing. It may work for single page printouts or "make this page more printable" approaches, but don't expect it to be an easy opt out of providing PDFs for every single use case. CSS for printing gets annoy…

Thanks for the feedback! Agreed, I too have experienced those quirks. This applies to most modern CSS features in general :-)

FWIW, I also have had also success with running a server-side headless chromium instance on an app where I was generating nicely formatted exam from provided questions.

Re: Calendar

#36

CSS rules for printing is one of my favorite features of the web. You get a powerful typesetter directly in your browser. For those wondering how it's done, I wrote about it [0] recently for my friends who frequently asked how I generated PDFs for my blogs. [0] https://barish.me/blog/make-your-website-printable-with-css/

Thank you for the nice (and still short) article - I really liked it. However, while these rules apply for web pages, I would like to... let's say warn all developers expecting CSS is a good option for accurate printing. It may work for single page printouts or "make this page more printable" approaches, but don't expect it to be an easy opt out of providing PDFs for every single use case. CSS for printing gets annoy…

Yeah we wanted something that would print with exact physical sizes and there's no reliable support for that so we ended up generating PDF with PDFium in WebAssembly.

Re: Calendar

#37
post #31

The neatnik calendar is very nice. Others are talking about enhancements they've done and I've done my own, creating a pretty faithful JavaScript implementation with enhancements: https://github.com/abetusk/neatocal https://abetusk.github.io/neatocal/ (demo) URL parameters can be used to alter behavior. Here's a highlight of some of them: https://abetusk.github.io/neatocal/?layout=aligned-weekdays&... (weekend highli…

Thanks for sharing!

Re: Calendar

#39

CSS rules for printing is one of my favorite features of the web. You get a powerful typesetter directly in your browser. For those wondering how it's done, I wrote about it [0] recently for my friends who frequently asked how I generated PDFs for my blogs. [0] https://barish.me/blog/make-your-website-printable-with-css/

Gutenberg[1] Print Styles has been my go-to for a very long time. If I remember correctly, the issues I faced was that I could not control pagination. 1. https://github.com/BafS/Gutenberg

Neat! I'll add it to my blog.

Re: Calendar

#40
This is BRILLIANT!! Thank You. Such as simple idea I wonder I have never thought of doing it myself. I currently have Stick notes to do list but it is a little messy with some date on it.

The older I am, the more I use good old fashion analogue tools like pencil and paper.

Post reply on HN