212 Matching Annotations
  1. Jul 2025
  2. Jun 2025
    1. what unification uh allowed us to do with a uh a good theory of electromagnetism is to say that first of all all of these are actually uh examples of the same underlying phenomenon. So we were able to put them on one continuum

      for - key insight - scientific theory - transition - from different - to similiar - key insight - organizing principle - organizes reality in new ways

      key insight - scientific theory - transition - from different - to similiar - New scientific theories make us cognitively reorganize our experiences - What was thought of as separate in an older conceptual framing - suddenly become similiar with the new framing

  3. May 2025
    1. these people do have political and spiritual values, but they are not uniform but pluralist, these are not in fact, spiritual movements, or spirit-centric movements. They are in effect people attempting to reinvent how we produce value, in different ways, whether they are urban commoners, rural permaculturists, or neo-nomadic crypto nomads.

      for - adjacency - new ways of creating and distributing value - not spiritual movements - example - Indyweb - LCE - Deep Humanity - metacrisis / polycrisis singularity

      adjacency - between - new ways of creating and distributing value - not spiritual movements perse - examples - Indyweb - LCE - Deep Humanity - metacrisis / polycrisis singularity - adjacency relationship - Reflecting on a few of the major projects I'm working and collaborating on there is another permutation in which ideas that are considered "spiritual" are being integrated into the foundational design of technical production and distribution systems - The Indyweb web 3 / web 4 people-centered, interpersonal information ecosystem is founded on the Eastern principle of Shunyata (Emptiness), and its two pillars: - change and - intertwingledness - which in turn corelate to biology via: - evolution and - ecology - The Living Cities Earth (LCE) project is founded on integral theory framework - Deep Humanity emerged out of observation that the historic inability of spiritual and material integration, - what might be here called the hard and soft metamemes - may be leading us into a metacrisis / polycrisis singularity - and that their integration now may be what is required to stave off the worst impacts of the fast approaching metacrisis / polycrisis singularity - Observations of the social dynamics of many small commons-leaning groups I've been involved with shows me that the deep cultural conditioning of the previous hard and soft metameme systems are extremely difficult to uproot and the soft metameme conditioning ends up poisoning collaborations

  4. Apr 2025
  5. Mar 2025
    1. The goal of Lucia v3 was to be the easiest and cleanest way to implement database-backed sessions in your projects. It didn't have to be a library. I just assumed that a library will be the answer. But I ultimately came to conclusion that my assumption was wrong. I don't see this change as me abandoning the project. In fact, I think it's a step forward. If implementing sessions wasn't easy, I wouldn't be deprecating the package. But why wouldn't a library be the answer? It seems like a such an obvious answer. One word - database. I talked about how database adapters were a significant complexity tax to the library. I think a lot of people interpreted that as maintenance burden on myself. That's not wrong, but the bigger issue is how the adapters limit the API. Adapters always felt like a black box to me as both an end user and a maintainer. It's very hard to design something clean around it and makes everything clunky and fragile, especially when you need to deal with TypeScript shenanigans.
    1. The figure of the grieving mother is a collectivity, with women characterized as part of a population of mothers with a collective experience of loss. Their dissent is practiced through invocations of a dead or imperiled soldier child, who signifies the claim to associative military masculinity. In contrast, the perspective of the returning veteran is grounded in individual experience. The film depicts women as caregivers, with their dissenting subjecthood derived from their relationships with men.
    2. this narrative of personal growth and triumph is complicated by the fact that Tomas's newfound power and authority are rooted in traditional masculine ideals. The film ultimately suggests that the military peace movement is shaped by masculinized privilege, which can be both productive and limiting.
    1. White Ribbon Campaign, which originated in Canada and has a branch in England, is a group of men committed to discussing and ending male violence against women. However, there is a lack of groups of men in the anti-militarist and peace movements who analyze and resist the deformation of manhood by militarization. For war to end, men need to become self-aware and refuse the violence expected of them, and the association of masculinity with militarism. Some men, such as those in the Turkish conscientious objectors movement and South Korean anti-militarist men, are starting to listen to feminist ideas and take on board their perspectives.
    1. Event handlers are now just props like any other, making it easy to (for example) know whether the user of your component supplied a particular event handler (which can be useful for avoiding expensive setup work), or to spread arbitrary event handlers onto some element — things that are particularly important for library authors.
  6. Jan 2025
    1. The development of drone warfare is linked to a masculine framework of thinking, where the fleshy body is seen as getting in the way of war. Drones are presented as more reliable, intelligent, and vigilant than humans, and are seen as surpassing all human limitations. This masculine framework is evident in the way drones are represented as "just warriors," more humane in their precision and rational calculations. The relationship between masculinity and vision is also explored, where vision is seen as a way to signify a leap out of the marked body and into the conquering gaze from nowhere.
    1. The technostrategic discourses of drone warfare also distance the use of lethal technology from its deadly consequences, using rational language, euphemism, and abstraction. The altered spatiotemporal experience of drone warfare makes killing easier, but it also raises questions about the masculinity of drone operators. They are often depicted as being in the domestic sphere, juxtaposing their combat experience with running errands for their spouses or coaching a kids' soccer team.
  7. Dec 2024
    1. it confirms something found in the Buddhist tradition uh which is this notion of innate basic goodness that all human beings are born with Buddha nature we all have the seeds of kindness within us and scientific research strongly confirms that this is true

      for - everyone is sacred - everyone has Buddha Nature - different ways of saying - Youtube - Tukdam talk - An Overview Of CHM’s Work On “Well-Being And Tukdam” - Prof. Richard J. Davidson - poverty mentality - Chinese saying: (hu)man on earth, good at birth. The same nature, varies on nurture

      everyone is sacred - different ways of saying it - We are all born with Buddha nature - We are all born with innate goodness - Chinese saying: (hu)man on earth, good at birth. The same nature, varies on nurture - Not seeing this, we fall into poverty mentality, and all the associated forms of suffering it brings

      to - Chinese saying: (hu)man on earth, good at birth. The same nature, varies on nurture - https://hyp.is/TWOEYrlUEe-Mxx_LHYIpMg/medium.com/postgrowth/rediscovering-harmony-how-chinese-philosophy-offers-pathways-to-a-regenerative-future-07a097b237a0

    1. we're really invoking a call for philanthropy to be in the liberation of capital in a way that can support transition pathways. What we refer to as transition pathways is other ways of being and knowing that are in co-creative relationship with life itself.

      for - key objective - of Post Capitalist Philanthropy - call for philanthropy to be in the liberation of capital in a way that supports transition pathways - to explore other ways of being and knowing that are in co-creative relationship with life itself - Post Capitalist Philanthropy Webinar 1 - Alnoor Ladha - Lynn Murphy - 2023

  8. Nov 2024
  9. Oct 2024
  10. Sep 2024
  11. Aug 2024
    1. there is one thing that I want to to do on top of proving you know or disproving fact falsifying or not this theory is to finding ways in which people that are ready can have an extraordinary experience of Consciousness like did not through drugs but through methods you know way to breathe or different ways of special meditations what have you they are sufficiently welld developed that they can help the process of people experiencing themselves their Unity with one

      for - Federico Faggin - high priority objective - find and implement ways to catalyze authentic awakening experiences for those who are ready

      Federico Faggin - high priority objective - find and implement ways to catalyze authentic awakening experiences for those who are ready - Deep Humanity BEing journeys!

    2. I want to figure out find out help find out ways in which we can have things where maybe at the most you need to dedicate a week of your life you know because you need to be in a special environment in order to have the the sort of the the conditions in which this can happen and can have those experiences and if say 30% of the people that claim to be ready actually have one of those experien that would be a marvelous objective to reach so that's what I'm thinking right now

      for - Federico Faggin - high priority objective - find and implement ways to catalyze authentic awakening experiences in a short time - ie - one week

  12. Jun 2024
    1. I'd agree that much of the time 'not prefer' is a perfectly adequate way of conveying the same sense as 'disprefer' (just as 'not agree' will for most purposes convey the same sense as 'disagree', and 'not like' the same sense as 'dislike'). However, they aren't strictly equivalent; I might neither prefer nor disprefer Coke to Pepsi, but rather be neutral between them. Possibly the purpose for which 'disprefer' is most useful is cancelling implications – 'I don't prefer it – though I don't disprefer it either'.
  13. May 2024
  14. Mar 2024
  15. Feb 2024
  16. Jan 2024
  17. Nov 2023
    1. Autoloading in Rails was based on const_missing up to Rails 5. That callback lacks fundamental information like the nesting or the resolution algorithm being used. Because of that, Rails autoloading was not able to match Ruby's semantics, and that introduced a series of issues. Zeitwerk is based on a different technique and fixed Rails autoloading starting with Rails 6.
    1. ActiveRecord::Base.normalizes declares an attribute normalization. The normalization is applied when the attribute is assigned or updated, and the normalized value will be persisted to the database. The normalization is also applied to the corresponding keyword argument of query methods, allowing records to be queried using unnormalized values.

      Guess I don't need to use mdeering/attribute_normalizer gem anymore...

  18. Oct 2023
  19. Sep 2023
    1. The problem is that in the case where an app is multi-threaded, and we don't switch off autoload, the case would be that it probably won't blow up, but random stuff will mysteriously sometimes fail in weird ways. So ask yourself this, what would you rather want, option 1) where you can get an exception at runtime, or option 2) where you get random, unpredictable, weird, hard to explain, difficult to debug bugs at runtime. Personally, I'm going to choose option 1. The downside of thread-safety issues is so much worse than the downside of the possibility of an exception. The way you're handling it makes it sound as though thread-safety is not important, as though Rails is still optimizing for the single-threaded case. That seems like a huge step back.
  20. Jun 2023
    1. I think we have a responsibility not only to ourselves, but also to each other, to our community, not to use Ruby only in the ways that are either implicitly or explicitly promoted to us, but to explore the fringes, and wrestle with new and experimental features and techniques, so that as many different perspectives as possible inform on the question of “is this good or not”.
    2. If you’ll forgive the pun, there are no constants in programming – the opinions that Rails enshrines, even for great benefit, will change, and even the principles of O-O design are only principles, not immutable laws that should be blindly followed for the rest of time. There will be other ways of doing things. Change is inevitable.
  21. May 2023
  22. Mar 2023
    1. 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)'.
  23. Jan 2023
    1. If it interests you, GPC lists phrases like dysgu ar gof. This page then gives the example, "Yn yr hen ddyddiau byddai pobl yn dysgu cerddi ar gof" - like saying "to learn by heart" in English.

      https://www.reddit.com/r/learnwelsh/comments/10acr9j/sut_i_ddweud_i_memorized_yn_gymraeg/

      Fascinating that the Welsh language doesn't seem to have a direct translatable word/verb for "to memorize". The closest are dysgu (to learn, to teach) and cofio (to remember).

      Related phrase: yn dysgu cerddi ar gof (to learn poems by heart), though this last is likely a more direct translation of an English concept back into Welsh.

      Is this lack of a seemingly basic word for such a practice a hidden indicator of the anthropology of their way of knowing?

      If to learn something means that one fully memorizes it from the start, then one needn't sub-specify, right?

    1. the important thing to point out is that when we think of the self this way the self isn't my body or my mind i don't take my body to be myself and 00:17:39 we're going to see that in a moment but i think of the self the target of this analysis the snake in the wall as the thing that has a body the thing that has a mind and of course if we were 00:17:50 operating in india and taking a doctrine of reincarnation or rebirth for granted we would think of it as the thing that in different lives appropriates different bodies and minds um and 00:18:02 but remains the same through those lives but if we're not in a kind of reincarnation and rebirth kind of mood um then we might think that it's just the thing that endures through our entire life while everything else 00:18:15 changes that is um the thing that was me when i was an itty-bitty baby when i was a young handsome guy when now that i'm an old guy um that it's there's something continuous there and we think of that as 00:18:28 the self

      !- different ways to think of : the self - the thing that has the mind or the body - the thing that endures through life while everything else changes, it was me as a baby, a child, a young man, an old man, etc.

  24. Dec 2022
  25. Nov 2022
  26. Oct 2022
    1. This effort, which Americans have supported almostfrom the beginning of the national existence and which is oneof the cornerstones of our democratic way of life, has hadremarkable results.

      Read in juxtaposition with the knowledge of orality and along with Graeber & Wengrow's The Dawn of Everything, one could certainly argue that there are other ways of knowing which provide potentially better pathways to democracy.

      Further, the simple fact of basic literacy doesn't necessarily encourage democracy. Take a look at the January 6th (2021) insurrectionists who were likely broadly literate, but who acted more like a damaged oral society and actively subverted democracy.

      Literacy plus "other things" are certainly necessary for democracy. How do we define these other things, and then once we have, is literacy still part of the equation for democracy?

  27. Sep 2022
  28. Jul 2022
  29. May 2022
    1. Whig history (or Whig historiography), often appearing as whig history, is an approach to historiography that presents history as a journey from an oppressive and benighted past to a "glorious present".[1] The present described is generally one with modern forms of liberal democracy and constitutional monarchy: it was originally a satirical term for the patriotic grand narratives praising Britain's adoption of constitutional monarchy and the historical development of the Westminster system.[2] The term has also been applied widely in historical disciplines outside of British history (e.g. in the history of science) to describe "any subjection of history to what is essentially a teleological view of the historical process".[3] When the term is used in contexts other than British history, "whig history" (lowercase) is preferred.[3]

      Stemming from British history, but often applied in other areas including the history of science, whig history is a historiography that presents history as a path from an oppressive, backward, and wretched past to a glorious present. The term was coined by British Historian Herbert Butterfield in The Whig Interpretation of History (1931). It stems from the British Whig party that advocated for the power of Parliament as opposed to the Tories who favored the power of the King.


      It would seem to be an unfortunate twist of fate for indigenous science and knowledge that it was almost completely dismissed when the West began to dominate indigenous cultures during the Enlightenment which was still heavily imbued with the influence of scholasticism. Had religion not played such a heavy role in science, we may have had more respect and patience to see and understand the value of indigenous ways of knowing.

      Link this to notes from The Dawn of Everything.

  30. Apr 2022
    1. In studies comparing European American children withMayan children from Guatemala, psychologists Maricela Correa-Chávez andBarbara Rogoff asked children from each culture to wait while an adultperformed a demonstration—folding an origami shape—for another childnearby. The Mayan youth paid far more sustained attention to the demonstration—and therefore learned more—than the American kids, who were oftendistracted or inattentive. Correa-Chávez and Rogoff note that in Mayan homes,children are encouraged to carefully observe older family members so that theycan learn how to carry out the tasks of the household, even at very young ages.

      American children aren't encouraged to as attentive imitators as their foreign counterparts and this can effect their learning processes.

  31. Mar 2022
    1. In the Warlpiri Aboriginal language of Central Australia, you do notdescribe positions of things with yourself as the focal reference point.Rather, your position is defined within the world around you. InWarlpiri, my computer is south of me, my cat is sleeping west of meand the door is east of me. It requires you to always know thecardinal directions (north, south, east and west), no matter yourorientation. Any one person is not the centre of the world, they arepart of it.

      Western cultures describe people's position in the world with them as the center, while Indigenous cultures, like those of the Warlpiri Aboriginal language of Central Australia, embed the person as part of the world and describe their position with respect to it using the cardinal directions.

    2. These ways of knowinghave inherent value and are leading Western scientists to betterunderstand celestial phenomena and the history and heritage thisconstitutes for all people.

      The phrase "ways of knowing" is fascinating and seems to have a particular meaning across multiple contexts.

      I'd like to collect examples of its use and come up with a more concrete definition for Western audiences.

      How close is it to the idea of ways (or methods) of learning and understanding? How is it bound up in the idea of pedagogy? How does it relate to orality and memory contrasted with literacy? Though it may not subsume the idea of scientific method, the use, evolution, and refinement of these methods over time may generally equate it with the scientific method.

      Could such an oral package be considered a learning management system? How might we compare and contrast these for drawing potential equivalencies of these systems to put them on more equal footing from a variety of cultural perspectives? One is not necessarily better than another, but we should be able to better appreciate what each brings to the table of world knowledge.

  32. Feb 2022
    1. Dispatch a custom event. This differs from Svelte's component event system, because these events require a DOM element as a target, can bubble (and do by default), and are cancelable with event.preventDefault(). All SMUI events are dispatched with this instead of Svelte's createEventDispatcher.
    1. https://www.latimes.com/california/story/2022-02-09/riverside-sohcahtoa-teacher-viral-video-mocked-native-americans-fired

      Riverside teacher who dressed up and mocked Native Americans for a trigonometry lesson involving a mnemonic using SOH CAH TOA in Riverside, CA is fired.

      There is a right way to teach mnemonic techniques and a wrong way. This one took the advice to be big and provocative went way overboard. The children are unlikely to forget the many lessons (particularly the social one) contained here.

      It's unfortunate that this could have potentially been a chance to bring indigenous memory methods into a classroom for a far better pedagogical and cultural outcome. Sad that the methods are so widely unknown that media missed a good teaching moment here.

      referenced video:

      https://www.youtube.com/watch?v=Bu4fulKVv2c

      A snippet at the end of the video has the teacher talking to rocks and a "rock god", but it's extremely unlikely that she was doing so using indigenous methods or for indigenous reasons.

      read: 7:00 AM

  33. Jan 2022
  34. notesfromasmallpress.substack.com notesfromasmallpress.substack.com
    1. If booksellers like to blame publishers for books not being available, publishers like to blame printers for being backed up. Who do printers blame? The paper mill, of course.

      The problem with capitalism is that in times of fecundity things can seem to magically work so incredibly well because so much of the system is hidden, yet when problems arise so much becomes much more obvious.

      Unseen during fecundity is the amount of waste and damage done to our environments and places we live. Unseen are the interconnections and the reliances we make on our environment and each other.

      There is certainly a longer essay hiding in this idea.

  35. Oct 2021
  36. Sep 2021
    1. Update API usage of the view helpers by changing javascript_packs_with_chunks_tag and stylesheet_packs_with_chunks_tag to javascript_pack_tag and stylesheet_pack_tag. Ensure that your layouts and views will only have at most one call to javascript_pack_tag or stylesheet_pack_tag. You can now pass multiple bundles to these view helper methods.

      Good move. Rather than having 2 different methods, and requiring people to "go out of their way" to "opt in" to using chunks by using the longer-named javascript_packs_with_chunks_tag, they changed it to just use chunks by default, out of the box.

      Now they don't need 2 similar but separate methods that do nearly the same, which makes things simpler and easier to understand (no longer have to stop and ask oneself, which one should I use? what's the difference?).

      You can't get it "wrong" now because there's only one option.

      And by switching that method to use the shorter name, it makes it clearer that that is the usual/common/recommended way to go.

    2. Webpacker used to configure Webpack indirectly, which lead to a complicated secondary configuration process. This was done in order to provide default configurations for the most popular frameworks, but ended up creating more complexity than it cured. So now Webpacker delegates all configuration directly to Webpack's default configuration setup.

      more trouble than it's worth

      • creating more complexity than it cured
  37. Aug 2021
  38. Jun 2021
  39. May 2021
  40. Apr 2021
    1. What you want is not to detect if stdin is a pipe, but if stdin/stdout is a terminal.

      The OP wasn't wrong in exactly the way this comment implies: he didn't just ask how to detect whether stdin is a pipe. The OP actaully asked how to detect whether it is a terminal or a pipe. The only mistake he made, then, was in assuming those were the only two possible alternatives, when in fact there is (apparently) a 3rd one: that stdin is redirected from a file (not sure why the OS would need to treat that any differently from a pipe/stream but apparently it does).

      This omission is answered/corrected more clearly here:

      stdin can be a pipe or redirected from a file. Better to check if it is interactive than to check if it is not.

  41. Mar 2021
    1. My preference here is biased by the fact that I spend everyday at work building web components, so Svelte's approach feels very familiar to slots in web components.

      first sighting: That <template>/<slot> is part of HTML standard and the reason Svelte uses similar/same syntax is probably because it was trying to make it match / based on that syntax (as they did with other areas of the syntax, some of it even JS/JSX-like, but more leaning towards HTML-like) so that it's familiar and consistent across platforms.

  42. Feb 2021
    1. The activity gem is an extraction from Trailblazer 2.0, where we only had operations. Operations expose a linear flow which goes into one direction, only. While this was a massive improvement over messily nested code, we soon decided it’s cool being able to model non-linear flows. This is why activities are the major concept since Trailblazer 2.1.
    1. While Trailblazer offers you abstraction layers for all aspects of Ruby On Rails, it does not missionize you. Wherever you want, you may fall back to the "Rails Way" with fat models, monolithic controllers, global helpers, etc. This is not a bad thing, but allows you to step-wise introduce Trailblazer's encapsulation in your app without having to rewrite it.
    1. Yes, Trailblazer is adding new abstractions and concepts and they are different to the 90s-Ruby, but now, at the latest, it becomes obvious how this improves the developing process. We’re no longer talking in two-dimensional method stack traces or byebug hoops, the language and conception is changing to the actual higher level code flow, to activities sitting in activities structured into smaller step units.
    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.

    1. To give a little more context, structures like this often come up in my work when dealing with NoSQL datastores, especially ones that rely heavily on JSON, like Firebase, where a records unique ID isn't part of the record itself, just a key that points to it. I think most Ruby/Rails projects tend towards use cases where these sort of datastores aren't appropriate/necessary, so it makes sense that this wouldn't come up as quickly as other structures.
    1. As of today, you can Wishlist OpenTTD on SteamE. Historically, OpenTTD always had a single home from where we distributed the game. We used to be hosted on SourceForge (you know you are old, if you remember that being a thing :D), and slowly moved towards our own self-created distribution methods. These days, we mostly distribute our game via our website. But times are changing, and so is our hair. Over the last few months, we have silently been working to become a bit more visible in the world. Don’t worry, not for reasons you might think: OpenTTD has as many active users as it had in 2007. But more because we no longer think it is the right approach to only distribute via our own website. This became painfully apparent when we noticed other people post OpenTTD on some stores. They are not always updated with new releases, sometimes even slacking behind a few years. And maybe more important to us: we can not guarantee that the uploaded version is unmodified and is the version as we intended. So, instead of fighting it, why not turn around and join them! Why not release our own, verified, builds on those stores! And this is exactly what we have been working on lately. And when I say “we”, a bit ironic to me, I mean the two developers that are around longest (myself and orudge) ;) A while back orudge added OpenTTD to the Microsoft Store. And today, I am happy to announce we will be on SteamE too! Well, we are on Steam, but we haven’t released anything there yet (sorry that I got your hopes up, just to squash them right after :( ). This is partially because of how Steam works, but also because we know we can bring a better experience for Steam with our upcoming release. That brings me to the most exciting news: if everything goes as planned, we will release OpenTTD 1.11 on Steam on the first of April, 2021! And that is not even an April fools’ joke! You can already Wishlist OpenTTD today .. and till we release on Steam, you can find our game via our website ;)
    1. As of today, you can Wishlist OpenTTD on SteamE. Historically, OpenTTD always had a single home from where we distributed the game. We used to be hosted on SourceForge (you know you are old, if you remember that being a thing :D), and slowly moved towards our own self-created distribution methods. These days, we mostly distribute our game via our website. But times are changing, and so is our hair. Over the last few months, we have silently been working to become a bit more visible in the world. Don’t worry, not for reasons you might think: OpenTTD has as many active users as it had in 2007. But more because we no longer think it is the right approach to only distribute via our own website.
  43. Jan 2021
  44. Dec 2020
  45. Nov 2020
    1. If your Svelte components contain <style> tags, by default the compiler will add JavaScript that injects those styles into the page when the component is rendered. That's not ideal, because it adds weight to your JavaScript, prevents styles from being fetched in parallel with your code, and can even cause CSP violations. A better option is to extract the CSS into a separate file. Using the emitCss option as shown below would cause a virtual CSS file to be emitted for each Svelte component. The resulting file is then imported by the component, thus following the standard Webpack compilation flow.
  46. Oct 2020
    1. it also allows for more divergence in how people write there code and where they put their logic, making different svelte codebases potentially even more different due to fewer constraints. This last point is actually something I really value, I read a lot of Svelte code by a lot of different people and broadly speaking things look the same and are in the same places.
    1. Note how we have to duplicate the code between these two lifecycle methods in class. This is because in many cases we want to perform the same side effect regardless of whether the component just mounted, or if it has been updated. Conceptually, we want it to happen after every render — but React class components don’t have a method like this. We could extract a separate method but we would still have to call it in two places.
  47. Sep 2020
    1. Basically, the idea is that a train tried to start with the caboose brakes stuck on. After releasing the caboose, the train still could not start. The problem was that when the train attempted to start with the caboose brake on, it stretched all the inter-car couplings so that the whole train was just like one big car. At this point, the friction from the engine train wheels was not enough to get the whole thing going. Instead, you need to just get one car moving at a time - this is why there is space between the couplings.
    1. Svelte will not offer a generic way to support style customizing via contextual class overrides (as we'd do it in plain HTML). Instead we'll invent something new that is entirely different. If a child component is provided and does not anticipate some contextual usage scenario (style wise) you'd need to copy it or hack around that via :global hacks.
    2. Explicit interfaces are preferable, even if it places greater demand on library authors to design both their components and their style interfaces with these things in mind.
    1. The point of the feature is to not rely on the third-party author of the child component to add a prop for every action under the sun. Rather, they could just mark a recipient for actions on the component (assuming there is a viable target element), and then consumers of the library could extend the component using whatever actions they desire.
  48. Aug 2020
  49. Jun 2020
  50. Apr 2020
  51. Mar 2020
    1. Q. Why does Rubinius not support frozen and tainted? A. Rubinius has better features; frozen and tainted are considered harmful. To elaborate... Both frozen and tainted depend on strewing checks throughout the source code. As a classic weak-link system, only one of those checks needs to be misplaced for the guarantees offered by either to fail. Since the number of checks is high, and as new code is written new checks need to be considered, the features inherently constitute unbounded complexity and unbounded risk.
  52. Feb 2020
  53. Dec 2019
  54. Oct 2019
    1. WHEN it comes to the state of the environment, it’s easy to get swept up in the doom and gloom of it all. Global warming, high pollution levels, climate change and waste disposal all dominate the headlines, painting a bleak picture of what’s to come. But just because it seems hopeless doesn’t mean it is.T roubled times call for ingenious solutions, and Australia is home to some of the brightest ecovators in the world, like Robert Pascoe, Managing Director of environmental solutions company Closed Loop.Through its Simply Cups initiative, Closed Loop is tackling Australia’s overwhelming waste problem by teaming up with 7-Eleven to save 70 million coffee cups from landfill this year — equivalent to the number they sell each year. While the most sustainable option is forgoing a disposable cup for a reusable one, some circumstances are beyond your control. Like your inability to remember anything before you’ve had your morning coffee. Which is a bit of a catch 22, isn’t it? That’s why 7-Eleven are installing dedicated coffee cup recycling bins in over 200 of their stores nationally, as well as funding 50 other large-scale locations including offices, universities and construction sites as part of the initiative. Coffee cups are one of the largest contributors to litter waste in Australia, with an estimated one billion ending up in landfill each year because they are not recycled.Yep, unfortunately you read that right: one billion cups.Coffee cups are one of the largest contributors to litter waste in Australia, with an estimated one billion ending up in landfill each year because they are not recycled.“T here’s a lot of misinformation out there,” Mr Pascoe said. “The consumers aren’t at fault because ultimately they don’t know what can be recycled and what can’t. I think if we can get that information out there, then people will demand products that are made from recycled materials.”For the majority of us, learning that our disposable coffee cups fall into the category of what can’t be recycled is both confusing and devastating. But, as Mr Pascoe says: “You can’t unknow something once you know it.”“Part of the problem is they didn’t know they weren’t being recycled. A lot of people said, ‘oh no, I put my coffee cup into the recycling to be recycled’, but of course, they’re not,” he continued.A nd why is that, exactly? It’s because most paper coffee cups are lined with a waterproof plastic that makes them hard to recycle — but not impossible. And that’s where Simply Cups comes in. “We’ve come up with a system that can actually recycle these cups if we keep them separate. We’ve got technology available now to do it, but we have to have coffee cups kept as a separate stream. Or anything that has the plastic lining of milk cartons or juice boxes,” Mr Pascoe said. The technology he’s referring to is “kind of like an organic solvent” that works to separate compound materials. Invented by Dennis Collins in Ballarat, the technology was initially designed to separate the PVC material from the hessian used in truck liners and advertising banners.“Dennis called us and said, ‘I’ve got a solution for your coffee cups’,” Mr Pascoe said. “So now we’re building a plant that can process around 150 million coffee cups per year, which is about 1.5 thousand tonnes. That will only be about 10 per cent of disposable coffee cups alone, so we’re going to need quite a few of these plants eventually. We have the solution, but we really need the coffee cups. “That’s why we started the Simply Cups program.”And that’s where coffee addicts come in. Once they drop their coffee cups into a designated recycling bin, they will then be taken to a processing plant using this new technology. The inner plastic lining of the cups will be removed and then recycled into things like plastic outdoor furniture, safety equipment and food trays.A nother eco-minded initiative helping solve Australia’s waste problem is the anti food-waste website, Yume. The website fights food waste — which is a huge problem in Australia — by allowing consumers to buy surplus and unsold food from restaurants and cafes at half the price. The ‘wholesale marketplace for surplus food that saves you money while saving the planet’ shares the same idea as ‘YWaste’, an app allowing retailers to sell food that would otherwise be thrown away.Over its 40-year history, Patagonia has donated about $114 million to grassroots environmental organisations. Over its 40-year history, Patagonia has donated about $114 million to grassroots environmental organisations. Their advertising has begged consumers not to buy things they don’t need (even their own products) and they’ve implemented a program that repairs their products for free rather than replace them. Their commitment to the environment is reflected in the materials of their products too; wetsuits are made of natural rubber and raincoats are made from recycled plastic bottles. This year, the company launched Patagonia Action Works, a digital platform that aims that aims to connect people with environmental nonprofits, helping them get involved through events, petitions, and volunteering.H &M, too, are doing their bit to close the loop on fashion waste with their global campaign encouraging customers to recycle their clothes. They launched their garment collecting initiative in 2013, asking customers to drop off any unwanted items from their closets. Depending on the condition of the clothing, the items are either distributed to second-hand stores for resale, or recycled into other items like yarn, rags, and insulation materials.And just look at Elon Musk. He’s raking in bajillions of dollars every minute almost exclusively thanks to Tesla and SolarCity, which have disrupted an entire industry. While some snigger at his grand ideas — let’s colonise Mars! — the accomplishments of how he has changed the way we shop for cars are hard to deny.A fter a complicated relationship with French beauty giant L’Oreal, The Body Shop is now in the hands of ethical Brazilian beauty brand Natura, promising to return to its pioneering ethical business.“All of us share the aim of doing business as a transformational force for good and a force for change for society and for the environment. We couldn’t think of a better union to nurture our brand’s commitment to naturality and sustainability,” said the Body Shop’s Communications Manager, Jessica Styles. “In 2016, The Body Shop launched its new sustainability plan, Enrich Not Exploit, supporting the brand’s vision to be the most ethical and sustainable global business in the world.”“All of us share the aim of doing business as a transformational force for good and a force for change for society and for the environment. We couldn’t think of a better union to nurture our brand’s commitment to naturality and sustainability,”Jessica Styles, Body Shop’s Communications Manager The plan set fourteen targets to help The Body Shop become a "truly sustainable business", including powering all its stores with 100 per cent renewable energy, overhauling product packaging by slashing the use of fossil fuel-based wrapping and designing new sustainable innovations. This year there’s a special focus on protecting Red Pandas in Nepal, a species currently on the endangered list.“Now more than ever, companies have the platforms and frameworks to not only voice doing good for the planet and people but to also act on it. The more we see big brands doing their bit, the more it becomes entrenched as something that not only employees but customers should be thinking about,” Styles said. “It’s the big corporations of the world that can help foster and influence this through their own businesses.” Skin care brand Youth to The People has made a conscience decision to use 100 per cent recyclable packaging. Co-founder Joe Cloyes says the decision reflects the brand’s philosophies.“We believe in creating as little waste as possible, we believe in cruelty-free products, and we believe in sourcing the best ingredients for your health and your skin. It's just that simple,” he said. “Modern consumers care about their environment just as much as they care about their healthy skin, and they're very much connected. We have found it's very important to people.”FIND OUT how many cups of coffee you could be recycling EVEry yearHow many cups of coffee do you drink every day?How many days per week do you drink coffee?How many weeks per year do you drink coffee?Calculatecups of coffeecould be recycled These are but a few eco-minded initiatives that offer Australians the chance to do their part in securing a cleaner future for generations to come. For every company that spills millions of gallons of oil into our oceans, there are plenty more companies operating under a socially responsible ethos. They recognise enterprise and environmental responsibility can in fact go hand-in-hand.“I think every organisation should have a sustainability policy,” Mr Pascoe said. “There are plenty of organisations around that can have a positive impact on the environment. We’re talking about the effect they have on the environment, the way they consume energy, and the way they manage their waste. In my world, there’s no such thing as waste.” Over one billion cups end up in landfill each year because they are not recycled. That’s why 7-Eleven has joined forces with Simply Cups to establish cup recycling in Australia. Save your cups by placing them in a Simply Cups bin at any participating 7-Eleven #cuprescue. Story by Erin Bromhead | news.com.au

      https://www.news.com.au/features/v3/nlmd-2182/creative-ways-corporations-a-doing-something-for-the-planet/#annotations:S7nCNvm4EemF3AN0fEutFg

  55. Aug 2019
  56. Nov 2018
  57. Sep 2018