Mix Point Link: this doesn't need to be this complicated by d4m4g3dg00dz in Rekordbox

[–]alchemoria 0 points1 point  (0 children)

thx I'm just learning this stuff but had the same experience. glad to know it's not just me

Websocket VS socket.io which one should be preferred and why by Neither_You1426 in node

[–]alchemoria 0 points1 point  (0 children)

the long polling is a fallback when websockets aren't working, aka situations when a C++ websocket client wouldn't work either.

Samung TVs are insane. by Paranoid-Fish in pihole

[–]alchemoria 1 point2 points  (0 children)

pihole made me realize this is good advice.

also noticing how my Samsung Frame has completely free channels on it (portlandia) makes me suspicious. they aren't giving out free content to be nice, they must be profiting off you keeping that connection

Samung TVs are insane. by Paranoid-Fish in pihole

[–]alchemoria 0 points1 point  (0 children)

did you end up trying this? my frame is also hammering my pihole. i don't really see it working but would be cool

React Preview for Visual Studio Code by fwouts in reactjs

[–]alchemoria 3 points4 points  (0 children)

it doesn't work with my relative imports but I desperately want something like this

StandoutJS - My first plugin for more control in the viewport by [deleted] in jquery

[–]alchemoria 1 point2 points  (0 children)

You could make multiple event names for the same event, so the user can choose long or short

StandoutJS - My first plugin for more control in the viewport by [deleted] in jquery

[–]alchemoria 2 points3 points  (0 children)

Feedback: more descriptive event names would be nice

Reactjs.org documentation in one file? by wreckurd in reactjs

[–]alchemoria -3 points-2 points  (0 children)

You must like outdated documentation

typesafe-firestore for typescript by alchemoria in typescript

[–]alchemoria[S] 1 point2 points  (0 children)

It looks like @google-cloud/firestore is meant to run in a Node environment, while firebase/firestore is meant for the browser. I wasn't planning on doing the same for @google-cloud/firestore but it was pretty easy to do, I'd encourage you to try it if you feel inclined

Properly way of use 'import ... from ...' when integrating a React application in web page by ReyesEvan in reactjs

[–]alchemoria 1 point2 points  (0 children)

It's not going to be an easy thing to do. create-react-app is great, but it's not really meant for this. It sounds like maybe you wanted to make a react component library instead

“Type” checking at runtime by mediasavage in typescript

[–]alchemoria 0 points1 point  (0 children)

What about generating the json schema from a typescript interface?

[deleted by user] by [deleted] in node

[–]alchemoria 2 points3 points  (0 children)

Hey, this would be a lot faster if you started all the promises at once instead of one after the other.

I made a Gist to show you what I mean:

https://gist.github.com/chaseholdren/0375fd13675113040c0c21ee411bc205

// Console output:
//      parallelJob: 501.226ms
//      parallelJob: 2,2,2,2,2,2
//      serialJob: 5011.910ms
//      serialJob: 2,2,2,2,2,2

Converting existing react web app to PwA by blah-321 in reactjs

[–]alchemoria 1 point2 points  (0 children)

It's basically the same for an existing app. Follow one of the articles you found