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

Basically every Elixir package's docs include search based on Lunr, as it's included by default by ExDoc[1]. It's quite good.

[1]: https://hexdocs.pm/ex_doc/


> I had no idea common apps used to be just 10-30 MB. But are now hundreds of MB.

This is Android, but: 13+ years ago I had an HTC Desire. I was really struggling with internal storage space, regularly uninstalling and replacing apps just to be able to update others. Eventually I moved to custom ROMs just because they allowed some apps to be moved to the SD card.

I remember the biggest problem was WhatsApp, which was somehow over 7MB while the average was closer to 1MB.

On my current phone WhatsApp is 231MB. It's still pretty high up in the rankings, but doesn't stand out, and barely any apps are below that then-huge 7MB.


On Android most apps started bundling androidx/jetpack compat libraries that help deal with various API versions, and generally make the development much, _much_ easier. These days apps will also bundle the entire new Android UI framework (Compose) while in the past all the UI code was using framework classes.

Other than that, some popular and useful libraries will bundle native libs (for example for sql), and some ad/analytics/corporate SDKs will use native libs to share code between platforms and for obfuscation. These corporate SDKs (like Zendesk) will also notoriously break Android minification tools, because why bother


One of the struggles on my first android phone was fitting updates for the multiple google docs apps since they were all getting bigger and didn't share their redundant data. That phone had about 150MB for apps.

It's sad the laziness that happens when there's no pushback. The devs gain barely anything from leaving things this bloated, but barely anything isn't zero so now a million people have to deal with big files and wasted RAM.


> I'm self-employed and my entire suite of software is either windows or apple only

Sounds like we're back to self-inflicted then? If you're self-employed supposedly that software suite was your decision.


I mean there are literally no good Linux alternatives, but sure?


The relevant part is before that:

> This article is exclusively sourced on primary sources.

The Google search is the nominator looking for an alternative source that could make it notable, something earlier editors failed to establish.


Approximately nobody charges for basic incoming traffic to a server. If it's not mentioned it's free.


AWS will charge you if you cross zones.


You get a 304 because your browser tells the server what it has cached, and the server says "nothing changed, use that". In browsers you can bypass the cache by using Ctrl-F5, or in the developer tools you can usually disable caching while they're open. Doing so shows that the server is doing the right thing.

Your LLM prompt and response are worthless.


When Chrome serves a cached page, like when you click a on this page and then navitate back or hit F5, it shows it like this:

Request URL: https://news.ycombinator.com/item?id=46196076

Request Method: GET

Status Code: 200 OK (from disk cache)

I just thought that it would be worthwhile investigating in that direction.


That's a different situation. The browser decides what to do depending on the situation and what was communicated about caching. Sometimes it sends a request to the server along with information about what it already has. Then it can get back a 304. Other times it already knows the cached data is fine, so it doesn't send a request to the server in the first place. The developer tools show this as a cached 200.


Got it, thanks for explaining.


> idk how we can blame some JavaScript and html inside Firefox causing a Wayland crash as Discord’s fault

I don't see anyone talking about a Wayland crash, it's about Discord crashing.


Whoops, I thought I was replying inside this thread tree: https://news.ycombinator.com/item?id=46059256

> I tried Wayland earlier today on my home lab with Plasma and FreeBSD. It seemed pretty great for a bit and ran my monitor at 120Hz.

> Until it hard crashed my machine after I opened discord in firefox. Konqueror crashed on opening.

I lost track of the indentation on my phone


> It mentions CDN77, BytePlus, CacheFly, CloudFront, and Fastly. Is what Cloudflare provides in a different market segment?

Cloudflare's pricing is "free until you get a message from the sales team that it's time to pay up". That's impossible to compare to anything else, so yes effectively a different market segment.


Yup, been there. I was serving more than 45 TB of data a month on one site, and they tried to push me into a $4,000/mo product.

I’ll stick with my $20 subscription, thanks.


> Maybe I missed something but I don’t know what you’re quoting or paraphrasing.

They're quoting the image's title text. Every xkcd comic has one. On desktop you can see it by hovering over the image. On mobile you generally can't see it. You can go to the mobile subdomain (https://m.xkcd.com/3172// and tap on the image, then it pops up underneath.


Ah yeah sorry I was on my phone and don’t usually use the mobile site. The rest of my point stands though. Maybe I’m too close to it but it seems like an odd response. The pains of aging are far preferable to dying of cancer at a relatively young age.


Firefox for Android, for one, shows the alt text at the top of the context menu that pops up when you long press an image.

If it's too long, it gets truncated, though.


You can tap on a truncated alt text to extend it.


Discord does not do any sort of end-to-end encryption. All messages are fully readable and writable by Discord. Discord decides whether you are who you say you are, and all clients trust whatever Discord says to be trustworthy.


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

Search: