109 Matching Annotations
  1. Nov 2021
    1. Since around 2010, Morton has become associated with a philosophical movement known as object-oriented ontology, or O.O.O. The point of O.O.O. is that there is a vast cosmos out there in which weird and interesting shit is happening to all sorts of objects, all the time. In a 1999 lecture, “Object-Oriented Philosophy,” Graham Harman, the movement’s central figure, explained the core idea:The arena of the world is packed with diverse objects, their forces unleashed and mostly unloved. Red billiard ball smacks green billiard ball. Snowflakes glitter in the light that cruelly annihilates them, while damaged submarines rust along the ocean floor. As flour emerges from mills and blocks of limestone are compressed by earthquakes, gigantic mushrooms spread in the Michigan forest. While human philosophers bludgeon each other over the very possibility of “access” to the world, sharks bludgeon tuna fish and icebergs smash into coastlines.We are not, as many of the most influential twentieth-century philosophers would have it, trapped within language or mind or culture or anything else. Reality is real, and right there to experience—but it also escapes complete knowability. One must confront reality with the full realization that you’ll always be missing something in the confrontation. Objects are always revealing something, and always concealing something, simply because they are Other. The ethics implied by such a strangely strange world hold that every single object everywhere is real in its own way. This realness cannot be avoided or backed away from. There is no “outside”—just the entire universe of entities constantly interacting, and you are one of them.

      Object Oriented Ontology - Objects are always revealing something, and always concealing something, simply because they are Other. ... There is no "outside" - just the entire universe of entities constantly interacting, and you are one of them.

      This needs to be harmonized with Stop Reset Go (SRG) complimentary Human Inner Transformation (HIT) and Social Outer Transformation (SOT) strategy.

    1. Object literals don't have index signatures. They are assignable to types with index signatures if they have compatible properties and are fresh (i.e. provably do not have properties we don't know about) but never have index signatures implicitly or explicitly.
  2. Oct 2021
  3. Aug 2021
    1. What if I told you there was a way to do this in Ruby?:destructure def adds(a: 1, b: 2) a + bendadds(a: 1, b: 2)# => 3adds(OpenStruct.new(a: 1, b: 2))# => 3Foo = Struct.new(:a, :b)adds(Foo.new(1,2))# => 3
  4. Jul 2021
    1. The operative content object is the content object to which a request is directed – this is the content object that the user specifically wants, and that the request primarily operates on.
  5. Jun 2021
  6. Mar 2021
    1. Normally you should not register a named module, but instead register as an anonymous module: define(function () {}); This allows users of your code to rename your library to a name suitable for their project layout. It also allows them to map your module to a dependency name that is used by other libraries.
    1. function isObject(o) { return o instanceof Object && o.constructor === Object; }
    2. An array is from a logical point of view not an object - although JavaScript handles and reports them as such. In practice however, it is not helpful to see them equal, because they are not.
    3. Arrays are definitely objects. Not sure why you think objects can't have a length property nor methods like push, Object.create(Array.prototype) is a trivial counterexample of a non-array object which has these. What makes arrays special is that they are exotic objects with a custom [[DefineOwnProperty]] essential internal method, but they are still objects.
    4. arrays are not objects from a logical point of view. I'm speaking about program logic. It is sometimes necessary to check if an array is a "real" array and definitely not an "real" object. That's what Array.isArray() is for. Imagine you have a function which accepts an object or an array of objects.
    5. function isObject (item) { return (typeof item === "object" && !Array.isArray(item) && item !== null); }
    1. Uber::Option implements the pattern of taking an option, such as a proc, instance method name, or static value, and evaluate it at runtime without knowing the option's implementation.
    1. Internally, it creates and returns a fresh, subclassed activity (via patching) whilst replacing the step for given :id. Be advised that this does not change the original activity class.
  7. Feb 2021
    1. # Yes, you can use lambdas as steps, too! step ->(ctx, params:, **) { params.is_a?(Hash) }
    2. a task in an activity can be any callable Ruby object
    3. Your actual logic happens in tasks, the labeled boxes. A task may be any callable Ruby object, an instance method or even another activity.
    1. Please note that the actual task doesn’t have to be a proc! Use a class, constant, object, as long as it exposes a #call method it will flow.
    1. It reminds us that rather than asking an object for data and acting on that data, we should instead tell an object what to do.
    1. The problem is that you what you want is actually not de-structuring at all. You’re trying to go from 'arg1', { hash2: 'bar', hash3: 'baz' }, { hash1: 'foo' } (remember that 'arg1', foo: 'bar' is just shorthand for 'arg1', { foo: 'bar' }) to 'arg1', { hash1: 'foo', hash2: 'bar', hash3: 'baz' } which is, by definition, merging (note how the surrounding structure—the hash—is still there). Whereas de-structuring goes from 'arg1', [1, 2, 3] to 'arg1', 1, 2, 3
    1. {a: 1, b: 2, c: 3, d: 4} => {a:, b:, **rest} # a == 1, b == 2, rest == {:c=>3, :d=>4}

      equivalent in javascript:

      {a, b, ...rest} = {a: 1, b: 2, c: 3, d: 4}
      

      Not a bad replacement for that! I still find javascript's syntax a little more easily readable and natural, but given that we can't use the same syntax (probably because it would be incompatible with existing syntax rules that we can't break for compatibility reasons, unfortunately), this is a pretty good compromise/solution that they've come up with.

    2. we’re going to look how improved pattern matching and rightward assignment make it possible to “destructure” hashes and arrays in Ruby 3—much like how you’d accomplish it in, say, JavaScript
    1. I think a better, more immediately understandable name for this concept would be command object, because it lets you pass around commands (or a list of commands) as objects.

      That's the only thing you really need to know abut this pattern. The rest seems like boring implementation details that aren't that important, and that naturally follow from the primary definition above.

    2. The central ideas of this design pattern closely mirror the semantics of first-class functions and higher-order functions in functional programming languages. Specifically, the invoker object is a higher-order function of which the command object is a first-class argument.
    1. In object-oriented programming, information hiding (by way of nesting of types) reduces software development risk by shifting the code's dependency on an uncertain implementation (design decision) onto a well-defined interface. Clients of the interface perform operations purely through it so if the implementation changes, the clients do not have to change.
    1. Though getter/setter methods are commonplace in Java, they are not particularly object oriented (OO). In fact, they can damage your code's maintainability. Moreover, the presence of numerous getter and setter methods is a red flag that the program isn't necessarily well designed from an OO perspective.
  8. Jan 2021
    1. The changes we needed to make to main to reassign post mean that this implementation doesn’t quite follow the object-oriented state pattern anymore: the transformations between the states are no longer encapsulated entirely within the Post implementation. However, our gain is that invalid states are now impossible because of the type system and the type checking that happens at compile time! This ensures that certain bugs, such as display of the content of an unpublished post, will be discovered before they make it to production.

      This is really an amazing chapter for comparing (some aspects) of object oriented and functional programming, and I have to admit I still prefer the functional approach as a default.

  9. Nov 2020
  10. Oct 2020
    1. You can set options.params to a POJO as shown above, or to an instance of the JavaScript's built-in URLSearchParams class. const params = new URLSearchParams([['answer', 42]]); const res = await axios.get('https://httpbin.org/get', { params });
    1. Checking if an object is a POJO can be somewhat tricky and depends on whether you consider objects created using Object.create(null) to be POJOs. The safest way is using the Object.getPrototypeOf() function and comparing the object's prototype.
    2. The intuition behind POJOs is that a POJO is an object that only contains data, as opposed to methods or internal state. Most JavaScript codebases consider objects created using curly braces {} to be POJOs. However, more strict codebases sometimes create POJOs by calling Object.create(null) to avoid inheriting from the built-in Object class.
    1. A reasonably clean alternative would be to map a function over the array and use destructuring in the each loop: {#each [1, 2, 3, 4].map(n => ({ n, sqr_n: n * n })) as { n, sqr_n }} {sqr_n} {sqr_n / 2}<br> {/each}
    1. If you prefer, you can use destructuring — each cats as { id, name } — and replace cat.id and cat.name with id and name.
  11. Sep 2020
    1. By default, in order to allow inline fat-arrow validation functions, the field will not rerender if you change your validation function to an alternate function that has a different behavior. If you need your field to rerender with a new validation function, you will need to update another prop on the Field, such as key
    1. A paradigm is a model or pattern. In JavaScript, there are a number of popular paradigms including object-oriented programming (OOP) and functional programming (FP). Paradigms are more important than is sometimes recognized. They help form mental models for solving problems. Becoming well-versed in the principles of a given paradigm can help accelerate development by providing mental shortcuts for solving the challenges that arise while building applications. They can also help produce higher quality software.
  12. Aug 2020
    1. Java may have been designed as a completely object oriented language, but when Java SE 8 was released in 2014, it added Lambda expressions (aka closures), which added some functional programming elements. Not every problem is best served by OOP, and by adding Lambdas, Java became more flexible. 
  13. Jul 2020
    1. In Turtle, fresh RDF blank nodes are also allocated when matching the production blankNodePropertyList and the terminal ANON. Both of these may appear in the subject or object position of a triple (see the Turtle Grammar). That subject or object is a fresh RDF blank node. This blank node also serves as the subject of the triples produced by matching the predicateObjectList production embedded in a blankNodePropertyList. The generation of these triples is described in Predicate Lists. Blank nodes are also allocated for collections described below. Example 15@prefix foaf: <http://xmlns.com/foaf/0.1/> . # Someone knows someone else, who has the name "Bob". [] foaf:knows [ foaf:name "Bob" ] .

      Equivalent to saying "something" or "someone" in English.

    1. Under the GDPR, users have the right to object to certain processing activities in relation to their personal data carried out by the Controller. In a nutshell, the user can object to the processing of their data whenever the processing is based on the controller’s legitimate interest, or the performance of a task in the public interest/exercise of official authority, or for purposes of scientific/historical research and statistics. The user has to state a motivation for their objection, unless the processing is carried out for direct marketing purposes, in which case no motivation is needed to exercise this right.
    1. object-oriented

      a computer programming model that organizes software design around data, or objects, rather than functions and logic

  14. May 2020
    1. Under the FTC’s CAN-SPAM Act, you do not need consent prior to adding users located in the US to your mailing list or sending them commercial messages, however, it is mandatory that you provide users with a clear means of opting out of further contact.
  15. Mar 2020
    1. An example of reliance on legitimate interests includes a computer store, using only the contact information provided by a customer in the context of a sale, serving that customer with direct regular mail marketing of similar product offerings — accompanied by an easy-to-select choice of online opt-out.
  16. Jan 2020
  17. Nov 2019
    1. React guarantees that setState function identity is stable and won’t change on re-renders. This is why it’s safe to omit from the useEffect or useCallback dependency list.
  18. Oct 2019
    1. cinnamon-colored beard

      it's a type of spice, brown colored. also, it's pretty tasty.

    2. cummerbund

      basically the sash worn around the waist.

      Source from https://en.wikipedia.org/wiki/Cummerbund.

    3. seersucker suit

      seersucker suit: basically a suit that's defined by the button in the middle that's called a "seersucker," which sucks all of the clothing in to that tight spot.

    4. beret

      see the French hat:

    5. overcoat

      An overcoat is basically a coat that's longer than your usual coat. that's all. Usually seen as classy in movies.

  19. Aug 2019
  20. Feb 2019
    1. t must be allowed, that there are certain qualities in objects, which arc fitted by nature to produce those particular feelings.

      The companion piece to the idea that beauty is in the mind of the observer (above): "Beauty is no quality in things themselves: It exists merely in the mind which contemplates them; and each mind perceives a different beauty" (832). Beauty has roots in the object that then evokes the feeling of beauty in the mind.

  21. Jan 2019
    1. likeness

      Likeness: The external form or outward appearance of something; esp. a shape, form, or appearance which resembles that of a particular thing; a guise, a semblance.

      http://www.oed.com.ezp.slu.edu/view/Entry/108318?redirectedFrom=likeness#eid

      ...as opposed to...

      Real: Having an objective existence; actually existing physically as a thing, substantial; not imaginary.

      http://www.oed.com.ezp.slu.edu/view/Entry/158926?rskey=pC6mXz&result=3&isAdvanced=false#eid

      Interesting that "objective existence" requires separation, removal from others, where likeness requires a subject to be modeled after.

    1. If one object is part of another object, then we use a diamond at the start of the arrow (next to the containing object), and a normal arrow at the end.

      Another way of thinking of this is, if the original owner (source) object and the owned (target) object share the same life cycle -- that is, the owned exists only when the owner does -- we say that the owner aggregates owned object(s). They share a whole-part relationship.

      What I did like very much about the video, was when the instructor pointed out that there's a small fallacy: aggregation, in OOD, does not really imply that owned object(s) must be a list.

    1. Grid devices can be nested or layered along with other devices and your plug-ins,

      Thanks to training for Cycling ’74 Max, had a kind of micro-epiphany about encapsulation, a year or so ago. Nesting devices in one another sounds like a convenience but there’s a rather deep effect on workflow when you start arranging things in this way: you don’t have to worry about the internals of a box/patcher/module/device if you really know what you can expect out of it. Though some may take this for granted (after all, other modular systems have had it for quite a while), there’s something profound about getting modules that can include other modules. Especially when some of these are third-party plugins.

  22. dev01.inside-out-project.com dev01.inside-out-project.com
    |
    1
    1. An HTML element is an individual component of an HTML document or web page, once this has been parsed into the Document Object Model.

      Know the Document Object Model.

  23. Dec 2018
  24. neocam.ipac.caltech.edu neocam.ipac.caltech.edu
    1. The Near-Earth Object Camera (NEOCam) is a new mission that is designed to discover and characterize most of the potentially hazardous asteroids that are near the Earth. NEOCam consists of an infrared telescope and a wide-field camera operating at thermal infrared wavelengths.

      Interesting project!

  25. Oct 2018
  26. Aug 2018
    1. empirical literature on organizational time has extended research on time as a control variable of boundary condition (George & Jones, 2000; Langley, Smallman, Tsoukas, & Van de Ven, 2013)

      How is boundary condition being used here? As a boundary object or something else?

      See: Busse 2017 (in Mendeley)

  27. Jul 2018
    1. ng meets human needs—and exchange value—value based on profit—Trimbur points to the often-contradictory relationship between the two forms of value that is realized w

      Object-Oriented Ontologies

    2. Content has a core conditional quality, fluidity in terms of what shape it may take and where it may travel, and indeterminacy in terms of who may use it, to what ends, and how various uses may come to be valued.

      Object-oriented ontological thinking?

  28. Jun 2018
  29. Apr 2018
  30. Mar 2018
    1. a mutator method is a method used to control changes to a variable. They are also widely known as setter methods

      For example, a method definition in Java would be:

      class MyClassDef {
      
          public void setProperty(String propertyVal) { .. }
      
      }
      

      For above, setProperty(..) method is the mutator

  31. Nov 2017
    1. An institution has implemented a learning management system (LMS). The LMS contains a learning object repository (LOR) that in some aspects is populated by all users across the world  who use the same LMS.  Each user is able to align his/her learning objects to the academic standards appropriate to that jurisdiction. Using CASE 1.0, the LMS is able to present the same learning objects to users in other jurisdictions while displaying the academic standards alignment for the other jurisdictions (associations).

      Sounds like part of the problem Vitrine technologie-éducation has been tackling with Ceres, a Learning Object Repository with a Semantic core.

    1. if cross-format identifiers like DOIs are used, annotations made in one format (eg, EPUB) can be seen in the same document published in other formats (eg, HTML, PDF) and in other locations.

      Whaa..? This sounds seriously hard. But remarkably clever.

  32. Apr 2017
    1. array with component type int

      My only suggestion is that this should be changed to single-dimension array with component type int. As per the Encoding conventions defined by java.lang.Class#getName()'s contract.

      In other other words, the OP missed the fact that for every dimension of the array-object, an [ character is prepended to the enconding of the type contained in the array.

  33. Mar 2017
  34. Aug 2016
    1. The stringSingleton() method of the Module object appears to be indistinguishable from a first-class function value. But the appearances are deceptive. The method isn’t free-standing: we could have used this in its body and it would have referred to the Module singleton object, even after the import. And it’s not the method which is passed to map — instead a transient function value is implicitly created to invoke the stringSingleton() method (this is a process known as eta-expansion) and it’s that function-value which is passed to map.
  35. Jul 2016
    1. . Sensual objects exist for real objects, namely, me, or some other perceiver. So I’ve got the caricature of the table and the caricature of the chair, those caricatures have no relation to each other. They have relation only for me, because my experience unifies both of them. So the real is always the bridge for the two sensuals; the sensual is always the bridge for the two reals. And that’s what we try to analyse in Object-Oriented Philosophy

      Cole's problem is that this is Kant.

    1. This principle is, I will show, a convenient fiction in this new work, enabling the philosopher to hear the call of things and to speak to and for them, despite the new rule that we cannot think of objects as being-for-us and must reject older philosophies smacking of "presence" and traditional ontology or ontotheology

      So this is the leap. But what about work like this?

      "Answers to this question are beginning to emerge from an area of work I see as connected to rhetorical ecologies, the study of object-oriented ontologies (OOO), led by Graham Harman, Levi Bryant, and Ian Bogost. Bogost’s self-described “elevator pitch” for this area of inquiry reads as the following:

      Ontology is the philosophical study of existence. Object-oriented ontology (“OOO” for short) puts things at the center of this study. Its proponents contend that nothing has special status, but that everything exists equally–plumbers, cotton, bonobos, DVD players, and sandstone, for example. In contemporary thought, things are usually taken either as the aggregation of ever smaller bits (scientific naturalism) or as constructions of human behavior and society (social relativism). OOO steers a path between the two, drawing attention to things at all scales (from atoms to alpacas, bits to blinis), and pondering their nature and relations with one another as much with ourselves. (bogost.com)

      There’s much more to this area, of course, no surprise given its relationship to Heidegger’s work, but this statement makes the case for a focus on things, just as theories of rhetoric as ecological inform my research methods. While OOO rejects the disproportionate historical focus of study on all things human, often referred to as correlationism, focusing on objects does not mean dismissing human-based studies so much as looking with equal rigor at all the innumerable phenomena that populate the world. This is a question of balance, as becomes clear with Bogost’s call in the last phrase of his blurb to consider objects in their “relations with one another as much with ourselves” (emphasis mine). As those concerned with activism—i.e., action mostly on behalf of people—our anthropocentrism will never recede so very much, but work like that of rhetorical ecologies and OOO opens space for us to consider the existence, movement, and effects of objects in new ways. Hence, my claim that adapted flags might do a kind of activist work on their own. From this angle, any flag objects than trigger thoughts or actions on behalf of D.C.’s disadvantaged would be doing the work of activism."

    1. Ontology is the philosophical study of existence. Object-oriented ontology (“OOO” for short) puts things at the center of this study. Its proponents contend that nothing has special status, but that everything exists equally–plumbers, cotton, bonobos, DVD players, and sandstone, for example. In contemporary thought, things are usually taken either as the aggregation of ever smaller bits (scientific naturalism) or as constructions of human behavior and society (social relativism). OOO steers a path between the two, drawing attention to things at all scales (from atoms to alpacas, bits to blinis), and pondering their nature and relations with one another as much with ourselves. (bogost.com)

      For a critique of ANT and OOO, see Andrew Cole's, "Those Obscure Objects of Desire" and "The Call of Things: A Critique of Object Oriented Ontologies."

  36. Apr 2016
    1. This principle is, I will show, a convenient fiction in this new work, enabling the philosopher to hear the call of things and to speak to and for them, despite the new rule that we cannot think of objects as being-for-us and must reject older philosophies smacking of “presence” and traditional ontology or ontotheology.

      The heart of the critique.

    2. according to the new line of thinking, objects should be recognized for their indifference to us, for the sorts of things they do behind our backs, and for the ways in which they “are” behind appear-ances
  37. Dec 2015
  38. Sep 2015
  39. Jun 2015
    1. colour as an object-centred

      interesting that we still teach children to learn colors this way via picture books that use objects (red apple) or physical features of the environment (blue sky) to create color associations

  40. Nov 2013
    1. and that the question of which of these perceptions of the world is the more correct one is quite meaningless, for this would have to have been decided previously in accordance with the criterion of the correct perception, which means, in accordance with a criterion which is not available. But in any case it seems to me that "the correct perception"-which would mean "the adequate expression of an object in the subject"-is a contradictory impossibility.

      Even if we could glimpse what lies "beyond" we have no context with which to contain or express things objectively.

  41. Oct 2013
    1. We must reject food, for it has often given rise to ill health; we must never go under roofs, for they sometimes fall upon those who dwell beneath them; a sword must not be forged for a soldier, for a robber may use the same weapon.

      These are interesting metaphors which suggest rhetoric is a tool or object which is neither inherently good or bac

  42. Sep 2013
    1. narcissism - that is to say, the discovery that the ego itself is cathected with libido, that the ego,indeed, is the libido’s original home, and remains to some extent its headquarters. This narcissistic libidoturns towards objects, and thus becomes object-libido; and it can change back into narcissistic libido oncemore.

      cathect--to invest emotional energy in

      object libido(narcissistic libido turned towards objects) has bidirectional relationship with <-->narcissistic libido