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

To what extent does this reduce image file size? Could I use this as an alternative to dithering for lazily loading large images on a website, for example?


axe312ger/SQIP[1] does this effectively in low-quality image loading relying on the before-mentioned fogleman/primitive library. I think OP's project would be great to add as a new entry to the SQIP demo site [2].

In the thumbnail demo, the LQIP-custom approach (simple resize to low-res jpg thumbail+optimize jpg) approach preserves the more salient features better and has compression on-par-or-better than SQIP with lower processing times. So in my opinion the simple extreme resize+jpgoptim is preferable for thumbnails.

Thumbnails are only small part of LQIP story though and I can imagine RH12503/Triangula having much nicer results for larger images than fogleman/primitive. OP should consider writing an axe312ger/sqip plugin.

1. https://github.com/axe312ger/sqip

2. https://axe312ger.github.io/sqip/


That's an interesting idea! I suppose it could be used for compression, although my intentions were for this to be a generative art project.

I triangulated a 1988×1491 jpg using 10,000 points and managed to reduce the size to 20% of the original size, but the triangles could still obviously be seen.


You could probably make it into an SVG file to reduce the size even more.


Love this idea. A novel vectorization.


Adding my voice to this. It would be an amazing tool for web work -- the vectorized images look far better than the very small jpeg images used in lazy loading today.


Similar functionality is already implemented in Boxy SVG editor [1]. There is also another more powerful "Primitivize" generator which has more options, e.g. you can choose whether the vectorized image should consist from triangles or rectangles.

[1] https://i.imgur.com/I8Fq1bM.gif


And could inline, so that the preview image is loaded with the page itself.


It sure looks better aestethically esimov/triangle or fogleman/primitive! Goal achieved I would say.

It still would be cool to see this compared to those in Low Quality Image Placeholder implementations and find out if the extra work on nicer aethetics is preserved when the blur applied.


Blurring is a good idea! It could work with placeholder images, but it'll probably be better with smaller ones (eg. profile pictures).


I wish newspapers in the UK would provide APIs to download scans of their front page like the New York Times do.


Unfortunately a number of entries are indexed under the wrong dates.


We used to play this game in school. Everybody clicks random article at the same time then races to traverse links to a decided destination page.


I'm curious as to why you say it's 'critical' to have your own domain on Github pages? Is it to do with search engine listings?


Joel Spolsky (if you don’t know him, he was one of the first “Celebrity Bloggers” in tech culture) gave me a piece of advice more than a decade ago: Own your own domain and publish under it, that way you always control your content and the links to your content.

If my blog was raganwald.githubpages.com, GitHub could theoretically decide that githubpages needed to be deeply integrated with Windows or some other foolishness, and I’d be screwed.

But since my blog appears to the world as raganwald.com, I can leave GitHub Pages whenever I like, and all the links will continue to work. It's about long-term control, and for that you need:

1. Control your content, ideally with a copy of the source on your own devices at all time, in an open format with an ecosystem of tooling, and;

2. Control your domain name.


do you have any examples of school class materials which teach stuff like this? I'd be really interested to read through them.


When I set up my personal gmail with Mutt, I used the following guides, if you're interested. None of them are perfect, so I did what most people do and took bits and bobs from all of them:

1. [https://smalldata.tech/blog/2016/09/10/gmail-with-mutt]

2. [http://stevelosh.com/blog/2012/10/the-homely-mutt/]

3. [https://baptiste-wicht.com/posts/2014/07/a-mutt-journey-my-m...]


What is the best way for me to access Sci-hub? Does it cycle through domains? If so, what is the best way for me to access the most up to date URL. Is there a UNIX command line method for doing this?



I go to its Wikipedia page, but sci-hub.tw has worked pretty consistently for a while now.


This doesn't seem to be working for me. I am in the UK. I enter my number, then receive a text:

> Hi! This is txxt. Send messages to this number to see them on your page. If you didn't ask for this, ignore it!

I then reply with:

> Reply

but it doesn't show up on the webpage. If I reload the page it says:

> Looks like you were sent a welcome text but didn't finish setting up your account. > > Reply to the text and you'll see your message(s) show up here. > > Click here to be sent another text.


Hey, sorry it didn't work! I just pushed an update that uses a new UK-based number for users in that region, so it should work now. Let me know if you try it again.


Fantastic, it works great. I'm really impressed, brilliantly clean UI


Awesome, and thanks! :)


I've been thinking about this concept recently as well and I'm really happy to see it out there. I was inspired by the Light Phone II [1], but didn't want to buy a second phone, that seems to go against the ethos of minimalism a bit.

I currently use Essential Launcher [2] for those times when I need to focus (or save battery life).

At the moment the way I'm using 'No Phone' is to access sms/whatsapp through the Calls app, which has a contacts list. That leaves me with two slots, one I use for an email app and the other for a web browser. Camera can be accessed from my lock screen. Although I appreciate the simplicity of the task list, I would prefer to use my Google Keep notes for this, then it fulfils the role of task manager and a basic notepad.

[1]: https://www.thelightphone.com/#lpii

[2]: https://f-droid.org/en/packages/de.clemensbartz.android.laun...


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

Search: