Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rognjen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
481.
▲
Turns out Elastic aren't the bad guys
(ognjen.io)
4 points
by
rognjen
5y ago
|
0 comments
482.
▲
by
rognjen
5y ago
Not really much to it. A directory with notes that has subdirectories for different things. For your example, I've a directory called resources and it has subdirs like books, videos etc. Each note is a markdown file with some front mat
483.
▲
by
rognjen
5y ago
I use markdown files with a couple of VSCode extensions for links mainly.
484.
▲
by
rognjen
5y ago
Interestingly enough there seem to be 88 issues related to colors https://github.com/alacritty/alacritty/issues?q=is%3Aissue+i...
485.
▲
by
rognjen
5y ago
I did a similar thing using the IMGKit gem https://github.com/csquared/IMGKit that uses wkhtmltoimage to generate a PNG from HTML. I believe you could use wkhtmltoimage directly and skip Puppeteer.
486.
▲
by
rognjen
5y ago
That's a good point. It would definitely be worth A/B testing the results.
487.
▲
by
rognjen
5y ago
Given the polygons are regular shape and size it would be simpler then you might imagine. It just might take a couple of tries to get the size correct. For the blurred triangles I think it would take a bit more work but I'm fairly sure
488.
▲
by
rognjen
5y ago
Makes sense. Your use-case is definitely more demanding so I understand how this would not be useful.
489.
▲
by
rognjen
5y ago
That's quite interesting. I wonder if it could be used for the blur step because it did take a long while to run.
490.
▲
by
rognjen
5y ago
That was my thinking exactly.
491.
▲
by
rognjen
5y ago
That's a good point I didn't really consider. Here're the resulting file sizes. The triangles used a larger image as a starting point though. 75K image-previews-adaptive-blur-output.jpg 13K image-previews-gaussian-blu
492.
▲
by
rognjen
5y ago
> fixed seed Yeah, the idea was that the preview would be generated on upload
493.
▲
by
rognjen
5y ago
Thanks. Yeah, it was mostly to try something different. Maybe this isn't ideal but might be the next step to something even better.
494.
▲
by
rognjen
5y ago
Probably a different use case then what you might have imagined.
495.
▲
by
rognjen
5y ago
That's an interesting hypothesis.
496.
▲
by
rognjen
5y ago
Never thought about it that way. I guess wanting to be healthy is selfish.
497.
▲
by
rognjen
5y ago
I don't really care about Clubhouse one way or another but if your article uses the phrase "falling off a cliff" I think you should have a graph where you can see that cliff.
498.
▲
Generating more interesting image previews using imagemagick
(ognjen.io)
145 points
by
rognjen
5y ago
|
46 comments
499.
▲
by
rognjen
5y ago
Nice. I've been using Pocket https://getpocket.com/ for a long while
500.
▲
by
rognjen
5y ago
> Some of these things can be fixed in post Excellent turn of phrase. Some of the bugs will have to be fixed in production but some technical debt you'll just be stuck with.
501.
▲
by
rognjen
5y ago
> If your work isn't ready for users to try out, please don't do a Show HN. Once it's ready, come back and do it then. Don't post landing pages or fundraisers. From ShowHN Rules: https://news.ycombinator.co
502.
▲
Substack: The future of news – or a media pyramid scheme?
(theguardian.com)
2 points
by
rognjen
6y ago
|
0 comments
503.
▲
by
rognjen
6y ago
Exactly! And in a year or two when they'll just quietly bring them back should they realize it hasn't had the impact they wanted.
504.
▲
by
rognjen
6y ago
The landing page looks nice but has a lot of hand-wavy claims. For instance, > Your Internet speed while using Mighty is over 1 Gbps. How's that work if it isn't? > 2 more hours to stay in flow How are you going to improve m
505.
▲
by
rognjen
6y ago
I understand your point as a thought experiment rather then a conspiracy theory in earnest so I don't think your down votes are justified. However, I disagree with your second point. The way this is being handled has only increased my
506.
▲
by
rognjen
6y ago
Quick! Someone make a curated list of curated lists of lists!
507.
▲
by
rognjen
6y ago
That's a problem I've noticed in two areas: programming resources and travel. They tend to dump all the information and just state the facts. Very few make specific recommendations and the reasoning behind it.
508.
▲
by
rognjen
6y ago
This is my main quibble with people who are shocked at what Facebook (and Reddit) do with their data. These companies can't do anything with your data if you don't give them any. Yet, people are willingly giving them such detailed
509.
▲
Poll: Which homepage should the logo on the blog lead to?
2 points
by
rognjen
6y ago
|
1 comments
510.
▲
by
rognjen
6y ago
Blog
More ›