bluehorseray
bluehorseray on Hacker News
Posted by
bluehorseray on Monday May 29, 2023 @09:28PM
from the youtube.com dept.
pdftotext in python works pretty well:
import pdftotext
import sys
with open("test.pdf", "rb") as f:
pdf = pdftotext.PDF(f,physical=True)
for page in pdf:
print(page)
Here's a stackoverflow link with a similar question:
https://stackoverflow.com/questions/34732718/why-isnt-there-...I actually don't know if there are fonts to cover every single unicode character, but I could be wrong.
I'll suggest a ridiculous hack, but could end up being a cool little project to try to get working.
I recently built a web page to display random unicode characters, and I saw that if a character isn't supported by a font it would show up as a square / rectangle.
I ended up checking to see if a character was supported by drawing the characters to HTML canvas, and then iterating through the pixels to check if it matched that square shape (there's probably a better way to do it).
You could do something similar, and then for all "unsupported" characters found, make a request to this URL with the second to last parameter being the unicode char: https://www.fileformat.info/info/unicode/char/0041/fontsuppo...
Then scrape that page for the supporting font names.
Maybe I'm wrong, but I find the discussion around "reminding" yourself to have good posture off-base. It's like saying that if you want larger biceps, you should walk around with your biceps flexed all day. I feel like the important part is strengthening your postural muscles, and then just living normally
If you spend less than or equal to 2/3 of your current income right now you should be able to quit with 0 years living expenses covered. If you spend all of your current income right now, and your 5 years living expenses assume 0 income than you essentially have 15 years of runway. Seems fine to me if your math is right
I honestly think there's a huge market for a consumer grade "pet" robot. Would love to have one of these running around, then I can just turn it off when I leave
Posted by
bluehorseray on Thursday April 27, 2023 @10:16AM
from the twitter.com dept.
Should happen every ~115 days
14:17: "I suspect too much of the processing power is going into using the model as a database instead of using the model as a reasoning engine"
https://youtu.be/L_Guz73e6fw?t=857
I think it's Elon's response to his "all active design projects" claim.
I'd be surprised if he led "the prioritization of [all] design projects across the company to make sure we were able to deliver with a small team" and Elon doesn't know who he is.
Are you writing meta fanfiction?
Posted by
bluehorseray on Thursday January 26, 2023 @06:04PM
from the twitter.com dept.
I'll be honest this is pretty incoherent.
What hasn't improved over the past 15 years? All HN cares about is making new laws? Please re-write
It would be pretty cool to have Steve Jobs and Sergey Brin fighting over you as an employee, wonder who it was.
Try to find a 3rd party phone repair shop. There's a decent chance they can get your old phone charging pretty quickly and cheaply if it's just your charging port being dirty / faulty.
If anything I think China no longer manufacturing cheap foreign goods will strengthen them in the longterm
Posted by
bluehorseray on Monday November 07, 2022 @08:13PM
from the youtube.com dept.
Hmm this sees pretty prohibitive for a lot of people. Hope it gets delayed again
I could be wrong, but I think Twitter was just about to introduce videos to the platform and saw Vine as a competitor. So they shut it down. I've always thought that was a pretty big mistake.
I totally forgot Twitter bought Vine. This is interesting, I've always thought the US never banned TikTok partially because it's so popular. If Musk does bring Vine back and successfully competes with Tiktok, maybe the gov will help him out and ban it.
It's been ~6 hours since Musk closed the deal. Maybe he shadow banned your account in the afternoon
That's actually why I looked this up in the first place. I think it's just air from what I could gather. The three sections of the pipe are laid on the seafloor like this (with the open end staying out of the water):
https://www.wermac.org/nordstream/html_img66.html.
And then those three sections are welded together using an "air-tight habitat" surrounding them.
From what I've heard salt water getting into the pipe could make it really difficult to repair, and it might have to be scrapped altogether.