Samuel Chan

Results 9 issues of Samuel Chan

In **Chapter 4.3 Turning Interactive Work into a Script**, the author suggests using `history 6` to retrieve / show the last 6 commands in our history: ``` For example, we...

discussion

Taking code from #251, this is what @ Schwankenson suggested. The key is in the `instance.to(order)` implementation. ``` from rest_framework import serializers class OrderedModelSerializer(serializers.ModelSerializer): def update(self, instance, validated_data): ... def...

First of all, thank you for the work you've done on this! For a task with a custom UDA such as project duration (`duration`) in man-days, or number of resources...

In some parts of the book, such as [3.2 Nonlinear axes](https://clauswilke.com/dataviz/coordinate-systems-axes.html) what used to be rendered LaTeX are now `Math Processing Error`. Tracing it to the Rmd file, it would...

Very simple fix: missing a comma in code sample (function(x=1 y=2) -> function(x=1, y=2))

Running `python main_no_modal.py` with prompt including characters like `;` and `:` would throw the following error, seems to be related to one of the parsing (`.lstrip(" \t")`). Edit: After some...

bug

Removing the parameter as it only adds confusion to students. The port 5000 is the listening port in the video examples.

Currently, when trying to run the following code: ``` go run *.go \ --token paste-your-token-here \ --preset worldwide \ --amount 10 \ --consider 10 \ --output csv \ --file ./output.csv...

To reproduce: ``` from emailnetwork.summary import DomainSummary from emailnetwork.extract import MBoxReader reader = MBoxReader('your-mbox-path') summary.get_summary() ``` You get a `Counter()` call. I suspect your intention was to have `get_summary()` be...

enhancement