Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
azangru
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
841.
▲
by
azangru
4y ago
Google's and Microsoft's, sure.
842.
▲
by
azangru
4y ago
> Then, when you reported that, the maintainer replied to the GH issue, “modern browsers and Node releases have supported ESM loading for _ages_, like months and months before I started being a dev in 2018 so trust me, it’s stable now.”
843.
▲
by
azangru
4y ago
It is complicated, and React doesn't help, especially since it started calling useEffect with an empty dependencies array twice in strict mode in React 18. David Khourshid (of XState) has been going to conferences talking about how to
844.
▲
by
azangru
4y ago
> The target audience would be someone like me. > ... > As for "pay money", it's the sort of book I'd hope my company would shell out for Have you read the new official React docs[0]? They are very elaborate, al
845.
▲
by
azangru
4y ago
> system of recklessness that drove the price of Bitcoin to astronomical heights only to crash. I am probably going to sound extremely naive and uneducated; but when we say "price of Bitcoin", don't we normally mean its va
846.
▲
by
azangru
4y ago
> In my experience whenever some poses a convoluted leading question like this, it's because they have already decided the answer. No; I am genuinely undecided. On the one hand, I hear the arguments of bitcoin advocates from 5-10 ye
847.
▲
by
azangru
4y ago
When they say "crypto", what do they mean. No, I understand that it's something to do with cryptocurrencies; but, confusingly, they must mean something more specific than that; because isn't bitcoin the OG of cryptocurre
848.
▲
by
azangru
4y ago
> I tried to use them from CSS as pseudoelements (as a 'content' fragment identifier) and style them (stroke color). Isn't this just the general problem of loading an svg as an image via a link as opposed to injecting it i
849.
▲
by
azangru
4y ago
> The Evolution of Scalable CSS The evolution of practices described in this article is followed up to about ten yeas ago... and then stops, followed by Tailwind. Where is consideration of web components with shadow DOM, which solve the
850.
▲
by
azangru
4y ago
> And so is the case with the fediverse. The six million users would "easily" fit on a mastodon on under thirty (virtual) servers, a very few large PostgreSQL database servers and a single file-server/storage. I know, beca
851.
▲
by
azangru
4y ago
> But still, in that case I'm not sure why you'd need to mock <PeskyChild>. Not every child is a pesky one; but suppose it makes a network request, or tries to read something from IndexedDB, or relies on window.matchMedia
852.
▲
by
azangru
4y ago
It is one thing to port software, initially created in a different language, to webassembly. The benefit is obvious, because it can now be distributed over web. For VSCode, the first question to ask would be, why is it built with web techno
853.
▲
by
azangru
4y ago
> But if not you could make the component B injected in A dynamic (e.g. specified as a prop/children) and leave it out entirely in your test. I've heard that advice before; this is why I made my example a bit more complicated,
854.
▲
by
azangru
4y ago
> Hmm, I'm not sure I follow the part of static imports ====== COMPONENT FILE import PeskyChild from './PeskyChild'; // THIS IS A STATIC IMPORT. STATIC IMPORTS IN ES6 ARE HOISTED const MyCom
855.
▲
by
azangru
4y ago
There must be something better than loading the whole page, potentially with all sorts of database or network mockery required to provide it with all the data that it needs for rendering, in order to test how a particular button works. It&#
856.
▲
by
azangru
4y ago
Here's what I don't quite understand about mocking in Javascript. When I write a frontend application using components (React, Preact, web components — doesn't really matter), I will often find myself in a situation when I ha
857.
▲
by
azangru
4y ago
What happened to Puppeteer? I barely see it mentioned anywhere now.
858.
▲
by
azangru
4y ago
You've just expressed the sentiment of the open source (or free software) community :-)
859.
▲
by
azangru
4y ago
Imagine depending in your web development work on the state of affairs at Facebook / Meta. (I too am one such dependant; and it grieves me that this is the case).
860.
▲
by
azangru
4y ago
> I’m curious about the use case for plugging one external drive into multiple computers in 2022, when storage is super cheap and networking is super fast. I have an external drive for a media library, storing there videos I'd like
861.
▲
by
azangru
4y ago
What's people's opinion on ExFAT these days? I have a Linux laptop and a Macbook, and have been agonizing over which file system to use for an external hard drive. It looks like ExFAT is the only compatible option; but then peopl
862.
▲
by
azangru
4y ago
And there are so... many... ads... on that page
863.
▲
by
azangru
4y ago
Oh! From Hacker News trends, I thought the future of programming was going to be Rust...
864.
▲
by
azangru
4y ago
> the royal 'we' as in all of humanity Sorry for being a prick; but the royal 'we' is the exact opposite of the 'we' in all of humanity. Royal 'we' is when the speaker refers to him-or-herself with
865.
▲
by
azangru
4y ago
> JSON + faster Only if you have a very competent backend team, who, apart from dataloader, will have to figure out caching. > /less data Graphql responses tend to be pretty deeply nested.
866.
▲
by
azangru
4y ago
My biggest communication problem as a developer at the moment is with the designer. It is as if we were speaking different languages — and I am not just talking about the jargon such as "persistent storage" or "api" on o
867.
▲
by
azangru
4y ago
> Markdown will never get beyond developers. Not only is this probably incorrect; but even if it were the case, then: - so what? - doesn't this contradict the title lamenting the popularity of markdown?
868.
▲
by
azangru
4y ago
> the concept of markdown (text with a little bit of light formatting mixed into it with easy-on-the-eye syntax) Isn't it markup?
869.
▲
by
azangru
4y ago
> instead of fixing the bloated megalith that webpack has become Megalith? Isn't it super modular and configurable?
870.
▲
by
azangru
4y ago
Ruby was very much general-purpose. Homebrew was written in Ruby. Vagrant was written in Ruby.
More ›