500 KB + Tens of millions of lines of code of a browser + a bunch of backend code. Want a lean Slack alternative? Use IRC. Want a fancy Slack alternative? Use Matrix.
Linen.dev: A 500 kb Slack alternative
191–200 of 219 posts
Re: Linen.dev: A 500 kb Slack alternative
#192Earlier quoted context omitted.
Hey, glad you found information that works for you! In my experience, Google search results are poor these days, prioritizing esoterica or blogspam instead of useful insights due to decades of SEO battles. I prefer to hear what folks I'm directly interacting with are saying when they make a recommendation instead of jumping to the old "LMGTFY" silliness we all smugly passed to others circa 2008 who forgot to RTFM/RTA…
It's the first result, and has a landing page with all the information you need. Maybe you should really Google that first. Asking intelligent questions, but doing some of the legwork yourself would get better results in my experience. Wasting people's time by asking them with 0 context provided (so they know your level of expertise) often gets them to repeat to you what could have been discovered in 30 seconds. You…
I disagree, evidenced by the many other commentators who clearly wanted to discuss. I feel the only time wasted has been in trying to police comments on a comment thread eliciting uncurated information. Have a good day wherever you may be.
Re: Linen.dev: A 500 kb Slack alternative
#193Earlier quoted context omitted.
> tree-shaking Always fascinated when I hear that JS term for what's essentially dead code elimination.
As far as I understand it, that's because it's different. Dead code elimination analyses the code and removes paths that can't be executed. Tree shaking only looks at the imports and removes code that isn't imported from the bundle. If code is imported but not executed, then tree shaking won't remove this code, even though it is dead code. Using a different term is reasonable to avoid confusion, in this case.
Re: Linen.dev: A 500 kb Slack alternative
#194Earlier quoted context omitted.
Tell me more about Zulip?
Recently I saw that the Rust dev community is using Zulip: https://rust-lang.zulipchat.com/ I haven't used it yet, but in general excited by projects like Linen and Zulip. I hate Slack and Discord (I love the web, deep links, and indexability/searchability)
Re: Linen.dev: A 500 kb Slack alternative
#195Earlier quoted context omitted.
I disagree, the UX definitely is very polished, and much better than Slack. The UI, yes, I agree, though I find it very clean and functional.
Clean and functional perhaps, but based on that screenshot, I would agree that it needs a lot of UI work. The bold text being the same size and weight as the username while having the same alignment, the reply icons being the same size as the user icons, no real spacing difference between the username and post content vs the username and post above it, the spacing in general mostly separates things rather than organi…
Re: Linen.dev: A 500 kb Slack alternative
#196Earlier quoted context omitted.
It's because a lot of projects - not just open source (hell, my laptop manufacturer is now linking to their Discord for support) - have moved their support to Discord, and finding anything on Discord is a huge pain, even if their indexer decides to work that day.
It's hard to express how much I dislike Discord as a user why anyone ever thought hyperactive gamer chat was the right way to offer community and support to their tech product is beyond me I also don't want it in Slack - Slack is office chat for my job, I don't want to be adding random other stuff in there Please just use a forum. Discourse seems to be the good/popular one.
Discourse is so horrible people would rather use Discord or Reddit - that's how horrible it is.
Re: Linen.dev: A 500 kb Slack alternative
#197Ah yes, highlight.js. One innocent import hljs from 'highlight.js'; pulls in over a Megabyte of hundreds of programming language syntax definitions. Do you really need Mathematica, "ISBL", and "GML" — or would a curated list of popular programming languages such as Python, Java, JavaScript, and HTML ("xml.js" ) be enough? This results in a massive reduction down to ~70 kilobytes. Even better: load this reduced size o…
Hightlight.js basically have two main modes of usage: The one you complain about is specifically about importing everything, because that's what the user wants in that case, importing it like that signals that that's what the user wants. Otherwise you can do the following: import hljs from 'highlight.js/lib/core'; import javascript from 'highlight.js/lib/languages/javascript'; hljs.registerLanguage('javascript', java…
They'd move begin searching for a new solution.
Some would recognize they should substitute their language.
Then a tiny fraction of users will actually read your documentation :)
Re: Linen.dev: A 500 kb Slack alternative
#198Not enough discussion here of the parts under "Our Optimization Strategies", which was the most interesting to me. Assorted reactions: > We found that react-icons had an issue that lead to everything being imported. This meant that we were including every single react-icon in our package whether we need it or not. Kudos to the Linen team for proactively finding this - I have a feeling tons of projects blindly trust t…
With icons, I've stopped using icon libraries a while back and now import just the SVG code that I need. I'm a big fan of Hero Icons[1] and they offer a way to quickly copy JSX or SVG code to the clipboard to faciliate this workflow. [1]: https://heroicons.com/
Re: Linen.dev: A 500 kb Slack alternative
#199Earlier quoted context omitted.
I've recently launched HN+ https://www.hn.plus For anyone interested in HN-type forums (with lots of other features we've built)
> Love HackerNews? HN+ includes everything you love about HN to start your own. Obviously HN+ is missing the single most important thing about HN, the users. Also, did you really have to steal the name too? Would probably been better off if you called it something different. By the way, you should read your own terms of service and maybe start following it yourself if you ask others to follow it too? > Your site is n…
Re: Linen.dev: A 500 kb Slack alternative
#200Not enough discussion here of the parts under "Our Optimization Strategies", which was the most interesting to me. Assorted reactions: > We found that react-icons had an issue that lead to everything being imported. This meant that we were including every single react-icon in our package whether we need it or not. Kudos to the Linen team for proactively finding this - I have a feeling tons of projects blindly trust t…
With icons, I've stopped using icon libraries a while back and now import just the SVG code that I need. I'm a big fan of Hero Icons[1] and they offer a way to quickly copy JSX or SVG code to the clipboard to faciliate this workflow. [1]: https://heroicons.com/