4,687 karma · joined Dec 4, 2021 (4y ago) · 1,693 submissions
comment 4y ago · link · parent
I am also sure she would love these selfsame pages to load instantly when shes accessing them via her old cell phone at my uncles house where reception is bad and the device has to revert to 3G.
No, "other" people don't want bloat, tons of adds and "clever designs" (aka. a huge useless picture-banner that contains zero information) either.
comment 4y ago · link · parent
Microservices are no exception from that rule, and often repeat the same mistake as OOP did with its promise of "reusable code".
Does it sometimes make sense to break some larger services up in smaller ones? Yes.
Does it make sense to "factor out" every minor thing of the implementation into something that can individually be manhandled into a docker container because at some point in the far future, someone may save a few minutes of typing by talking to that service? No.
Why not? Because on the 1:1000 chance that what the service does is actually exactly what that other thing requires, it will probably take more time to implement an interface than it would to simply implement a clone of the functionality.
comment 4y ago · link · parent
https://docs.docker.com/network/iptables/
By default, all external source IPs are allowed to connect to the Docker host. To allow only a specific IP or network to access the containers, insert a negated rule at the top of the DOCKER-USER filter chain.
comment 4y ago · link · parent
"The Go Programming Language" - Donovan & Kernighan
Even knowing the language when I started reading each of them, both these books had a lot to teach: Clarity of Expression, building things yourself to get an understanding how more complex versions function, building code that is extensible, understandable and testable, and most importantly: Understanding software engineering not as an academic exercise but as a craft.
Both of them also showcase the virtue of simplicity. It's much easier to avoid getting drawn to a new tech fad when you can just look at it saying: "Basically, all this really does for us is X, so why do we need the whole XYZ?"
comment 4y ago · link · parent
I would like to have 3 questions answered:
1. How can the telomere shortening be reversed in an adult without inducing abberant cell growth?
2. How do we stop stem cell populations from reaching senescence?
3. How do we deal with the fact that continued mitosis leads to an accumulation of copy-errors in aforementioned cell populations?
comment 4y ago · link · parent
No we don't.
As I have written before in this topic, HN is the perfect example. It pulls in a small css and js file, both of which are so slim, they don't even require minifying. The resulting page is small, looks good, is performant and most importantly does its jobs.
We don't need megabytes worth of cruft to display a good looking page.
comment 4y ago · link · parent
Its not better if the only thing that keeps it afloat is the fact that broadband is ubiquitous by now (and that isn't even true for most of the world), and hardware got alot better.
The main difference is that many people started using the web after the gamification and bloatation took over, so they are used to adbanners flying in, random videos which start playing, and phone batteries going flat just by looking at a news article.
> It's just that there's more work to be done.
But is that extra work necessary? Look at this threads page on HN. It loads 402 kb worth of content: the html, a tiny amount of JS that isn't even minified (and doesn't have to because its so slim), a small css file, 3 small gifs and the favicon.
That's it. That's all the network-load required to display a usable, information-dense, not hard to look at and performant experience.
comment 4y ago · link · parent
Every website which loads way more content than its use case justifies. If the high quality of my device and ubiquitous broadband is the only reason that something appears to be loading fast, that's not good.
>Or let's pick a technical resource. go.dev's landing page? No noticeable delay in loading for me
Among other things, that's because this is a website loading what it has to, instead of everything and the kitchen sink. 885kB in total, and most of that are the images of "companies using go".
comment 4y ago · link · parent
Pretty sure I said nowhere that we shouldn't invent new and better protocols. QUIte the contrary (pardon the pun).
What I am saying is: We should not need to rely on new protocols to make up for the fact that we send more and more garbage, we should send less garbage.
If we can get less garbage, and new and improved protocols, all the better!
But if all we do is invent better protocols, the result will be that what buries the internet in garbage now, will use that better protocol to bury us in even more garbage.
comment 4y ago · link · parent
Accessing a page where all useful information I am interested in is text, should not require a new protocol developed by genius engineers to work without delay. If I want to read an article that is 50kB of text, it's not unreasonable to expect that information to be here before my finger leaves the ENTER key, regardless of how its transmitted.
Why isn't that the case?
Because said article is not transmitted with a dollop of html to structure it, and a sprinkle of CSS and JS to make it look nice. It's delivered to me buried in a mountain of extraneous garbage, pulled in from god-knows-where, mostly to spy on me or trying to sell me crap I don't need.
I am not saying "don't invent new protocols". But maybe think about why it was perfectly possible to have functional, fast, and reliable webpages and applications in the 90s and early 00s, despite the fact that our networks and computers were little more than painted bricks and paper-mache by todays standards.
https://idlewords.com/talks/website_obesity.htm
If we don't think about this, then neither QUIC, nor QUIC2 or REALLY_QUIC will save us from being wading through a pool of molasses slow crap. Because inevitably, following each techical improvement that could makes our stack faster, is an even bigger pile of bloat that drags it down again.
comment 4y ago · link · parent
In that strictest sense of the word, even an RDP client onto a windows desktop is a "terminal".
As the article points out itself however: The colloquial semantic meaning of the word, aka. what is usually meant by it, is TEXT TERMINAL.
And btw.: Even for a fully featured RDP client, I wouldn't accept a size of 200+MB. The one I use at work is barely 4MB.
comment 4y ago · link · parent
No, we really don't, because these libraries are available to other programs as well, whereas a huge packaged application is availabe to nothing than itself.
comment 4y ago · link · parent
Our children will still complain about a 10MB application, if it does something that could be done by a 500KB solution.
>Comparing a complete bundle for an advanced graphical application framework with a TUI application is apples to oranges,
And what do I need a "advanced graphical application framework" for if the intended use case is displaying text in a grid?
comment 4y ago · link · parent
It has a simple design that doesn't get in the way of its functionality.
And because of that, the entire page for this Ask is 19.4 KB in size at the time I write this reply. It would load instantly even via EDGE or a godamn 56kbaud modem.
Whereas with some website "designs", even a 3-paragraph 200 word nugget of wisdom, may well clock in at several megabytes.
What's also nice about "boring" designs: They render predictably, and well, on all devices. HN works on my laptop, my widescreen, my phone, my older phone, and even my terminal:
links https://news.ycombinator.com/item?id=29540330`
This works, and the result is even usable.> Most devs that I know prefer CLI over GUI, even when GUI makes their life easier.
How exactly does a GUI make my life easier?