Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spoiler
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
68 ms
·
751.
▲
by
spoiler
5y ago
It's clearly documented in multiple places that it's unbuffered (fs docs, io docs) What's magical here? Rust makes it there's no need for magic. Most things like these are designed to compose. Here it's no different
752.
▲
by
spoiler
5y ago
What is the forest here (asking genuinely)? Language usage ergonomics? I think it's fine like this, because most of the time the language makes it easy to wrap/convert a writer into a buffered writer and use that instead. Also, it
753.
▲
by
spoiler
5y ago
In my experience, the most ergonomic implementation is rarely the most performant one in C++, you usually end up having to use some SFINAE monstrosity or sprinkle constexpr if all over the place. std::optional comes specifically to mind as
754.
▲
by
spoiler
5y ago
I have a very similar origin story! I worked for tech support for a large we host company... And all I can say is that I think tech support at web hosting companies is a bit... different from normal tech support. I've had a few friends
755.
▲
by
spoiler
5y ago
It's not just about messaging. Although, I'm not sure I agree or disagree about your idea of message ownership, or lack of it; I've got mixed feelings about it. I think it also comes down to wanting to own the "distribut
756.
▲
by
spoiler
5y ago
The leaving and joining channels is an interesting idea. I guess that kinda simulates Zulip's topics/threads feature to a degree. I guess that wouldn't have been too horrendous to do. I kinda do this with Mattermost, but I al
757.
▲
by
spoiler
5y ago
I have no idea what makes people use Slack. We demoed it at our company, and most people hated it. I guess it's one of those things people start using when there's a handful of employees and then they just get stuck with it. The w
758.
▲
by
spoiler
5y ago
The books by Will Wight (Cradle series, and Elder Empire dual trilogy). I enjoyed his Traveller's Gate trilogy too, but not as much as the other two. Expanse (the TV Show, books are on my to-do list). Licanius Trilogy books are great t
759.
▲
by
spoiler
5y ago
> it's easy to throw a frontend away and replace it with a new one - try to do that with a backend - usually much much harder. Untrue. I work at a company that's swapped out the frontend and then later the backend. I had to wor
760.
▲
by
spoiler
5y ago
Keep up the good work! I love interactive learning as a concept, and I think you're already most of the way there. Most of my complaint was more design related than lesson related. I realised later that I can jump to lessons, so I skim
761.
▲
by
spoiler
5y ago
This is a pretty cool idea. Thanks for investing time into making these. There's a few unsolicited (That's the way we do stuff on the Internet :P!) usability/UX improvements that I would like to suggest: The stability of the
762.
▲
by
spoiler
5y ago
> I can't think of a single in-use tech/language that does not have a lot of complexities. And by definition, these will almost certainly be 'hidden complexities' for someone coming in to that ecosystem. You're 1
763.
▲
by
spoiler
5y ago
> If you don’t manage your own servers I don’t think you can call yourself a professional developer. “My hosting provider doesn’t let me do X” is a lame excuse with cloud servers in the $10/mo range. Hosting (as a service, and share
764.
▲
by
spoiler
5y ago
I completely agree that being able to navigate an ecosystem's complexity is a skill. I didn't mean to imply that other languages don't have complexities. All ecosystems come with their own boons and complexity issues (hidden
765.
▲
by
spoiler
5y ago
I went on a rant, but didn't mean to. I don't have anything against PHP, it's got a valuable and relevant place on the the web. It's important to many people, and like you said you find it fun, which I think is important
766.
▲
by
spoiler
5y ago
I used to believe this, but... But that's just not true. All the things you mentioned are a yum/apt/nix/pacman/ install away on Linux, and probably as simple to install on macOS. I'm sure Windows has installers
767.
▲
by
spoiler
5y ago
I don't see how that makes the development cycle any better. I can just edit a file, press save, and it compiles and tests run automatically. If I'm doing something in interpreted languages, the code updates in memory. Furthermore
768.
▲
by
spoiler
5y ago
This kinda hits home for me. I used to enjoy video games a lot before. Now I play them in autopilot mode. Just enough engagement to ward the brain demons. It's not so much an enjoyment as it is a reprieve from myself. I still enjoy the
769.
▲
by
spoiler
5y ago
I agree with you, but also want to add that there doesn't need to be that much caution either. Plain language helps create or deepen someones understanding of the core idea (or even an "intuition" for it, afte they become com
770.
▲
by
spoiler
5y ago
I think it means they'll use the latest dislike snapshot from the API , and after that they'll start summing up new dislikes themselves.
771.
▲
by
spoiler
5y ago
It's still concurrency in Node, since there's no threads in JS. There's the `worker_threads` (never used it though) which is like web workers in a browsers, but those work by posting messages to eachother.
772.
▲
by
spoiler
5y ago
You probably need Arc<> in the context of async, but if it's a normal closure, Rc<> will do. However, that's not needed always. You largely wanna move stuff into closures in my experience, since the closure ends up own
773.
▲
by
spoiler
5y ago
I wasn't sure if it's a language issue at first myself (I'm still not completely sure), but based on their replies it seems like it's just a fruitless smear quest because they don't like something about Rust.
774.
▲
by
spoiler
5y ago
You're feeding a troll that's managed to derail the point/conversation with an incoherent offtopic comment... I really doubt they care what you or anyone has to say to them (which is evident from their replies). Their comment
775.
▲
by
spoiler
5y ago
Thank you for the detailed write up! I have to agree with a sibling comment: > > I chalk this up as a design system win more than Tailwind. Any well-defined design system would open up these collaboration benefits. I found Tailw
776.
▲
by
spoiler
5y ago
Hi! I'm someone who worked with a designer closely to create a style guide/system and a React component library (using styled-components) for our product. I don't see how Tailwind would've made our job any easier, or the
777.
▲
by
spoiler
5y ago
I don't understand why they didn't do something like this instead: div.foo#thing { text: "Foo" } Generates this: <div class="foo" id="thing">Foo</div> I re
778.
▲
by
spoiler
5y ago
Not OP, but there's also "crafting interpreters". In the second half of the book you emit bytecode for whatever language you designed in the first half, and also implement a VM for said bytecode.
779.
▲
by
spoiler
5y ago
Ah the bytecode generation via Reflection.Emit seems like a really powerful feature. Does it feel "brittle" to use, or is it expressive enough to aid writing more robust code (to a degree, I realise it's not possible to alimi
780.
▲
by
spoiler
5y ago
Thank you for the detailed write up! I love finding an out about cool language feature/tools
More ›