15 Matching Annotations
- Oct 2024
-
newsletter.squishy.computer newsletter.squishy.computer
-
Secure-meaningful, or secure-decentralized… why not both? What if we imagine a layered protocol, where secure-meaningful names dereference to secure-decentralized IPFS CIDs?
for - Indyweb dev - Overcoming Zooko's triangle
-
- May 2023
-
stackoverflow.com stackoverflow.com
-
Stop to think about "normal app" as like desktop app. Android isn't a desktop platform, there is no such this. A "normal" mobile app let the system control the lifecycle, not the dev. The system expect that, the users expect that. All you need to do is change your mindset and learn how to build on it. Don't try to clone a desktop app on mobile. Everything is completely different including UI/UX.
depends on how you look at it: "normal"
-
- Mar 2023
-
stackoverflow.com stackoverflow.com
-
When you call 'foo' in Ruby, what you're actually doing is sending a message to its owner: "please call your method 'foo'". You just can't get a direct hold on functions in Ruby in the way you can in Python; they're slippery and elusive. You can only see them as though shadows on a cave wall; you can only reference them through strings/symbols that happen to be their name. Try and think of every method call 'object.foo(args)' you do in Ruby as the equivalent of this in Python: 'object.getattribute('foo')(args)'.
-
- Nov 2021
-
unix.stackexchange.com unix.stackexchange.com
-
Okay thank you. I'll need to do some thinking then on how to apply that to things like git config --global core.editor
-
- Jun 2021
-
graphql-ruby.org graphql-ruby.org
-
However, this request-by-request mindset doesn’t map well to GraphQL because there’s only one controller and the requests that come to it may be very different.
-
- Mar 2021
-
www.jackfranklin.co.uk www.jackfranklin.co.uk
-
Svelte is different in that by default most of your code is only going to run once; a console.log('foo') line in a component will only run when that component is first rendered.
Tags
- opinion
- trying to doing things the same way you did in a different library/framework (learning new way of thinking about something / overcoming habits/patterns/paradigms you are accustomed to)
- turning things around / doing it differently
- difference
- reasonable defaults
- Svelte vs. React
- unfortunate defaults
- opinionated
- important point
Annotators
URL
-
- Feb 2021
-
www.infoworld.com www.infoworld.com
-
This article explains why you shouldn't use getters and setters (and when you can use them) and suggests a design methodology that will help you break out of the getter/setter mentality.
-
- Oct 2020
-
-
I have a few colleagues that converted to hyperscript, and while they were adverse at first, they were satisfied with having switched once they had become comfortable with the way it looks/reads.
-
-
github.com github.com
-
Svelte doesn't re-render, so you need to respond to component mount/dismount and prop changes separately as they are distinct concepts and never tied together, unlike in React.
Tags
- different way of thinking about something
- trying to doing things the same way you did in a different library/framework (learning new way of thinking about something / overcoming habits/patterns/paradigms you are accustomed to)
- UI library: reacting to prop changes
- distinction
- lifecycle callbacks
Annotators
URL
-
-
medium.com medium.com
-
Sometimes, you may be tempted to write that wrapper. Because all your (React or Vue or insert your reactive framework here) instincts tell you so.Resist the temptation. There is a better way. A svelter way. Introducing: the use-directive (a.k.a. “actions”).
-
However, especially when starting out, it’s very easy to fall into the “this is how I did things in my previous framework” trap.
Tags
- trying to doing things the same way you did in a different library/framework (learning new way of thinking about something / overcoming habits/patterns/paradigms you are accustomed to)
- Svelte
- Svelte: action (use:)
- paradigm shift
- getting a fresh perspective
- different way of thinking about something
- overcoming preconceived opinions
Annotators
URL
-
-
-
It's hard to fight against a tide of "experts" and preset assumptions. Sometimes it does take tearing things down a little bit.
-
The pattern was amazing but realistically I felt no one would really get over their preconceptions here.
-
- Aug 2020
-
mui-treasury.com mui-treasury.com
-
I found that many people have bad experience when it comes to styling in Material-UI, so I want to help them overcome that point and see the beauty of it.
-
- Sep 2018
-
www.mnemotext.com www.mnemotext.com
-
People who take pills to block out from memory the painful or hateful aspects of a new experience will not learn how to deal with suffering or sorrow. A drug that induces fearlessness does not produce courage.
He does a really good job pointing out some of the dangers of effortlessly overcoming fear at the cost of learning courage and struggle at the cost of learning discipline but he doesn't really touch on how in time we might recognize the side effect these biomedical technologies bring and human nature might push back against it. Kind of like with genetically modified foods now all people want is organic food.
-