A friend of mine got a letter from his neighbor's attorney bitching about his tree or something stupid. So he literally wiped his ass with it and then took a picture of it and emailed it back with the body of the email saying thanks, I was running out of TP. can you add that feature ?
Ya, totally right, those "try to scare you" lawyer letters from the neighbor who has their lawyer on speed dial are generally bullshit.
In this case of course nothing happened. But my friend said his neighbor just gave him a dirty look from then on but that would have happened anyway. If someone can sue you they probably will, If they don't have a case their lawyer will send you a stupid letter.
I know a bit about tree law in the USA. Neighbors have a right to trim (they must do it, unless the tree is obviously diseased.)any part of a tree that comes over their property line. It's a bit more nuanced, but that's basically the law.
(I belive the Tree Cutting outfit is suspose to cut the limbs with care. I mean they are not suspose to introduce pathogens from their tools onto your trees. I have Oak trees and worry about their health. I've noticed PG&E is hiring pretty much any out fit to trim trees. They are seemingly untrained. They don't know what that it's not the low voltage lines that are causing the fires? Years ago I noticed they don't seem to sanitize their chain saws. I once, before the fires, asked PG&E to spray a bit of bleach on their tooling through an email. The following day, there was a side show of sanitizer being sprayed everywhere, and they filmed it. I had no inclination of formally complaining. I just thought a quick clean might kill any pathogens. We have a problem in northern CA with Oak trees dying. Oh yea, just because a healthy tree falls from your property and damages your neighbors property; it doesn't necessarily mean you are liable to repair their property. It's more complicated. If a lawyer reads this could you educate me? I ended up just paying my neighbor, who's a lawyer, because a tree healthy tree fell on her property. The tree's trunk truck was 1/2 on the property line. I wasen't feeling good, and didn't want or could afford a fight with a miserable house bound attorney. From my understanding, I probally didn't need to pay anything. (I don't think she had a conversation with anyone without mentioned she passed the bar.)
I’m sure this letter made the rounds; clowns on this big brand; and gets free exposure for the underdog. Worth the $500 to write the letter. Will consider similar tactics in the future.
There's something extremely wrong with your implementation as it just takes too much to render every page. I've done plenty of work in the past with both canvas and pdf.js (which is what you're using) and it shouldn't be that slow, at all. Perhaps you have a rogue loop that's calling a very expensive function on each pixel of every page, maybe? Who knows, but for sure performance on that could be near real-time.
Here's a very naive blur implementation (which is your most expensive operation there),
https://codepen.io/almosnow/pen/abEXBZP?editors=0011 (at the end of the blur pass it prints the elapsed time to the console) You're right, it does get kind of slow at 2x, but not that slow, on my laptop it takes around 1 sec/page, while on your site takes 20-30 secs/page. Also, my very naive code does not take into account "warming up" and some other code optimizations to make the blur much faster, you could easily get it down to 100ms/page, I'm sure! Best luck!
You are right about performance, but does it really matter?
It feels like this is the sort of tool one needs (very) infrequently, and those cases don’t seem like the sort of thing where seconds really matter. I think it’s plenty good enough. I prefer to focus on how grateful I am that the author has made this and published it for free.
I wrote a similar program using PDF.js that renders near real-time (https://parepdf.com). You should be able to queue it up without too much trouble. If you’re doing pixel level manipulation, you want to make sure you’re finishing within the browsers frame budget.
Comments (177) 49 threads
Earlier commentsA friend of mine got a letter from his neighbor's attorney bitching about his tree or something stupid. So he literally wiped his ass with it and then took a picture of it and emailed it back with the body of the email saying thanks, I was running out of TP.
can you add that feature ?
From personal experience 99% of what attorneys are paid to do is send threatening letters that have nothing to back them up.
In this case of course nothing happened. But my friend said his neighbor just gave him a dirty look from then on but that would have happened anyway.
If someone can sue you they probably will, If they don't have a case their lawyer will send you a stupid letter.
Continue this thread — 3 replies
I know a bit about tree law in the USA. Neighbors have a right to trim (they must do it, unless the tree is obviously diseased.)any part of a tree that comes over their property line. It's a bit more nuanced, but that's basically the law. (I belive the Tree Cutting outfit is suspose to cut the limbs with care. I mean they are not suspose to introduce pathogens from their tools onto your trees. I have Oak trees and worry about their health. I've noticed PG&E is hiring pretty much any out fit to trim trees. They are seemingly untrained. They don't know what that it's not the low voltage lines that are causing the fires? Years ago I noticed they don't seem to sanitize their chain saws. I once, before the fires, asked PG&E to spray a bit of bleach on their tooling through an email. The following day, there was a side show of sanitizer being sprayed everywhere, and they filmed it. I had no inclination of formally complaining. I just thought a quick clean might kill any pathogens. We have a problem in northern CA with Oak trees dying.
Oh yea, just because a healthy tree falls from your property and damages your neighbors property; it doesn't necessarily mean you are liable to repair their property. It's more complicated. If a lawyer reads this could you educate me?
I ended up just paying my neighbor, who's a lawyer, because a tree healthy tree fell on her property. The tree's trunk truck was 1/2 on the property line. I wasen't feeling good, and didn't want or could afford a fight with a miserable house bound attorney. From my understanding, I probally didn't need to pay anything. (I don't think she had a conversation with anyone without mentioned she passed the bar.)
Continue this thread — 2 replies
I’m sure this letter made the rounds; clowns on this big brand; and gets free exposure for the underdog. Worth the $500 to write the letter.
Will consider similar tactics in the future.
Which tells you what a crappy (hehe) hustle these letters must be.
Continue this thread — 1 reply
There's something extremely wrong with your implementation as it just takes too much to render every page.
I've done plenty of work in the past with both canvas and pdf.js (which is what you're using) and it shouldn't be that slow, at all. Perhaps you have a rogue loop that's calling a very expensive function on each pixel of every page, maybe?
Who knows, but for sure performance on that could be near real-time.
https://codepen.io/almosnow/pen/abEXBZP?editors=0011
(at the end of the blur pass it prints the elapsed time to the console)
You're right, it does get kind of slow at 2x, but not that slow, on my laptop it takes around 1 sec/page, while on your site takes 20-30 secs/page. Also, my very naive code does not take into account "warming up" and some other code optimizations to make the blur much faster, you could easily get it down to 100ms/page, I'm sure!
Best luck!
Continue this thread — 2 replies
It feels like this is the sort of tool one needs (very) infrequently, and those cases don’t seem like the sort of thing where seconds really matter. I think it’s plenty good enough.
I prefer to focus on how grateful I am that the author has made this and published it for free.
Continue this thread — 1 reply
All comments shown.
Couldn't load more comments. Check your connection and try again.