---
title: "Tung Pham (@signal11) | Hashnode"
description: "Random things. Read the latest articles by Tung Pham on Hashnode."
url: "https://hashnode.com/@signal11"
---

@signal11

# Tung Pham

@signal11 · Joined May 2021

Random things

### [Who calls my func?](https://signal11.hashnode.dev/who-calls-my-func?utm_source=hashnode&utm_medium=feed)

Source: https://stackoverflow.com/questions/2654113/how-to-get-the-callers-method-name-in-the-called-method import inspect def f1(): f2() def f2(): curframe = inspect.currentframe() calframe = inspect.getouterframes(curframe, 2) print('...

1 min read · [signal11.hashnode.dev](https://signal11.hashnode.dev/who-calls-my-func?utm_source=hashnode&utm_medium=feed)

[Dec 12, 2023](https://hashnode.com/posts/who-calls-my-func/6577bb856d683ba1e1a9626e)

### [2D slice in Go](https://signal11.hashnode.dev/2d-slice-in-go?utm_source=hashnode&utm_medium=feed)

Need to know height and width in advance

1 min read · [signal11.hashnode.dev](https://signal11.hashnode.dev/2d-slice-in-go?utm_source=hashnode&utm_medium=feed)

[Aug 2, 2023](https://hashnode.com/posts/2d-slice-in-go/64c9fca99b1692bd83b9e988)

### [Python \`getter\` & \`setter\` examples](https://signal11.hashnode.dev/python-getter-setter-examples?utm_source=hashnode&utm_medium=feed)

OOP in Python

1 min read · [signal11.hashnode.dev](https://signal11.hashnode.dev/python-getter-setter-examples?utm_source=hashnode&utm_medium=feed)

[Jun 27, 2023](https://hashnode.com/posts/python-getter-setter-examples/649a463aede8111f1fc45be0)

### [Convert Python \`OrderedDict\` to standard \`dict\`](https://signal11.hashnode.dev/convert-python-ordereddict-to-standard-dict?utm_source=hashnode&utm_medium=feed)

Easy peasy import json to\_dict = json.dumps(json.load(ordered\_dict))

1 min read · [signal11.hashnode.dev](https://signal11.hashnode.dev/convert-python-ordereddict-to-standard-dict?utm_source=hashnode&utm_medium=feed)

[May 18, 2022](https://hashnode.com/posts/convert-python-ordereddict-to-standard-dict/62843b167b02ca162edaabe5)

### [Diff 2 dicts](https://signal11.hashnode.dev/diff-2-dicts?utm_source=hashnode&utm_medium=feed)

My daily Python snippets

1 min read · [signal11.hashnode.dev](https://signal11.hashnode.dev/diff-2-dicts?utm_source=hashnode&utm_medium=feed)

[May 6, 2022](https://hashnode.com/posts/diff-2-dicts/62747a400d853a4264053ba1)
