326 Matching Annotations
  1. Oct 2024
  2. Aug 2024
    1. the exporter makes different API calls

      the exporter makes different API calls

      so there is room for optimization

      I'd be happy to take a further look if I get faced with metrics supporting the high CPU usage

      yes! numbers. of course. let me put that "somewhere" on my todo list...

  3. Jun 2024
    1. The worry most people have with this suggestion is that children are going to get discouraged if they fail. But that is not necessarily the case, and I think teachers, parents, and other adults have a great opportunity to help prevent this. If we demonstrate that needing to put down a book for awhile is not a failure, then we can help children become more willing to experiment and to try things which are currently just out of reach.

      This is the concept of growth mindset; and we need to teach that to our children in any way possible. It has been shown in studies that growth mindset has a positive causal influence on academic and financial success (I cannot state sources, but I know I've come across this)

      Note to self: Research this later.

  4. May 2024
    1. the decisive dimensions of world-disclosing learning

      some dimensions are decisive - but which?

    Tags

    Annotators

  5. Apr 2024
    1. al principio todo sirve

      Este principio sugiere que no hay una estructura fija en la ciencia. No existen elementos universales que siempre contribuyan al éxito científico y que no tengan funciones similares en otros sistemas.

      La investigación exitosa no sigue un camino prefijado; a veces se apoya en una regla, otras veces en otra, y no siempre se conocen explícitamente los movimientos que la hacen avanzar.

      Todo enfoque o método puede ser válido en la búsqueda del conocimiento, y no hay una única ruta hacia la verdad

    1. A rather elaborate set of protocols and infrastructure (named STUN, TURN, TURNS, ICE)is needed to overcome these Internet limitations.

      And that is not enough if one's (or is it both?) behind a symmetric NAT.

  6. Jan 2024
    1. Its instance variables are the involved protagonists of the game

      Proposal

      Its internal collaborators are the main protagonists of the game.

    2. We want a meaningful class name.

      Suggest removal

    3. entry

      entrypoint

    4. After defining the classes involved in the game design, we now define several states of these classes:

      I'd rather stop using “states” and start talking about ”internal collaborators“. For example:

      After discerning the classes that our game needs, we can now assign them responsibilities and internal collaborators:

    1. These two overriding methods are more efficient as they avoid unnecessary checks and ifTrue/ifFalse branches. Polymorphism is often used to avoid unnecessary checks and code branches.

      The goal is not computing efficiency but flexibility, scalability, simplicity, readability; that is, the goal is human efficiency.

  7. Dec 2023
    1. Link to or mention the Cuis Smalltalk terse guide

    2. There are two kinds of message cascades.

      For some reason, before reading this, I misunderstood the “cascade” as a metaphor for composition, were the water fallen from a first cascade might flow as input to a second cascade; but now I see this is clearly wrong and the cascade means exactly the contrary, since the punctuation :: and ; breaks that continuity. It means a jump in the regular flow of evaluation, as a cascade means a jump.

      The double colon syntax is specific to Cuis; at least it is not valid syntax in Squeak.

    3. Include a note about specific Cuis idioms, explain why they exist, and link to discussion and documentation: * backticks for compound literals * double colon as an alternative to parentheses * #[aFloat] for Float64Array * #[anInteger] for ByteArray

      See the thread Language Constructs initiated by Erik Stel in the Cuis-dev mailing list in 2020-05; especially the answers by Juan Vuletich.

      Backtick compound literals

      ... In some cases it can improve performance or reduce memory usage. But the deeper reason is to put all classes in equal footing with those privileged ones that are known by the Compiler.

      More here

    4. Backticks (`) can be used to create compound literals at compile time. All components of a compound literal must be known when the code is compiled.
    1. the class Transcript

      At this point, where classes have not yet been discussed, maybe it is best to rewrite:

      the object Transcript

    1. the policy

      the tradeoffs

    2.   Not to save the image is just best practice advice for you when your primary goal is to create new code. We already discussed the caveats of saving the image concerning code management (See The Image). But from time to time, you’ll find yourself in the position of an explorer when you open multiple code browsers and workplaces to figure something out. In this case, the state of the system, the open windows and code snippets, holds the value you care about, and saving the image is the right way to preserve the system’s state.27

      This should go in the previous section Daily Workflow.

      I submitted a PR

    1. If I give you something that you can play with and extend, even a piece of paper with a paragraph and I say it’s not written well, rewrite it, that’s easier than giving you nothing and say make something; you know, giving a blank sheet of paper and starting to write. So the lovely part that has proven true for professional programmers as well as kids is when you start with something, an object that does something, and then you put many objects like those together and have them interact, and then you extend and make them behave a little differently, you can take a very incremental approach to learning how to control a computer system. — Adele Goldberg
    1. (28) https://quoteinvestigator.com/2015/07/23/great-power/

      Do we really need to read a discussion on the origin of this sentence?

    2. Well, this looks familiar. I know what to do here.

      If this is a rethorical device, I'd prefer to replace it.

    1.   The String class has several method category names starting with fileman- for converting pathnames (system names for files and directories) into FileEntry and DirectoryEntry objects. String>>asFileEntry gives examples.

      Moved up to CharacterSequence. The categories are: fileman-converting, fileman-testing, and fileman-accessing.

    2. out of synch

      “synch” is an alternative spelling sanctioned by dictionaries. I wouldn't mind using this expression colloquially but in the context of a book perhaps I can find a better way to rewrite this. Not very important.

    1. This is another area where the actual mechanics are complex, but the basic ideas are simple.

      This is an excellent opportunity to link to an official video showing how to use the debugger.

    1. We think of Morphs and “data objects” as able to present themselves to be inspected, but Smalltalk’s runtime state is also presentable.

      The mention of Morphs is pertinent as an example because they were discussed recently and moreover, because they are blatantly visible and reactive. The mention of “‘data objects’” between double quotes, on the other hand, doesn't bring much to the table and is potentially confusing.

      Proposed alternative

      As Morphs and objects in general, are able to present themselves to be inspected, so is Smalltalk’s runtime state also presentable.

    1. self runningWorld doOneCycleNow.

      Again, explain why do we have to send #doOneCycleNow once more.

      As we changed several visual parts, we request one update cycle of the environment

      Is not enough.

    2. self runningWorld doOneCycleNow.

      This is necessary for the changes to actually show. I'd add a footnote explaining why it is necessary.

    3.   In addition to adding a package preload requirement, you can also select a requirement and delete or update it using the buttons at the lower right. Sometimes a package changes which your code depends on and you have to change your code to accord. When this happens, to want to be sure to require the newer, changed version. Selecting a requirement and pressing update will update the requirement to use the latest loaded package version.

      This should go in the previous section The Package.

      I submitted a PR.

    4. list := UISupervisor ui submorphs reject: [:aMorph | aMorph is: #TaskbarMorph]. list do: [:each | each delete].

      Alternative implementation:

      Smalltalk userInterface := UISupervisor ui. taskbar := userInterface taskbar. userInterface submorphs do: [:morph | morph delete] without: taskbar.

    5. encoded for latin alphabet (ISO 8859-15)

      Why not UTF-8?

    1. Observe how each category – class or method one – of an extension is prefixed with a *.

      Change

      Alternative 1

      Observe how each category —regardless of wether it applies to a class or to a method— of an extension is prefixed with a *.

      Alternative 2:

      Observe how class categories and method categories of an extension are prefixed with a *.

      I prefer the alternative 2.

    2. Now we are facing a problem. For the need of the TheBook package we extend the Integer class with a method printStringToc, however this method addition is part of the Cuis-Smalltalk core system and its associated default change set.

      Proposed change along these lines:

      Now we are facing a problem: we extended the Integer class with #printStringToc, however, because we didn't categorize it properly, this method addition is by default part of the Cuis-Smalltalk core system and its associated default change set instead of being part of TheBook

    3. Let’s say that in our clock morph we want to use color named as in the Color-Extra package. So to be able to load our Morphic-Learning package which makes use of this we need to select our new package and click on the add Requirement button at center, right.

      This is an example of adding a requirement to a package but it is difficult to understand

    4. version level

      proposed change to “version number”

    1. This is a drawback when using the image as your sole source code repository. The net result could be loosing your work.

      Then the problem is not keeping backups, and not the fact that we are working with an image.

    2. file system may be unstable

      The underlying file system? If so, why is this pertinent? Unless for example the image file gets corrupted, but if that is the case, say that instead.

    3. the environment may be in a lock down state

      What does this mean?

    1. Change is easy, except for the changed part. — Alan Kay

      Look for the source. I'm pretty sure I've heard it on more than one video recording with a slight difference:

      Change is easy, except for the “change” part.

    1. One of the advantages of this media extended plugin is that it can handle more than just YouTube videos. It can handle videos and also some audio notes as well. And I don't think I've tried it with anything else but really I just need YouTube videos.

      Video Title: Taking notes from YouTube videos in Obsidian

      Various ways and plugins to annotate or take notes on videos (e.g. YouTube) in Obsidian

      Audio notes? How?

    1. Basically,

      Again, why basically?

    2. Basically,

      Why basically?

    3. Modern integrated System On a Chip (SOC) hardware has many circuits which are active at the same time. So one kind of event is sensing something happening in the world. Class EventSensor handles keyboard key press and mouse hardware interrupts, translating between hardware signals and software event objects.

      Confusing paragraph. How does the first sentence relate to the second? How does the second relate to the third?

    1. Footnotes (23) In a quartz clock, the hand for the seconds moves every second. (24) In an automatic clock, the hand for the seconds moves every fraction of a second. The smaller the fraction, the more premium the clock is. (25) A Japanese automatic clock will be just fine too.

      All these could be a single footnote.

    1. rect

      Why use “rect” as an abbreviation for rectangle? Is confusing since it has another meaning.

    1. (17 * 13 > 220) ifTrue: [ 'bigger' ] ifFalse: [ 'smaller' ] ⇒ 'bigger' The class Boolean offers a fascinating insight into how much of the Smalltalk language has been pushed into the class library. Boolean is the abstract superclass of the Singleton classes True and False19. Most of the behaviour of Boolean instances can be understood by considering the method ifTrue:ifFalse:, which takes two blocks as arguments: (4 factorial > 20) ifTrue: [ 'bigger' ] ifFalse: [ 'smaller' ] ⇒ 'bigger'

      I don't see a need for two examples of #ifTrue:ifFalse.

    1. divisors := [:x | (1 to: x) select: [:d | x \\ d = 0] ].

      Smalltalk divisors := [:m | (1 to: m) select: [:n | m isDivisibleBy: n]].

      Yet, there ought to be better algorithms to compute divisors.

    1. just sends the #allClasses method

      just sends the #allClasses message

    2. The evaluation of any expression preceded by a ^ (typed as ^) will cause the method to exit at that point, returning the value of that expression.

      Insert comment about full closures and what they enable compared to non-full closures.

    1. TODO: Build the html from the texinfo sources locally in order to find out why there is an extra empty bullet point at the begining of this itemized list, and verify if this still happens.

    1. Dictionary. A dictionary is a list of associations between a key and an object. Of course a key is an object, but it must respond to equality tests. Most of the time, symbols are used as keys.

      I don't think that -> was introduced before as a shorthand for associationts, tuples, cons pairs. For example: Smalltalk Association key: #red value: Color red can be rewritten as: ```Smalltalk

      red -> Color red

      ```

    2. Observe how pi is the first element of the set:

      Observe how pi which was added last, is shown first, because of how Set >> #add: is implemented.

    3.   How to add ’Orange’ after ’Apple’ in coll1?

      How to add ’Orange’ after ’Apple’ and before 2@1 in coll1?

      or alternatively:

      How to insert ’Orange’ between ’Apple’ and 2@1 in coll1?

    1. When searching perfect cubic roots, it is useful to know about some cubes:

      Consider removal or rephrasing. Maybe rewiting ”For example, when searching...”, etc.

    2. and block of code

      Missing article

      and a block of code

    3. Comparing objects deserves its own section.

      This looks more like a comment by the author.

    1. Therefore, to declare a method variable we just name it at the beginning of the script and surround it by pipe characters “|”.

      Why start with “Therefore”?

    1. to two or only one object depending computational history

      Unclear choice of words. Maybe: “to two different or to a single object”.

      “depending computational history” is also unclear.

    1. LargePositiveInteger LargeNegativeInteger

      Cuis and Squeak share this same design but other dialects make LargePositiveInteger and LargeNegativeInteger suclassify `LargeInteger.

      Ask Juan?

    2. These are the messages an object instance responds to.

      These are the messages an object knows how to respond to.

    1. Tip. In the workspace Ctrl-b (Browse) on the class name will open a Browser on the named class:

      Alternatives

      Using “that”

      Tip. In the workspace Ctrl-b (Browse) on the class name will open a Browser on that class:

      using “named”

      Tip. In the workspace Ctrl-b (Browse) on the class name will open a Browser on the class named so:

    2. Tip. In the workspace Ctrl-b (Browse) on the class name will open a Browser on the named class:

      Alternatives:

      1

      Tip. In the workspace Ctrl-b (Browse) on the class name will open a Browser on that class:

      Tip. In the workspace Ctrl-b (Browse) on the class name will open a Browser on the class named so:

    1. Like #shuffled, all collections answer to the message #sorted, which answers a sorted collection.

      The original reads kind of funny. Besides that, #shuffled is a message, not a collection. This paragraph could be rewritten as follows:

      Similarly as with #shuffled, all collections know how to answer #sorted with a sorted copy of themselves.

  8. Nov 2023
    1. In the Spacewar! code snippet below, the parentheses make it more clear that the addition happens first:

      In the Spacewar! code snippet below, the parentheses aren't necessary but clarify that the addition happens first:

    1.   Because you are not using the base image but one used to teach classes, you will likely see a much larger number.

      Proposed change:

      When you are not using the base image...

    2. ProtoObject

      TODO inquire about ProtoObject. See post by Christoph Tiede entitled [Bug & design issue] Messages understood or not understood by ProtoObject on squeak-dev

      However, the crucial question is: What special messages should an instance of ProtoObject understand? On the one hand, the idea of ProtoObjects is to work as total proxies with a maximum amount of forwarding potential, which implies a minimum number of methods. On the other hand, certain aspects such as accessing instvars or executing messages are really identity-related. Looking forward to your comments :-)

    1. https://superuser.com/questions/1683607/how-do-i-fix-audio-video-sync-in-ffmpeg#comment2856481_1683607

      you can also pass an integer fraction to atempo: atempo=23980/24000

      Check the frame rate for both, check the audio sampling frequency for both. Make sure they're the same or you'll have to include that in your calculations.

      in my experience, only the video framerate matters, the audio sampling frequency has no effect on audio/video sync

  9. Oct 2023
  10. Jul 2023
    1. The problem is that the OUnit library hasn’t been loaded into utop yet. It can be with the following directive

      What's the difference between load and require directives?

      "Load" uses .cmo files built from those of your directory. "Require" get them from libraries, is that right? But where from?

  11. Jun 2023
    1. click “Submit”

      This is always grayed out for me. I've tried different sizes and types. Eventually trying a 711x711 .webp, which I took from another avatar (#palnet). But nothing works. So I'll investigate further.

  12. May 2023
    1. (** [fact_aux n acc] is [n! * acc]. *)

      Shouldn't the doc string be:

      (* [fact_aux n acc] is [(n - 1)! * acc]. )

      ???

      Given definition is valid for acc = 1, but for recursive cases where acc = (n - m)! the definition above seems clearer for me.

    1. A perhaps surprising result from the Gilbert paper is that no implementation of an atomic register in an asynchronous network can be available at all times, and consistent only when no messages are lost. This result depends upon the asynchronous network property, the idea being that it is impossible to tell if a message has been dropped and therefore a node cannot wait indefinitely for a response while still maintaining availability, however if it responds too early it might be inconsistent.

      ?

    1. However the quorum is only used to detect the failure. In order to actually perform a failover, one of the Sentinels need to be elected leader for the failover and be authorized to proceed. This only happens with the vote of the majority of the Sentinel processes.

      why?

  13. Apr 2023
    1. Holder is lying to us: even though we instantiate a HolderFactory, the singleton is already initialized, and just sits there in a static field. The performance data for this idiom is unreliable.

      为什么不准确?

    1. solution to list max exn, above

      See my comments for the question above.

    2. list max exn string [★★] Write a function list_max_string

      Perhaps the heading referred to a description similar to the body of this exercise, but where an exception was raised when the list is empty. Relates to my reversed observation in the following exercise.

    3. but a function that says that January 100, 2013 comes after February 34, 2013 is also valid

      Miswriting here? Perhaps the meaning was the respective tuples, (2013, 1, 100) and (2013, 2, 34) are valid (considering arbitrary date-like triples, without validation). As is seems a contradiction to previous statement: "because any date in January comes before any date in February".

  14. Mar 2023
    1. Let q1..qn be that subsequence of patterns (without the exception keyword), and let r1..rm be the subsequence of non-exception patterns

      The indices ranges are swapped - it should be 1..m for try clause and 1..n for non exception patterns, using match clause.

  15. Feb 2023
    1. 在你开始之前,你应当了解一些 OVPs (在线视频提供商) 例如 YouTube 、Dailymotion 、Vimeo、Bilibili等,以及在线音频提供商例如 Soundcloud。这些公司提供方便、简单的方式来支持视频,所以你不必担心庞大的带宽消耗。OVPS 甚至提供现成的代码用于为你的 web 网页嵌入视频/音频。如果你使用这样的服务,你便可以避免在这篇文章中我们将讨论的一些难题。在下一篇文章中,我们将会再讨论这样的服务。
  16. Dec 2022
    1. Other authors found other angles on this question: the first book in Hannu Rajaniemi's Jean Le Flambeur trilogy (The Quantum Thief starts with the exact opposite—a thief sentenced to spend a subjective eternity in an escape-proof prison, as a punishment of sorts.
    2. Which leads me to ask: in a transhumanist society—go read Accelerando, or Glasshouse, or The Rapture of the Nerds
    1. ConvertSaveload

      It would be good to describe why ConvertSaveload is used here, as well as how to configure it in Cargo.toml.

      [dependencies] changes I needed in Cargo.toml:

      serde = { version = "1.0.148", features = ["derive"]} specs = { version = "0.18.0", features = ["serde"]}

      and imports:

      ``` use serde::{Deserialize, Serialize}; use specs::{ prelude::*, saveload::{ConvertSaveload, Marker}, Entity, };

      use specs_derive::{Component, ConvertSaveload}; use std::convert::Infallible;

      // NoError alias is deprecated in specs ... but specs_derive needs it pub type NoError = Infallible; ```

  17. Nov 2022
    1. Stockage d’eau chaude

      ajouter le stockage DHW

    2. !! les données sont pas ds l’ordre (selon ordre de tableau)

      Correction à apporter

    Tags

    Annotators

    1. context

      should introduce the context earlier, as well as the main function's BError type.

    2. You can find the glyphs available here.

      Link is dead, maybe use wikipedia instead.

    3. In our tick function

      Need to introduce the tick function and GameState here.

  18. Oct 2022
    1. how sophisticated modern systems of Internet censorship would become.

      I want to look into examples of this

    1. The app will take care of setting up the proxy address, you don’t have to do anything. 
    2. Share WiFi from Android to Windows 1. Open up your Windows PC, and connect to the WiFi hotspot that says – DIRECT-Android and enters the password that you saw on the app in step 2. If you open up the browser now, you won’t see get internet access even though you are connected to the network. To fix that, you need to set up a proxy IP.

      Tod

    3. And the app called NetShare no root tethering works smartly around this restriction. It first creates a workgroup, which takes the other devices on the same network. Do note, that as of now, the other device doesn’t have access to the internet.  Now, in order to share the internet, the app creates a VPN in Android, which you’ll have to
  19. Jul 2022
  20. Jun 2022
    1. The great irony of science is that as we’ve learned more about the world around us, we have forgotten the world within.

      Find example of this in fiction. GTP3 or whatever language model we use to develop the AI from westworld should be able to find all examples of this in all of fiction PLUS create a map/ontology of them

  21. May 2022
  22. Mar 2022
    1. subcortical structures, which also undergo significant development, were not available from the official ABCD data release
    2. longitudinal component of ABCD is essential to begin to delineate causal longitudinal pathways
  23. Feb 2022
    1. But.... what I found was a morass of academic philosophy, sketchy anthropology, even sketchier archeology and ancient history, all woven into some kind of a discourse around the details of Marx's particular view.

      If this is true, this is a serious problem. Maybe someone has already written a good review of the sources [[Kōjin Karatani]] has used?

    1. В Кройдоне стоит зайти в известный среди рэперов чикен-шоп "Morleys", рекомендую куриные крылышки и местный бургер.
  24. Jan 2022
    1. It has been speculated that the ‘placebo’ response in antidepressant trials has been increasing during recent years

      why is this?

    2. Montgomery-Asberg Depression Rating Scale

      look this up

    3. Hamilton Depression Rating

      note to self, research what this means

    1. I think it sounds kinda [[cute]] and slightly [[quirky]]. At least, that's the [[tone]] I wanted to achieve. At the very least that's how I want myself to be: kinda cute and slightly quirky.

      I like it, thank you for writing it!

      I'll fix the pulls :)

  25. Dec 2021
  26. Nov 2021
    1. raise issues if something in the instructions is unclear.

      File bug after having configured [[promensia]]:

      • twitter-archive cannot work alone (without twint).
    1. Merging distribute knowledge is an excersize on the abstractness of ontologies vs the practicality of schema-less graph knowledge.

      Maybe a bit vague (the article), maybe re-read it. But i really appreciate the boldness [[agora]] try to solve the same problem.

    1. You have to interpret your sources and then rely on your own thoughts henceforth to get the maximum benefit. Collecting information does not increase your knowledge.

      Useful tip about personal notes.

  27. Oct 2021
  28. Aug 2021
    1. All rights reserved © Wireframes Corporation 2021 About Company Services Testimonials Get in Touch

      Make these Footer Links Work

    2. Sign up to our newsletter

      Create a General List in Mautic and setup a Broadcast Email Segment. Create a Mautic form for the broadcast list and link form data in here

    3. I Teach Men To Expand Their Limits.

      What is your mission statement?

    4. You're amazing. Start Acting Like It. Live a limitless life of your own design. Step up and answer a few questions on the form to connect!

      What text should I put here?

    5. Live your best life. In a collaboration with Rooz Yavari of Boundless Embodiment, this weeklong event will get you over your fears, inner demons, and push you to step up to the next level of your potential.

      Put a button below this that Links to the Advanced Seminar Landing Page

    6. Come for the weekend in a city near you and work with David and his coaches to crush inner doubts and fears, releasing you to the next level.

      Put a button below to link to the schedule page

    7. David Sekera is a Veteran Dating coach with 4 years experience in the field.

      What test should I put here?

    8. Come get the limitless experience live.

      Put a button below this that leads to the Week Long Advanced Landing Page. See Github Issue #4

  29. Jul 2021
  30. arxiv.org arxiv.org
    1. a general science of systems and processes

      canonical link missing?

      https://en.wikipedia.org/wiki/Systems_science does not mention category theory. Perhaps this paper could be added as a reference and the page could be enriched?

    1. Es besteht eine Pflicht zur Mund-Nasen-Bedeckung in allen Schulräumen.
    2. Die jeweils gültigen Hygienevorschriften sind einzuhalten. Die Musterhygienepläne werden fortgeschrieben.
    3. Für die ersten Unterrichtswochen nach den Sommerferien gelten besondere Infektionsschutzmaßnahmen, um eine erneute Ausbreitung des Coronavirus zu verhindern.