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.
One doesn't need a phone or battery to use it, just a bank account and the plastic. Google and Apple now want to become Visa. Yes, their system is more secure.
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.
I just tried finding a good resource and I can’t. All of them are mile long page scrolls… I don’t know how they have so much stuff to spew. Qiskit had amazing lessons with cool illustrations (although they did spew at the end) but I can’t even find that anymore on their site.
Don’t worry though, even the professional researchers I’ve worked with think it’s a waste of time. The field is screwed.
Here’s a quick explanation from me-
The state |x> means you have some qubits that represent the number x. Say you want to represent the number 13, that just means you have |1,0,1,1>, it just means you have 4 qubits in this configuration (quits can be 0 or 1). It’s also written |13>. If you want the state “13 AND 14 AND 15” in superposition where qubits are both 0 and 1, that’s represented by |1,0,1,1> + |1,1,0,0> + |1,1,0,1>. It’s in that superposition and can interact with itself until you choose to measure it. When you do go to measure it, you might measure any of the values (you dont get to choose which). Maybe you measure 15, that means the state is now |1,1,0,1>, you just deleted all the terms that aren’t 15.
If you look at the pic, main idea is the first layer of H’s creates the state sum_x=0…2^n-1 |x, 0>, then gate U turns that state into sum_x |x, f(x)>, then the measurements measure which f(x) you have, deleting all the terms that don’t have that f(x) in them, so for example if you measure that f(x) is 13, the state is now |0, 13> + |15, 13> + |30, 13> + |45, 13> + …
This is the periodic state. Now that we have it we can just apply a gate that takes the QFT (finds the frequency, which here turns the state into roughly |15, 13>), and then measures it, giving the answer period=15.
There’s a lot of other rappers that have made the move from rap into tech. Chamillionaire went from writing Ridin’ Dirty to investing in Lyft. Even wears glasses now.
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.
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.
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.
> You knowing your subnet is not the issue. The other party needs to know it.
You misunderstood, knowing subnet is an option for discovery of nearby peers. If you know your subnet you can scan it in reasonable amount of time. Otherwise you'd have to scan the whole IPv4 space (or worse IPv6 space).
> 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.
Yes.
> If you’re already on the same subnet, use mDNS.
You can't - you are in the browser.
> If you’re on different subnets it requires some kind of way to share the subnet info.
Yes, that's how connections are established with an intermediary signaling service. The p2p question is about possibility of establishing WebRTC connection without a signaling service that runs over something else and/or requires a centralized server.
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.
I still mourn the shorter format. It forced people to use Twitter more like feed of links and events, which makes sense as it was competing with the open standard RSS and Atom at the time (more specifically popular feed readers using them).
With longer content, media and replies added in, it started closing itself in a bubble and becoming about Twitter being its own thing walled off from the rest of the world, a concept significantly different than Twitter started as. Maybe it also seems more monetizable, but there can be a debate on this.
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.