SwiftUI by Example is the world's largest collection of SwiftUI examples, tips, and techniques giving you almost 600 pages of
can this work?
SwiftUI by Example is the world's largest collection of SwiftUI examples, tips, and techniques giving you almost 600 pages of
can this work?
Access Deni
I got denied
In the end, whether we think of ourselves as alone or as in this together, we’ll ultimately be right.
Does the authoro believe we'll be right or wrong in the end?
correct Answer => they believe we' be wrong
Leninism
what does the author think is a helpful analogy for their point?
A) leninism
Some people see these identities as predicated on exclusion — whiteness is defined as a superior exclusive difference from blackness, masculinity is defined as a superior exclusive difference from femininity, etc. As such, Necessarily Not has got to be the way to go — given that privileged identities are fundamentally oppressive, progress has to mean their conscious annulment. Get rid of whiteness, masculinity, etc., and justice will take care of itself.
Hey JP, look at this very specifc annotation!
Apparently it existed this whole time and I just should’ve read the docs…)
🤣
there is no global notification protocol
Hmmmmm.... 🤔
If DNS level blocks
Any tool you recommend here? I’ve tried Freedom and Downtime but they felt too easy to get around or too heavy handed
how caffeine affects
Have you ever tried cutting caffeine? After the terrible 2-4 days of aches and migraines, (depending on previous intake levels) my body’s natural energy feels much cleaner, my sleep way improves (still not perfect) and therefore has more time to subconsciously process issues like you were talking about for journaling questions that come up.
Would highly recommend trying it.
Cold showers, push ups and chugging water help wake you up in the morning.
A big one for me was encountering a strange error interrupting my flow and requiring me to go digging into documentation somewhere
You’re in my head, aren’t you
spaced repetition
quantum.country are doing this as well and have built a website to assist people in leaving about quantum mechanics.
depression in 2019
Sorry to hear that you felt depressed. I know that can be hard. Even though we’ve never shared any of the aforementioned homes, we share the pale blue dot and so if you’re ever feeling down and want to just vent or brain dump, you’ve got my ear
my new internet home
Awwwhhh I see what happened here😊
Great post man!
makes me excited about what I can do with this site.
Again, totally relate to this sentiment even with such menial things as domain name changes.
Why not create an email address and forward e@jon.bo to your gmail?
feels like a buffer in my brain starts to overflow and flushing it lets me think clearly
Have felt and explained this verbatim. Love seeing others feel similar.
one less eager to make associations at any cost.
What do you mean here Jon?
Is this just to say there is less mental noise?
Do you have Hypothesis imbedded into your web page? I didn’t realize this was possible.
with another magic trick, the star *.
more info on neo4j star usage to find reports of a manager
Note: To avoid the running the effect too often, it's important to wrap the callback in useCallback before passing it to useFocusEffect as shown in the example.
We aren't doing this. I need to look into it.
I don't think this is causing the face id bug, but I do believe it is getting too many times in refreshPasscode
Computers – especially those equipped with advanced machine learning algorithms – are beginning to replicate those patterns, thereby limiting their ability to express true randomness.
this right here would never be gone away
Emulating TypeScript functions
YEah, but you've also got to watch the source files to recomp0ile on changes....
"serve": "tsc -w | firebase emulators:start --only functions",
Modified and functionally watching my stuff
I believe with teamwork, communication, and a clear path forward, anything is achievable in this world as long as we set our minds to it.
Knophy question: What does Aldo believe are achievable in this world?
Answer: anything
I'm a person who enjoys learnin
you mean like this?
<BranchName>: <Commit type>: <Message>
@srinivas - why would we put the branch name in the commit message?
In System Report, click on "Graphics/Displays" and find out the exact model NVIDIA card you have:
https://i.imgur.com/Of4Kmuk.png
Chipset Model: AMD FirePro D300
NVIDIA's CUDA libraries
cuda has moved to homebrew-drivers
[1]
its name has alos changed to nvidia-cuda
To install:
brew tap homebrew/cask-drivers
brew cask install nvidia-cuda
https://i.imgur.com/rmnoe6d.png
[1] https://github.com/Homebrew/homebrew-cask/issues/38325#issuecomment-327605803
target server
Adam's server was port 22
Configure a remote Python interpreter via SSH credentials
Setting up Webstorm to work with SSH
3. Create Your Hyperlink
Create a hyperlink that will populate a text message
Roll your own ngrok in 15 minutes
# Add auto-completion and a stored history file of commands to your Python # interactive interpreter. Requires Python 2.0+, readline. Autocomplete is # bound to the Esc key by default (you can change it - see readline docs). # # Store the file in ~/.pystartup, and set an environment variable to point # to it: "export PYTHONSTARTUP=~/.pystartup" in bash. import atexit import os import readline import rlcompleter historyPath = os.path.expanduser("~/.pyhistory") def save_history(historyPath=historyPath): import readline readline.write_history_file(historyPath) if os.path.exists(historyPath): readline.read_history_file(historyPath) atexit.register(save_history) del os, atexit, readline, rlcompleter, save_history, historyPath
Enable history and sane keys in python shell
Confusingly, the colon here does not indicate the type. The type, if you specify it, still needs to be written after the entire destructuring:
Destructuring an object in TypeScript with Types is very counterintituive.
VTEncoderXPCService tied to QuickTime, they go hand in hand, no VTE = no recording
Feb 13, 2016 6:59 AM in response to DarbyW
sudo mv /System/Library/Frameworks/VideoToolbox.framework/Versions/A/XPCServices/VTDecoderXPCService.xpc ~/ sudo shutdown -r now
Trying this for VTEncoderService crashes QuickTime
Update 10/14/19: Proceed at your own risk. The upgrade works, but my iMac runs on high cpu on various services. I arleady disabled photoanalysisd, but now vtencoderxpcservice takes up a lot of CPU. If anywone found a solution, please post it in the comments below.
I have this same issue. It arises when attempting to do a screen recording...
import { prismaObjectType, makePrismaSchema } from 'nexus-prisma'
import {objectType} from "nexus";
as of "nexus-prisma": "^0.9.1"
docker-compose up -d
Error for me here...
➜ hello-world docker-compose up -d zsh: command not found: docker-compose
your operating system
For Mac, I had to go to this link...
https://hub.docker.com/editions/community/docker-ce-desktop-mac
=(α∣0⟩+β∣1⟩)(γ∣0⟩+δ∣1⟩)=αγ∣00⟩+αδ∣01⟩+βγ∣10⟩+βδ∣11⟩.
Might be the answer to an above inquiry.
we apply a Hadamard gate
What is the method to evaluate whether the output of a Hadamard gate should invert the bottom qubit or not?
is (0 + 1) / sqrt 2 high or low?
I'm missing something fundamental here.
equal
Frustrating wording here for me... Why is the word "equal" here at all. Doesn't seem to clarify anything.
⊕
is xor
https://hyp.is/NJjwlEFiEeqLqE9ZaNM0Lg/en.wikipedia.org/wiki/List_of_logic_symbols
∣00⟩
Does this just look like
[ 1 1 0 0 ]
as in two |0> smooshed together?
The YYY gate is similar to the XXX gate, but instead of 111s on the off-diagonal, it has iii and −i-i−i, so it takes ∣0⟩|0\rangle∣0⟩ to i∣1⟩i|1\ranglei∣1⟩ and ∣1⟩|1\rangle∣1⟩ to −i∣0⟩-i|0\rangle−i∣0⟩:
Question for the creators: https://i.imgur.com/9XUDZPH.png
I thought the answer to this was "both" since 0 is obviously a real number.
Can you help me understand where my misunderstanding is?
Thanks so much for creating this tool. I've been having a blast learning!
Tweet: https://twitter.com/technoplato/status/1221936419721138179?s=20
∥U∣ψ⟩∥2=jkl∑Ujk∗ψk∗Ujlψl
Lost me here...
quantum teleportation
I was thinking yesterday that "quantum" anything is both much more exciting and much less exciting than we've been led to believe by "Pop Science".
It seems to boil down so far to some fancy linear algebra. I'm sure time will prove me a fool for thinking this, but just want to jot my thoughts down here.
T
Transpose?
the
For Computer Scientists, Microsoft put together a primer to Quantum Computing for us here: https://www.youtube.com/watch?v=F_Riqjdh2oM
I could understand some of it (through 40m), but think this series of articles will help immensely and I'll return to it after.
What does it mean for a matrix UUU to be unitary? It’s easiest to answer this question algebraically, where it simply means that U†U=IU^\dagger U = IU†U=I, that is, the adjoint of UUU, denoted U†U^\daggerU†, times UUU, is equal to the identity matrix. That adjoint is, recall, the complex transpose of UUU:
Starting to get a little bit more into linear algebra / complex numbers. I'd like to see this happen more gradually as I haven't used any of this since college.
xor
⊕ is the symbol for xor
xor is true when one of the two inputs is exclusively 1.
ie:
1 ⊕ 0 = 1 0 ⊕ 1 = 1 1 ⊕ 1 = 0
var socket = new WebSocket(`wss://hypothes.is/ws?access_token=${token}`)
Test: does this hit my WebScoket?
asdfasdf | katie deykatiedey.bandcamp.com › album › asdfasdfCachedSimilarPaying
asdfasdf
Optimize imports
Optimize imports on the fly in Webstorm with TypeScript
When we don’t feel confident in our code, it is tempting to attach our sense of self-worth and professional pride to something that can be measured.
Great code related quote by Dan Abramob
For macOS, you can use either the loopback interface (where AppAuth will generate the redirect URI for you), or a custom scheme. To create a custom scheme redirect URI, reverse the client id to get the URI scheme, for example com.googleusercontent.apps.IDENTIFIER and, add your own path component. E.g. com.googleusercontent.apps.IDENTIFIER:/oauth2redirect/google. Note that there is only a single slash (/) after the scheme.
Vital info here for "allegedly" forming proper redirect URI with Google.
Trying it out shortly
As such, the following two statements are equivalent:
This is important to note when trying to wrap my head around how OAuth2 integrates with AlamoFire
Executing AppleScript in a Mac app on macOS Mojave and dealing with AppleEvent sandboxing
This is a useful article for applescript and MacOS applications
I would love to see voting apps that take advantage of the built-in voting tools.
What built in voting tools?
Right-click (or Control+Click, or a Two-Finger click on trackpads) on the file or folder in the Mac Finder
This worked great MacOS 10.15.1 Beta 10/18/2019
Optimizing Swift build times
Will have to go over this sometime...
Robert Sedlack, my professor for Visual Communication Design I (who also happened to be my advisor and the driving reason why I decided to join the design program) banned two phrases during critiques in his class: “I like” and “I don’t like.”
One problem with uploading YouTube videos is that you only get 10,000 quota points per day. This equates to uploading ~5 videos per day.
Nonsense.
I can't make an annotation on Google's documentation ( I think it's a Hypothesis bug ) but I've updated the linked code sample below to work as of 10/04/2019 with Python 3
https://gist.github.com/technoplato/4d28f4f308ea7c5fe20bd23e751e9e60
Have Homebrew manage Python 3
This was useful and worked for me.
Had to couple it with a couple source ~/.bashrc s though.
Alamofire is named after the Alamo Fire flower, a hybrid variant of the Bluebonnet, the official state flower of Texas.
I've been wondering this. I still think it's a stupid name, but at least it makes sense now.
Select Options
This is what I needed in my program to automatically trigger the "onScreenshot" callback
One of the most useful features in Xcode is the Filename search. You can open it with the keyboard shortcut Shift + Command + O.
Found what I was looking for to jump to file in Xcode
18Preface to the Third German Edition (1883)measure were quite natural for a book which had to take its factual proofs almost exclusively from British industrial relations. The last-named reason is decisiveeven to-day, especially because the corresponding relations in the world market have hardly changed and English weights and measures almost completely control precisely the key industries, iron and cotton.In conclusion a few words on Marx's art of quotation, which is so little understood. When they are pure statements of fact or descriptions, the quotations, from the English Blue books, for example, serve of course as sim
What is Marxist doctrine in a nutshell (imagine this was a good question!
[](https://www.youtube.com/watch?v=KOxbO0EI4MA "Audi R8")
Really cool, used this for the first time on my post here: https://dev.to/technoplato
Press Command+Shift+Dot
This is really cool.
I'm making a tutorial right now live and pulling my hair out due to prettier and not so much eslint.
# CocoaPods on iOS needs this extra step
I think I was missing this step, as it isn't included in the warning message from the CLI anywhere.
error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually:
- @react-native-firebase/app (to unlink run: "react-native unlink @react-native-firebase/app")
- @react-native-firebase/auth (to unlink run: "react-native unlink @react-native-firebase/auth")
- @react-native-firebase/database (to unlink run: "react-native unlink @react-native-firebase/database")
- @react-native-firebase/firestore (to unlink run: "react-native unlink @react-native-firebase/firestore")
- @react-native-firebase/storage (to unlink run: "react-native unlink @react-native-firebase/storage")
- react-native-camera (to unlink run: "react-native unlink react-native-camera")
- react-native-fs (to unlink run: "react-native unlink react-native-fs")
- react-native-image-picker (to unlink run: "react-native unlink react-native-image-picker")
- rn-fetch-blob (to unlink run: "react-native unlink rn-fetch-blob")
This is likely happening when upgrading React Native from below 0.60 to 0.60 or above. Going forward, you can unlink this dependency via "react-native unlink <dependency>" and it will be included in your app automatically. If a library isn't compatible with autolinking, disregard this message and notify the library maintainers.
Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md
:ci
What in tarnation qualifies as "non-interactive"
First came across this command here: https://hyp.is/nVNK9MstEemjcsMfwFFSNQ/github.com/deltaepsilon/firebase-ssr-starter
It is often useful to see the actual changes to query results between query snapshots, instead of simply using the entire query snapshot. For example, you may want to maintain a cache as individual documents are added, removed, and modified.
You can still listen for child added in Firestore
const sinon = require('sinon'); const mockResponse = () => { const res = {}; res.status = sinon.stub().returns(res); res.json = sinon.stub().returns(res); return res; };
Incredibly helpful in conjunction with Chris Esplin's tutorials [0] and code [1] on TDD with Cloud Functions.
[0] https://howtofirebase.com/test-driven-cloud-functions-fea53c64110c
[First published in 1726–7.]
To: Philbert
Example question: When was Gulliver's Travels first published? a) 1776 b) 1726 c) 1830 d) 1945
BOOK IT! motivates children to read by rewarding their reading accomplishments with praise, recognition and pizza. The program is simple, flexible, fun and free to use in your classroom! BOOK IT! was created in 1984 and currently reaches more than 14 million students and 37,000 K-6 grade schools annually.
BOOK IT is a program by Pizza Hut.
This is how it worked when I was a kid:
Read a book. The harder, the more points you'd get from taking the quiz on the book after reading it. Cash those points in for a free pizza.
This is how knophy will work:
Read something Prove that you read something by taking a quiz. We will develop heuristics for determining the points quizzes earn in the fairest, most agreed upon way possible A user can either use those points for influence in the topic areas in which they were earned, or they can sell them for an [ERC like token OR BTC over the lightning network]
New
Test: where does outline mention hypothesis
§ 2599-bb. Abortion. 1. A health care practitioner licensed, certi- 43 fied, or authorized under title eight of the education law, acting with- 44 in his or her lawful scope of practice, may perform an abortion when, 45 according to the practitioner's reasonable and good faith professional 46 judgment based on the facts of the patient's case: the patient is within 47 twenty-four weeks from the commencement of pregnancy, or there is an 48 absence of fetal viability, or the abortion is necessary to protect the 49 patient's life or health.
This is an important detail that needs to be paid attention to.
We define an electronic coin as a chain of digital signatures.
Q) How does Satoshi define an electronic coin?
Essentially, the product we are selling is a bet that people will value earning attention, ESPECIALLY as the platform grows. As it grows, each one of those points is held onto more tightly and becomes both harder to buy (caused by one’s desire to earn attention) and easier to earn as the content base will grow exponentially. This perfect balance of the human’s desire for attention, their ability to easily create and share in a digital age, and their desire for money will form the first purposefully scarce unlimited supply of currency in the history of humanity. The key is simply not allowing money to have influence in the system.
The product knophy "sells"
Power Ups
More complex ways of using points in knophy
7) You can use these points for site-wide influence after you’ve earned them from creating content, or you can sell them on the marketplace. On the marketplace, investors will have the opportunity to invest in knophy or in your page on knophy specifically. If your page grows in value (as determined by the market) but the value of knophy shrinks, you actually stand to beat the market by investing in your page alone. Other than a potential return on investment, the investor does not earn any privileges by investing in these points. You can think of the points kind of like stock in a company. Once the points have been sold off into the market, they will be traded on the market, and not introduced back into knophy. Users will never be able to get those points back for influence.
Here is one of the ways to use points in knophy
“The policy will not only protect free speech but ensure that hate speech, discrimination and other illegal forms of speech are not allowed on campus.”
OP here missed the point. I'll be they delete the post: https://www.reddit.com/r/JordanPeterson/comments/abwcuz/free_speech_policy_mandatory_on_campuses_in_new/
however IDWpay will internally work with DAI
How does a USER acquire DAI without crypto knowledge?
I think you might address this below but figured I'd ask here as well.
computer owned by Patrick Laroche of Ocala, Fla., discovered the number on Dec. 7,
Newest Mersenne Prime was discovered in Ocala, FL, very close to us.
Interesting tidbit :)
was exiting the room after one of the shortest press briefings of h
Annotating this to show you a demo
The real problem is that programmers have spent far too much time worrying about efficiency in the wrong places and at the wrong times; premature optimization is the root of all evil (or at least most of it) in programming.
For Telos
Also, dude. You have to check out hypothesis annotation. It's amazing and going to really help Knophy in terms of providing evidence across the web for claims.
To return data after an asynchronous operation, return a promise.
I just struggled for a few hours trying to resolve some errors about CORS and 500 INTERNAL errors.
This line is a bit misleading.
In trying to get things up and running, I was returning a simple JSON object rather than a Promise. According to what I found, even if you don't have any async work, you still need to return a Promise from your function.
What about openly sharing work?
Interesting conundrum here...
I use Facebook Container is because it's an official Mozilla addon. I encouraged Mozilla to pursue a Google version, but it seems
asdf
Identity is formed by mimicry
Test from hypothesis annotations
NEW PAGENOTE
here are a few types of annotations that can be created with the application: Notes Create a note b
TEST