It's amazing how powerful and clean Postman and Insomnia both felt when they were young and followed such similar trajectories into bloat and UI-unfriendliness hell.
Can anyone explain the use of ptrdiff_t instead of size_t (he has typedef'd "size" for ptrdiff_t) The macros are wrapping _Alignof and sizeof both which can't return non-zero numbers I thought.
I don't really understand why these kind of posts make it to the top page of HackerNews. Perhaps there is a bigger audience for this than you would think?
This looks really useful!
I've just started working on a (mostly pedagogical) little project making a chat server/client in C and started reading through Beej's guide to networking which is great for the fundamentals but I was struggling with deciding how I want to structure my larger code in terms of sockets, clients, multiplexing, etc. I may just end up using your library if it fits (after reading through it some more), else take inspiration from it at the very least.
I've only just dipped my toes into Elixir and Phoenix but so far really loving it. I feel like I've noticed it popping up on here way more often lately or is that just the ol' frequency bias kicking in?
I see. I wasn't aware that Nix was a build system and probably should have investigated a bit more before responding. Truthfully I don't use OCaml professionally but just in a hobby capacity. I believe you could roll your own using Make but the compiler invocations (which you can get dune to spit out if you want) become more complex over time the more features you add like PPXs, or `ctypes`, and unit testing, the more time you will save by using dune. tl;dr running ocamlopt directly works but will become cumbersome the bigger the project becomes
Is there a way to have tabs at the top of the browser? I like that about Chrome on my tablet, I can just hit the tabs at the top to swap, whereas on Firefox you need to hit the Tabs icon at the top right that brings up the switcher, then find the one you want and click that.
I'm curious what relevance NFL has to Hacker News. I'm aware this comment will probably be downvoted to oblivion but I'm okay with that, I'm genuinely curious what constitutes on-topic and off-topic.
At least for me there's no way you could get buy in from others either work or friend groups without native built in screen-share which only just released a month ago or so in Element I think (well, it's in beta). When I tried it out the Screenshare modal would open and you could select a window to share but you couldn't click the share button, it just wouldn't do anything (very frustrating - no error just did nothing). That was pretty underwhelming but at least it was resolved in the update a weekish later. I'm pretty sure companies would be willing to pay for Matrix if it were cheaper than Slack for example. Like you I'd prefer to see a polishing of usability over new features.
Can't beat the build quality and performance of the Macbook Air M1 for the price and size in my opinion so I'm sticking with it for laptop. But as for "Desktop" I've almost fully switched over to Mint and very happy with it. Windows + WSL2 for work so I guess I turn up in all metrics on the surveys :)
I'd say one of the important ones for me is what are the mechanisms for retries under network loss or lack of connectivity in general. What is the behaviour/semantics of that? Can I buffer messages that then get backfilled when a recipient reconnects or do I need to do that in my code / application layer.
You just summarised a bunch of information I could have absorbed from an article, and in this case a single comment on hackernews. Buying and reading a whole book for that level of insight seems like a waste of time.
I'm completely over self-help books now. Why pay $20 to be taught that water is wet in 200+ pages. Exercise is good, drinking water is good, sleep is good, et cetera. The exact percentage doesn't really matter.
That's good. It was a terrible model to begin with. Profits and growth should come from providing value to customers not biding time until you can "exit" or whatever they call it.