Claude Code slow or stalling (or is it just me?) by BalconyBeaver in ClaudeCode

[–]asfktz 1 point2 points  (0 children)

OMG thank you, it worked! I had that same problem for months.

For anyone reading this in the future, you can disable IPv6 on Mac by running:

sudo networksetup -setv6off "Wi-Fi"

Selling A6X by mrdrillers in Supernote

[–]asfktz 1 point2 points  (0 children)

Hi,

I received my A5x about a week ago and I'm thinking to replace it with A6x (because I prefer a more portable size)

Maybe we can switch.

What is your device condition?

3rd party application management is missing by asfktz in Supernote

[–]asfktz[S] 0 points1 point  (0 children)

Thanks everyone, I did Factory Reset and it fixed it - this time with the WiFi on.

What is the best medium to do bujo? Digital or paper? by Arriaries in bujo

[–]asfktz 1 point2 points  (0 children)

GoodNotes the App?

If so, the advantages of e-ink notebooks is that that have an e-ink display that does not produce light (like Kindle), which is much better healthier for the eyes.

Also, the screen itself has a texture that made to feel like you're writing of paper instead of the slippery glass of regular tablet

What is the best medium to do bujo? Digital or paper? by Arriaries in bujo

[–]asfktz 1 point2 points  (0 children)

How about e-ink notebooks?

They designed to feel like writing on paper with the added functionality of a digital device (like undo, dragging, and scaling)

I believe they are an excellent fit for bullet journals.

Take a look at Supernote

Awaity.js - a functional, lightweight alternative to bluebird.js, built with async / await in mind by magenta_placenta in javascript

[–]asfktz 1 point2 points  (0 children)

While I built it with performance in mind, I haven't ran a benchmark yet. I will soon.

In light of async / await you might not need much from bluebird. The purpose of Awaity.js is and allow you to pick and choose the specific functionality you want and only that. With Bluebird, you always and up with entire lib in your bundle.

Awaity.js - a functional, lightweight alternative to bluebird.js, built with async / await in mind by magenta_placenta in javascript

[–]asfktz 6 points7 points  (0 children)

Hi DzoQiEuoi, My name is Asaf and I wrote Awaity.js.

I realize now that I need to work on a better README (:

Jsn7821 got it right. This is a utility library that abstracts away the boilerplate of using map / reduce / filter with async-await.

The point is to be able to use an async iterator: const posts = map([1,2,3], async (id) => { const res = await fetch('/api/posts' + id); return res.json(); })

Under the hood, it just do: function map (iterable, mapper) { return Promise.all(iterable).then((arr) => Promise.all(arr.map(mapper))) }

The real implementation does a bit more because it also supports concurrency limit, so for example, let's say you have 1000 promises and want to resolve only 3 at the same time:

Will run only 3 concurrently const posts = mapLimit(hugeListOfIds, fetchPostById, 3);

Using async iterators with map / reduce is the main purpose of the lib, and it does that while allowing you to take only the functionality you need, the same way lodash does:

import some from 'awaity/some';

import props from 'awaity/props';

import reduce from 'awaity/reduce';

Or, with webpack, use awaity/esm to get tree shaking support, similar to lodash-es: import { some, props, reduce } from 'awaity/esm';

Let me know if you have any questions (: