52 Matching Annotations
  1. Feb 2024
    1. sjPlot::plot_grid(plot(ggpredict(glmPdace), add.data = TRUE, one_plot = FALSE))

      This line of code yielded error "Error in if (ci) { : the condition has length > 1"

  2. Dec 2023
    1. With specific keyword messages you can compute the Least Common Multiple and Greatest Common Divisor. A keyword message is composed of one or more colons “:” to insert one or more arguments:

      A source of confusion for beginners is why binary messages exist in the first place when they could be implemented instead as keyword messages taking one argument as #lcm: and #gcd:; you could in fact, imagine an alternative syntax with only unary and keyword messages, but it would be cumbersome to read and write. Binary messages improve legibility without introducing too much complexity for the implementors.

  3. Oct 2023
    1. Acknowledgement: Great thanks to Chris Aldrich who saw the Quote Investigator article about the saying “We shape our tools, and thereafter our tools shape us”. Aldrich notified QI of the germane quotation examined in this new article. Aldrich pointed to its presence in “Walden”. This led QI to create this article and to update the existing article.

      https://quoteinvestigator.com/2023/10/21/tools-of-tools/

      I'm responsible for a quote investigator article being rewritten! Huzzah!

      Cross reference my note: https://boffosocko.com/2023/05/22/men-have-become-the-tools-of-their-tools-henry-david-thoreau/

  4. Jan 2023
    1. We need to read the Signature header, split it into its parts (keyId, headers and signature), fetch the public key linked from keyId, create a comparison string from the plaintext headers we got in the same order as was given in the signature header, and then verify that string using the public key and the original signature.

      ```ruby require 'json' require 'http'

      post '/inbox' do signature_header = request.headers['Signature'].split(',').map do |pair| pair.split('=').map do |value| value.gsub(/\A"/, '').gsub(/"\z/, '') # "foo" -> foo end end.to_h

      key_id = signature_header['keyId'] headers = signature_header['headers'] signature = Base64.decode64(signature_header['signature'])

      actor = JSON.parse(HTTP.get(key_id).to_s) key = OpenSSL::PKey::RSA.new(actor['publicKey']['publicKeyPem'])

      comparison_string = headers.split(' ').map do |signed_header_name| if signed_header_name == '(request-target)' '(request-target): post /inbox' else "#{signed_header_name}: #{request.headers[signed_header_name.capitalize]}" end end

      if key.verify(OpenSSL::Digest::SHA256.new, signature, comparison_string) request.body.rewind INBOX << request.body.read [200, 'OK'] else [401, 'Request signature could not be verified'] end end ```

  5. Nov 2022
  6. Aug 2022
  7. Jul 2022
    1. A message chain occurs when a client requests another object, that object requests yet another one, and so on.

      A message chain

  8. May 2022
    1. Why is the title of the book “The medium is the massage” and not “The medium is the message”? Actually, the title was a mistake. When the book came back from the typesetter’s, it had on the cover “Massage” as it still does. The title was supposed to have read “The Medium is the Message” but the typesetter had made an error. When Marshall saw the typo he exclaimed, “Leave it alone! It’s great, and right on target!” Now there are four possible readings for the last word of the title, all of them accurate: “Message” and “Mess Age,” “Massage” and “Mass Age.”

      Quote from the Commonly Asked Questions (and Answers) on https://marshallmcluhan.com/common-questions/ with answers written by Dr. Eric McLuhan, Marshall McLuhan's eldest son.

  9. Apr 2022
  10. Dec 2021
    1. only about 1% of carbon atoms are C-13. These are the only ones picked up by this form of NMR. If you had a single molecule of ethanol, then the chances are only about 1 in 50 of there being one C-13 atom in it, and only about 1 in 10,000 of both being C-13. But you have got to remember that you will be working with a sample containing huge numbers of molecules. The instrument can pick up the magnetic effect of the C-13 nuclei in the carbon of the CH3 group and the carbon of the CH2 group even if they are in separate molecules. There's no need for them to be in the same one.

      the author believe that even though the percentage of C-13 is low, but its NMR signal can be captured.

  11. Nov 2021
  12. Aug 2021
  13. Jul 2021
  14. Jun 2021
  15. May 2021
    1. I miss the thriving blogging culture of circa 1999-2012. People blogged before and after those dates, but that was a period where blogging really had an outsized voice in shaping political and cultural conversation.

      Maybe it's the fact that there's more thoughts, ideas, and actual conversation in longer form media? Too much has moved to social media which really immediately implies small, bite-sized bits of information---a short note, a photo, a star or a heart.

  16. Mar 2021
  17. Feb 2021
  18. Nov 2020
    1. “Don’t let them do it!”wailed Peter at the ceiling, as if he was talking to the house, the nursery. “Don’t let Father kill everything.”He turned to his father. “Oh, I hate you!”“Insults won’t get you anywhere.”

      It is against the rules that technology affects people so much that children become more attached to it than their parents

  19. Oct 2020
  20. Sep 2020
  21. Aug 2020
  22. Jul 2020
    1. "Make no mistake, we are losing trees all around the U.S., and cities are struggling to keep up with restoring and establishing a healthy, thriving tree canopy," says Dan Lambe, president of the Arbor Day Foundation.

      the message for this is losing trees.

  23. Jun 2020
    1. MQTT

      Message Queuing Telemetry Transport MQTT protocol -> publish-subscribe network protocol that transports messages between devices, usually through TCP/IP

      Protocol defines 2 network entities:

      1. message broker -> receives messages from clients and then sends them to any clients subscribed to topic.
      2. a number of clients ->
      <table style="border: 1px solid black;"> <tr> <th style="border: 1px solid black;"> MQTT un-encrypted port </th> <th style="border: 1px solid black;"> MQTT encrypted port </th> </tr> <tr> <td style="border: 1px solid black;">**1883** </td> <td style="border: 1px solid black;">**8883** </td> </tr> </table>
  24. May 2020
  25. Apr 2020
  26. Mar 2020
    1. Are you telling your customers that you are willing to invest $0 in providing them with a proper translation? Are you prepared to signal that those markets or languages aren’t a priority for your organization? That is a dangerous message to send, primarily if you rely on your global audience for significant amounts of your total revenue. 
  27. Feb 2020
    1. Send one email per subject as multiple items in one email will cause delays (have to respond to everything) or misses (forgot one of the items).
  28. May 2019
  29. Apr 2018
    1. Writers choose modes of communication for every text they create.

      Even works of art can convey a message (i.e. soft/thin lines can convey a more peaceful image than hard/thick lines on an image)

  30. Apr 2015
  31. Feb 2014
    1. These, after coming to Phocaea, sent Lacrines, who was the most esteemed among them, to Sardis, to repeat there to Cyrus a proclamation of the Lacedaemonians,

      1.152 The Lacedaemonians send a herald to Cyrus to give an order/ultimatum that no Greek cities be harmed or destroyed in conquest. Cyrus responds to this missive with confusion (and some derision) as he has no idea who the Spartans are.