30 Matching Annotations
- Jan 2024
-
gitlab.com gitlab.com
-
Another example are issue boards. They represent elegant use of a good infrastructure — it is all just a smart use of labels. It would be very complex feature without the use of labels.
-
- Nov 2023
-
www.ias.edu www.ias.edu
-
In the remainder of this paper, I will focus on the first move, by describing and comparing four different ways of looking at the world: two versions of materialism and two versions of phenomenology. It is my hope that these world views may serve to set a stage for further discussion between Husserlian philosophers and interested scientists.
-
for: worldviews - materialist and phenomenological
-
paraphrase
- categories: scientific worldviews
- materialism
- elegant
- a form of materialism that classifies the universe according to different levels, each with new properties that give rise to the emergence of specific and unique behaviors that the level below does not have.
- radical
- this is the current worldview of science that explains everything from the existing physical theories such as the standard model of the weak, strong and electromagnetic forces. The radical materialist does not take the idea of emergence seriously.
- elegant
- phenomenological
- elegant
- The annotator is not clear about what this category is.
- radical
- the radical phenomenologist does sees the hard problem of consciousness as insoluble by its very design, consciousness cannot emerge from behavior of atoms, molecules or quanta. Correlation is not causation.
- like the radical materialist who threw away the ether, he radical phenomenologist does not seek to ground consciousness in anything at all.
- elegant
- materialism
-
-
- Jan 2022
-
-
Having a consistent and predictable pattern is key to the elegance.
-
That's like the example i wrote, and i think it's very ugly. It's annoying when frameworks are very elegant in demos and presentations but then that elegance disappear when you have to write real world code.
-
- Nov 2021
-
svelte.school svelte.school
-
this action is re-usable. Anytime you want a typewriter effect added to an element, you just import the function and apply it. So elegant.
-
- Jul 2021
-
www.sitepoint.com www.sitepoint.com
-
SvelteKit offers a very elegant solution for this — the load function. The load function can run both on the client and on the server side and in both cases will be executed before the component renders.
-
-
stackoverflow.com stackoverflow.com
-
You can do this elegantly with throw/catch, like this:
-
In most languages, there is no clean equivalent for breaking out of a recursive algorithm that uses a recursive function. In Ruby, though, there is!
-
-
medium.com medium.com
-
Bash is a wonderful and terrible language. It can provide extremely elegant solutions to common text processing and system management tasks, but it can also drag you into the depths of convoluted workarounds to accomplish menial jobs.
-
- Apr 2021
-
medium.com medium.com
-
I wish to define methods within the class they belong to. Using class << self demonstrates that approach clearly — we are defining methods within the actual singleton class scope.
-
- Mar 2021
-
github.com github.com
-
The way we do it currently is by calling load from inside of load, via different "pipelines" and processors which is quite elegant and completely impossible to work with.
-
- Feb 2021
-
trailblazer.to trailblazer.to
-
Adding ends to an activity is a beautiful way to communicate more than two outcomes to the outer world without having to use a state field in the ctx. It also allows wiring those outcomes to different tracks in the container activity.
-
-
github.com github.com
-
Non-blocking suggestion: This is a little more elegant, if you prefer this syntax:
-
-
dry-rb.org dry-rb.org
-
Monads provide an elegant way of handling errors, exceptions and chaining functions so that the code is much more understandable and has all the error handling, without all the ifs and elses.
-
-
jrsinclair.com jrsinclair.com
-
blog.logrocket.com blog.logrocket.com
-
One thing I really like about this style is the elegance and readability it provides to your codebase.
-
-
github.com github.com
-
It requires an account to update, but the other inputs are optional. If they're missing, it'll ignore those attributes. If they're present, it'll update them.
-
-
-
Universal Links allow you to register a series of domains that are allowed to interact with an installed application. If the application is not installed, the universal link is opened with Safari, allowing you to inform the user of the existence of an application or whatever is necessary.
-
- Nov 2020
-
guides.rubyonrails.org guides.rubyonrails.org
-
A resource route maps a number of related requests to actions in a single controller.
-
- Oct 2020
-
github.com github.com
-
-
Personally, I rather like the idea of typing into a field, backspacing to undo what you just typed, and having the field (and form) go back to being pristine. Aside from that aesthetic difference, my definition has the practical implication that it lets you know if you need to save the record or not.
-
And I'm all for not adding a gazillion flags to to an elegant library.
-
-
-
Without elegant ways of expressing loops/iterators (like angular does with directives), the primary way to keep JSX readable thus becomes copying and pasting.
I'm not quite sure I understand this (so until I do, I'm not sure I agree)...
Why does he think copying and pasting is the only way to make it readable? Like he pointed out, you can extract JSX snippets and use loops within JSX. But maybe he means (his previous point), that people often don't do that. Hmm. 
-
-
-
But this is starting to become rather verbose at what could be a much simpler and more elegant solution if only there were another template helper that could do variable assignment.
-
-
-
Like they tried so hard to make things easy they didn't care that they weren't elegant or simple.
-
-
-
Here's a proxy store I wrote to derive the value of a store nested within other stores, it plays nice with typescript and can go infinitely deep
-
- Jul 2020
-
rails.lighthouseapp.com rails.lighthouseapp.com
-
Just ran into this problem myself and will work around it less elegantly for now.
-
- Dec 2019
-
requests.readthedocs.io requests.readthedocs.io
- Nov 2019
-
stackoverflow.com stackoverflow.com
-
This is the most elegant.
-
More elegant, just for fun: const parents = node => (node.parentElement ? parents(node.parentElement) : []).concat([node]);
-