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

just curious: what do you use to convert web pages to pdf?


Not op, but I've had good experience with WeasyPrint. I use it for generating PDF invoices: I create a HTML invoice from a template, WeasyPrint turns it into a PDF document. It handles CSS, images, custom fonts, etc.

A neat trick to convert HTML to PDF in a browser environment is to open a new browser window, load the HTML in it, and call print() on it, like here: https://stackoverflow.com/a/33890644/5821. May be OK for an internal tool.


puppeteer


from my perspective of someone from Southeast Asia, Son Goku is definitely Sun Wukong the Monkey King from Journey To The West

https://en.wikipedia.org/wiki/Monkey_King


I also didn't realise as a western kid that Dragon Ball is set in a Taoist / Buddhist universe. The way the gods, afterlife, etc work in Dragon Ball, the way you can get super powers through training is extremely related to buddhist / taoist mythology.


How?? The Monkey King is a trickster and quite frankly, mean to a lot of people. Goku is the exact opposite. The only thing they have in common is the extending rod that Goku would fight with as a child.


Watch the original episodes, he is very much like a trickster monkey. Then he matured into what people remember him as and became very different, but he didn't start that way.


He is inspired by Wukong for episode 1 and then pretty much stopped being that...

Literally never seen Goku tricking anyone, there are a few instances in which he plays with the enemies but they were the baddies.


> then pretty much stopped being that

not true

The original Wukong [1] flies on a "golden cloud" (does that rings a bell?) and uses as a weapon a growing stick (Ruyi Jingu Bang, transliterated in Japanese as Nyoi Bo, the name used in the Dragon ball anime and manga) that obeys to voice commands

In Dragon ball the golden headband (that can shrink as a form of punishment) is missing, replaced by a regular red headband that sometimes Goku wears

EDIT: of course I forgot the most important one: Goku can become a monkey. Wukong is a monkey, the monkey king.

[1] https://external-preview.redd.it/CZeTiWE13k8lyrdzQ5pGZqY6wI6...


I get that but I was talking about the behavior.


In Journey to the west Sun Wukong learns to behave and start following a path of spiritual growth and wisdom that, at the end of his journey, leads him to become enlightened and a Buddha himself.

Much like Goku in Dragon ball, where trough the training and by following his master's teachings, he becomes a warrior with a noble heart that values friendship over everything else.

After that, I agree, it's simply about becoming stronger and stronger.


It was crazy reading Journey to the West and being like, "WTF, THAT part of Dragonball comes from this?"


I didn't watch the episodes, I read the 16th century book Monkey, translated into English by Arthur Waley. Supposed to be a pretty faithful translation, which is why I was surprised by your comparison of Sun Wukong and Son Goku.


China pumps out a Monkey King movie every year. They are all totally different interpretations other than he is a monkey and has a stick.


> and quite frankly, mean to a lot of people > Goku is the exact opposite.

How? How abandons his family to train or fight enemies. He puts everything at risk just for a good duel. He helps the enemy recover or throws his son out there just to see a good fight. Just because he's the MC and portrayed in a positive light...

He might be a popular character but definitely not nice.


Especially when you get into DragonBall super when he goes against what everyone is telling him to do and challenges super God to a fight, starting something that could have led to the death of multiple universes. And when he allows frieza to do whatever as long as it doesn't effect earth. He's very selfish in a lot of ways.


That was his original inspiration but he has matured far beyond that.


I'm a software engineer working in the insurance industry in Vietnam. The company provides claims service (TPA) for insurers. I find the conversation super interesting as our healthcare and insurance system share the same problems with the US (everywhere else too I think). I'm super excited that my work piece by piece improve the industry one way or another.


Nextjs deployed on Vercel Hasura with Postgres Apollo server deployed on Lambda using serverless framework.


Have you deployed hasura in a lambda?


Same here. I use Apollo Client. React. Hasura


I’ve just tested it out with our code base and it’s pretty impressive providing very useful intelligence of my team. Codescene provides metrics like he wrote in the post and many more.


My mind is blown. Thanks for sharing. Especially with the movie analogy. I’m a very movie person and I imitate my personality traits a lot based on characters on movies…


congratz on the success of new launch, Trung.


Thanks! Do we know each other? :)


The Zanarkand brings back so much memories I've spent hundreds of hours with


interesting. could you point to more details? I'd like to know more since I'm a fish breeder and a lot of fishes need a controlled environment for breeding.


There are a variety of papers on the topic for hydroponics (see below) using weak acid cation resins with reciculation to control pH so you don't need to constantly replace buffers or use pH up/down chemical additions either, there are also some forum threads and reddit posts, some related to marijuana hydroponics. I suspect the same approach could work for fish breeding depending on marine/fresh water.

https://www.researchgate.net/publication/11808440_Stabilizat...

https://www.tandfonline.com/doi/abs/10.1080/0190416920936436...

https://onlinelibrary.wiley.com/doi/abs/10.1111/j.1399-3054....


thanks for the sources. I'll be digging deeper.


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

Search: