154 Matching Annotations
  1. Dec 2024
  2. Oct 2024
  3. Feb 2024
    1. import java.swing.*;

      This should read javax.swing.*; (maybe) I have no clue why IntelliJ never seems to be able to import anything correctly from this book. (not the book's fault I feel :D)

  4. Dec 2023
    1. According to Fleps and the Six-Point Safety Plan for Norfolk Southern, wayside detectors will now be no farther than 15 feet apart. Before East Palestine, the average distance for wayside detectors was 20 to 25 feet apart, in line with the industry recommendation.

      The detectors will be 15 miles apart, up from the 20-25 miles apart they are now. Not feet.

      That'd be crazy to have a detector every 15 feet. 🤪

  5. Nov 2023
  6. May 2023
  7. Apr 2023
  8. Feb 2023
    1. verify the server name is the instance of SQL Server containing the SSISDB catalog, and the path shows SSIS Tutorial Deployment

      My path said /SSISDB/SSIS Tutorial and there didn't seem to be a way to change it - that field was visible but disabled (grayed out).

      After pressing the Connect button to the right of Authentication, the Path changed to match the documentation and became editable.

    2. On the Select Packages page, you should see all six packages from the SSIS Tutorial. In the Packages list, select Lesson 6.dtsx, then select Next.

      At this step I encountered the following error: "One or more selected packages are not ready. Review the Status column for more information."

      The Status column said: "Microsoft.SqlServer.Dts.Pipeline.ComponentVersionMismatchException: The version of Get Error Description is not compatible with this version of the DataFlow. [[The version or pipeline version or both for the specified component is higher than the current version. This package was probably created on a new version of DTS or the component than is installed on the current PC.]] at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostCheckAndPerformUpgrade(IDTSManagedComponentWrapper100 wrapper, Int32 lPipelineVersion)"

      I was able to resolve this by changing the value Configuration Properties > General > TargetServerVersion from SQL Server 2022 to SQL Server 2019.

      Thanks to a hint found here: https://johnkilleenblog.wordpress.com/2019/10/08/ssis-script-component-mismatch-error/

    1. On the Select Properties to Export page, in the Objects pane, expand Variables, expand varFolderName, expand Properties and then select Value.

      There doesn't seem to be a way to toggle any of the checkboxes in this step with VS 2022.

      When I navigate with the arrow buttons, checkboxes appear, but pressing space or enter, or clicking on them has no effect.

  9. Jan 2023
  10. Dec 2022
    1. On the Details tab, in the Events column, select the PipelineExecutionPlan and PipelineExecutionTrees events.

      No matter where I click in the package tree, ell options in the Details pane are "dimmed" as the note describes.

      There is an alert at the bottom of the window that says: "⚠️ To configure unique logging options for this container, enable logging for it in the tree view."

      EDIT: We discovered that selecting the checkbox and hitting space un-mutes the field, then the checkbox can be toggled with the space bar.

      With it toggled OFF, you can then go to the Details tab and toggle the settings as required, then go back to the Providers and Logs tab and toggle it ON.

    2. In the Containers pane, expand all nodes of the package container hierarchy, and then clear all check boxes, including the Extract Sample Currency Data check box. Now select the check box for Extract Sample Currency Data to get only the events for this node.

      When I completed this step, the nodes of the package container hierarchy did not have checkboxes. Also, the Extract Sample Currency Data checkbox did not respond to my clicks.

      There was a message to clear the parent, but since the parent had no checkbox, I was unable to do so.

      Drilling down resulted in checkboxes that "appear dimmed" as in the note below.

      This appears to be a bug or at least a lapse in the documentation.

      EDIT: We found a work-around. You can highlight the checkbox and tick it with the spacebar - but you can't select it with the mouse.

      On the Lesson 3 root node, under Select the logs to use for the container: I was able to select the checkbox.

      When I navigate deeper though, this option is unchecked and muted or grayed out with a message at the bottom reading:

      "⚠️ To configure unique logging options for this container, enable logging for it in the tree view."

    1. The entire first row of parking has been repaved

      It wasn't actually re-paved, it was just painted over with black paint, and new striping was added. You can still clearly see the old striping. Re-paving is a process that involves removing the old pavement and replacing it with new asphalt - a process that would remove the old pavement stripes.

  11. Nov 2022
  12. Oct 2022
  13. Aug 2022
  14. Jul 2022
  15. Jun 2022

    Tags

    Annotators

    1. Since one cannot prove that it is inaccurate, you cannot discount its possibility.

      False. Per Hitchens's Razor, "what can be asserted without evidence can also be dismissed without evidence."

      Put simply, the responsibility for proving a claim rests with those making the claim. One may safely discount the possibility of anything that cannot be proven.

      See also "Russel's Teapot".

  16. May 2022
  17. Apr 2022
  18. Mar 2022
  19. Feb 2022
    1. Russian armored vehicles are loaded onto railway platforms

      They are loaded onto railway flatcars. The platform is the area in the photo marked by white lines - where passengers board trains.

      Journalists know very little about the world around them yet present themselves as authoritative.

  20. Jan 2022
  21. Nov 2021
  22. Sep 2021
  23. Jun 2021
  24. Mar 2021
  25. Feb 2021
  26. Sep 2020
  27. Feb 2020
  28. Jan 2020
    1. The YYY gate is similar to the XXX gate, but instead of 111s on the off-diagonal, it has iii and −i-i−i, so it takes ∣0⟩|0\rangle∣0⟩ to i∣1⟩i|1\ranglei∣1⟩ and ∣1⟩|1\rangle∣1⟩ to −i∣0⟩-i|0\rangle−i∣0⟩:

      Question for the creators: https://i.imgur.com/9XUDZPH.png

      I thought the answer to this was "both" since 0 is obviously a real number.

      Can you help me understand where my misunderstanding is?

      Thanks so much for creating this tool. I've been having a blast learning!

      Tweet: https://twitter.com/technoplato/status/1221936419721138179?s=20

  29. Dec 2019
    1. .

      Further, I am grateful to the following people for telling me about errors and typos in the hardback edition: Nimrod Priell, David Marker, Giannis Kanellopoulos, Hiroki Takikawa, Jun Tsunematsu,Takuto Sakamoto, Shinya Obayashiand, Anna Ballarino, Arthur Spiriling, and the hypothesis user named arnaud.

  30. Aug 2019
    1. Figure 4.3: Schematic of the experimental design from Schultz et al. (2007). The field experiment involved visiting about 300 households in San Marcos, California five times over an eight-week period. On each visit, the researchers manually took a reading from the house’s power meter. On two of the visits, they placed doorhangers on each house providing some information about the household’s energy usage. The research question was how the content of these messages would impact energy use.

      In the figure, "3 week" should be "3 weeks"

    1. Figure 3.7: Demographics of respondents in W. Wang et al. (2015). Because respondents were recruited from XBox, they were more likely to be young and more likely to be male, relative to voters in the 2012 election. Adapted from W. Wang et al. (2015), figure 1.

      In the x-tick marks in the panel titled "State", Obama should be capitalized and Romney should be capitalized.

  31. Apr 2019
  32. Feb 2019
  33. Oct 2018
  34. Jul 2018
  35. Apr 2018
    1. 10–23)

      Equation 10-23 is incorrect:

      • The noise of the resistors does not sum, since the resistors are in parallel and load each other. It would be equal to a single 50 kΩ resistor producing 4.0 μV.
      • The 113.1 value is output noise. The resistor noise needs to be multiplied by the gain to get the output noise, too.
  36. Jun 2016
    1. To deal with this by using exceptions, we're going to take advantage of the catch function from System.IO.Error

      The catch function is deprecated and when I tried this with ghci 7.10.3 got an error that System.IO.Error does not export catch. The replacement is the catch function in Control.Exception

    2. The bytestring version of : is called cons It takes a byte and a bytestring and puts the byte at the beginning. It's lazy though, so it will make a new chunk even if the first chunk in the bytestring isn't full. That's why it's better to use the strict version of cons, cons' if you're going to be inserting a lot of bytes at the beginning of a bytestring.

      I initially did not see the difference in the output of B.cons vs B.cons' here, both output a plain string.

      I think this is because of the Show typeclass implementation for Data.ByteString.Lazy which is used by ghci when printing values.

      If on the other hand I use :force <expr> which fully evaluates <expr> and prints out the resulting structure then I do see the difference.