Better HN
topnewbestaskshowjobs
Log inSign up

makeworld

2,750 karma · joined Jul 16, 2020 (6y ago) · 622 submissions

GitHub: @makew0rld Website: https://www.makeworld.space/

Old submissions may link to makeworld.gq which I no longer own. Content from that website lives on at makeworld.space.

Submissions

481.

Show HN: Amfora, a TUI Browser for Gemini(github.com ↗)

3 points · by makeworld · 5y ago · 1 comment

comment 5y ago · link · parent

Thanks a lot for this, I was hoping to learn with this blog post. Correctness is the highest priority for me, so I'm glad to improve my library.

I will update the library to use 16-bit color everywhere (0-65535), and update the blog post to note this.

As for the rounding, that's another great point, and thanks for the link. I will change the library and blog post to round to the even number on ties.

Edit: I've updated the blog post, I'd appreciate if you could check it out and let me know if I made any mistakes with the update.

comment 5y ago · link · parent

No, the article and the library does gamma correction, and I've observed the exact effect you're talking about before. I'm not sure why the images are appearing too bright for the person above. Maybe because it's using pure colours like red and green which are bright on RGB displays? I should've chosen a different palette.

comment 5y ago · link · parent

Good point, perhaps I should've picked some different palettes. But the ideas behind the blog post generalize to all palettes.

comment 5y ago · link · parent

Thanks, I didn't know about this! Do you have any links to learn more? In any case, this is on the dev who uses the library and specifies a palette rather than the library itself though.

comment 5y ago · link · parent

My understanding is that while "halftone" is an older term now, there was an in-between period where it meant any kind of dithering. Indeed, even on the page you linked you see people talking about Floyd-Steinberg and other kinds of dithering.

Thanks for the link, although the best I could find was this[1] old Java file that's completely uncommented. I was hoping for some textual documentation.

1: https://github.com/gabrielarchanjo/marvin-framework/blob/f50...

comment 5y ago · link · parent

Doesn't it look cooler now because it's "retro"? I'm sure the people who were forced to use it for hardware reasons would've loved to have all 24 bits available to them.

comment 5y ago · link · parent

Hey, nice to see you here! Thanks for your help.

comment 5y ago · link · parent

Glad someone noticed :)

I got it from some else's personal site that's offline now, and definitely keeps the bots away. Some humans too.

490.

Ditherpunk 2 – beyond 1-bit(makeworld.gq ↗)

184 points · by makeworld · 5y ago · 57 comments

comment 5y ago · link · parent

Could someone explain this? How is it used, why does it take a vector as input, where do the magic numbers come from, etc.

492.

Aether Blog: New Day, New Folks, New Beginnings(aether.app ↗)

1 points · by makeworld · 5y ago · discuss

comment 5y ago · link · parent

This is an anecdote.

comment 5y ago · link · parent

I found this too! I wasn't expecting that. What a fun trick.

495.

Perchance: A platform for creating and sharing random text generators(perchance.org ↗)

2 points · by makeworld · 5y ago · discuss

comment 5y ago · link · parent

ffmpeg would be a better tool for that. Handbrake too I think, if you prefer a GUI.

comment 5y ago · link · parent

> triple quotes

Just to clarify, triple quotes work fine in gemtext. It's triple backticks that start and end preformatted sections.

So only a line that exactly starts with triple backticks can't really be shown properly. Everything else can.

comment 5y ago · link · parent

What if you want to display a pixel-perfect image? Perhaps this a rare use case, but it's important for some things, like dithering. Is there any way for you display an image where every pixel matches up to a display pixel?

comment 5y ago · link · parent

That is often what riots aim to do, yes.

comment 5y ago · link · parent

If you look at the mobile before and after it becomes more clear why this is useful.

comment 5y ago · link · parent

I agree, but for anyone who's looking, here's the Hello World page.

https://tutorial.ponylang.io/getting-started/hello-world.htm...

502.

Don't use the LGPL for Go code(makeworld.gq ↗)

1 points · by makeworld · 5y ago · discuss

comment 5y ago · link · parent

As someone said in the replies to this tweet, facts cannot be determined by the majority. The democratic aspect of this feature, where anyone can say why something is false, and others can say whether they agree with that counter-claim, seems bound to fail. It elevates the opinions of random people for no reason. If you wanted to disagree with a tweet, there was already the reply feature for that.

Facts and truth require trust in the institutions that claim to present them, because we cannot verify everything ourselves. I'm not really sure you can "crowdsource truth" as Twitter seems to be attempting here. It will just be whatever the most people who saw that tweet thought, and people who disagree with the report will just use it as more fuel to victimize themselves, regardless of whatever is actually true.

comment 5y ago · link · parent

I think you are missing the point. The fediverse is a network of servers that can host content and communicate with each other. Each server is moderated individually. Some are "policed vigorously" and some are not, some have issues with illegal content and some do not. The decentralization is inherent in the system, no matter each individual server is moderated.

comment 5y ago · link · parent

Yeah, like what? This is from October 4th, 2019. I think this has jumped to the top because many people thought this happened today.

comment 5y ago · link · parent

What does this mean? If something is necessary, is it not justifiable? If it is justifiable, how can it be bad?

comment 5y ago · link · parent

Where is that semaphore struct from? I can't find sync.NewSemaphore in "sync" or "golang.org/x/sync".

comment 5y ago · link · parent

The tweet links to a paper published in Nature. What's missing for you?

comment 5y ago · link · parent

> Be careful with locks in the form "x.Lock(); x.DoSomething(); x.Unlock()". If DoSomething panics, you will still be holding the lock, and that's pretty much the end of your program.

Interesting, thanks. But isn't panicking the end of your program anyway? Could you provide another example where no using defer causes problems?

comment 5y ago · link · parent

Couldn't have said it better myself. Mastodon appears to solve all the moderation problems I've seen raised about social media.
1
161718
21