HackerTrans
TopNewTrendsCommentsPastAskShowJobs

timmattison

no profile record

Submissions

Fair Core License

fcl.dev
1 points·by timmattison·2 yıl önce·0 comments

comments

timmattison
·2 yıl önce·discuss
Agree with this on many levels. Some people idolize movie directors but in the most simplistic view everyone else is doing the “real work”.

Not everyone needs to do everything. And if someone’s amazing idea can get out of their head and onto paper/film/video or into a game I’m all for it.

There will be a lot of AI shovelware junk. But it doesn’t all have to be that way. Now more people compete on larger landscape of ideas.
timmattison
·2 yıl önce·discuss
I love this. Can you share the source?
timmattison
·2 yıl önce·discuss
Apple Pay and Google Pay work with an existing card for normal (non-IAP) purchases. I don’t like rent seeking either but in this case it’s the standard CC payment flow. Nothing additional, just better security.

What makes a normal CC better?
timmattison
·2 yıl önce·discuss
Where is the best place a layman can dig into this statement “You do this by taking advantage of the fact that the superposition is a periodic function and the amplitude repeats.”? I’ve seen articles hinting at this in an obtuse way but I’d love to see something more approachable to help wrap my head around it.
timmattison
·2 yıl önce·discuss
I was hoping to hear he went from rapper to physicist. Guess not.
timmattison
·2 yıl önce·discuss
You can. But then the only time it realizes that the code has been updated is when you update the script or touch it. It’s a minor annoyance but it adds up when making lots of changes. Periodically deleting the cache works too but also annoying.
timmattison
·2 yıl önce·discuss
I haven’t used strtok in a long time but my recollection is that it mutates the original string by placing a NULL value at the next delimiter so “hello world” would become “hello<0x00>world” if splitting on spaces. This lets you loop with the same string passed to strtok until it is done.

It’s ugly. Would not recommend. 0/10
timmattison
·2 yıl önce·discuss
Wow, they have to do what other companies have to do. Brutal. /s
timmattison
·3 yıl önce·discuss
I use WebRTC in non-browser applications primarily. For those systems you can use mDNS.

I have been working on WebRTC a lot lately. If you have ideas on how you’d solve this issue I’d take a stab at implementing them.

I’ve built a demo that lets you get two systems connected by copying and pasting the session description information. No third party systems required. But you still need to get your clipboard data to someone else. Which usually means SMS, Apple Messages, etc.
timmattison
·3 yıl önce·discuss
You knowing your subnet is not the issue. The other party needs to know it.

WebRTC needs info about where to try to connect. It doesn’t specify the signaling method which is how you get that information and share it.

If you’re already on the same subnet, use mDNS.

If you’re on different subnets it requires some kind of way to share the subnet info.

If you’re on different networks behind NAT then scanning isn’t very helpful. You’d need to scan IPs and ports because NAT randomizes the outbound ports. That’s what STUN helps you figure out. Once you’ve got that info and you build the session description structure you can send that to the other party however you want.

Public, free STUN servers exist. And people use them for all kinds of WebRTC stuff.

Neither WebRTC nor WebSockets prevent pure P2P. It sounds like your bigger issue is with NAT. IPv6 isn’t going to fix it though since the IP space will be too large to scan for peers.