sarahdellysse

Joined 15 years ago

Karma
513
Submissions
86
Member since
Oct 14
View on Hacker News

Recent submissions

Comment · 1 year ago
Yeah they do. Run `wsreset.exe -i` in powershell and it'll install the Windows Store after a few minutes.
Comment · 1 year ago
Notably, the do not reverse the course on the selling of user data. This is still a non-starter Mozilla. Do you not realize who your core base is? The only people who still use Firefox are people who value privacy and extensibility in our tools. Still a "no" from me dawg
Comment · 1 year ago
I have 14 years experience and I've never seen anything like the job market for the last 1.5 to 2 years. In the past, when I was looking for a job, I'd have interviews scheduled within the first few weeks of looking. Nowadays any time I put feelers out I get nothing in response.
Comment · 1 year ago
How is a large swath of the population okay with things like this? How do they not see such things as embarrassing on the national level? I just don't get it.
Comment · 1 year ago
Hi there, I think I might have found a typo in your example class in the github README. In the class's `workflow` method, shouldn't we be `await`-ing those steps?
Comment · 2 years ago
Not OP, but prettier doesn't break template literals, but it will break non-literal sections of template strings. For example, if we wrote this:

    const foo = `aaaaaaaaaaaaaaa${bbbbbbbbbbbbb}ccccccccccccccc${ddddddddddd}`;
prettier would fix it to

    const foo = 
      `aaaaaaaaaaaaaaa${
        bbbbbbbbbbbbb
       }ccccccccccccccc${
        ddddddddddd
       }`;
(or something similar) and it would be fully equivalent.

I don't like it doing that either tbh but hey prettier is good enough in most cases its worth putting up with it

Comment · 3 years ago
> backed off WEI

for now

Comment · 3 years ago
> I’m still not exactly sure what the difference between useMemo and useCallback is

    const useCallback = (fn, deps) => useMemo(() => fn, deps);
That's it. That's all it is. `useCallback` is a shorthand for `useMemo`, when you want to memo a function definition.

Example:

    const handleButtonClick = useCallback((event) => {
      event.preventDefault();
      window.alert(`Hello, ${name}!`)
    }, [name])
is just shorthand for

    const handleButtonClick = useMemo(() => (event) => {
      event.preventDefault();
      window.alert(`Hello, ${name}!`)
    }, [name])

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton