#### Semester Progress Report
#### PhD Programme
#### 2022-23
### Ritish Kumar
<!-- Put the link to this slide here so people can follow -->
slide: https://hackmd.io/@ritish/rJzomYcys
---
#### Does Weak emission line Quasar's belongs to an early phase of the Quasars?
---
## Outline
- Introduction
- What is AGN?
- Weak Line Quasar
- Possible Mechanism behind weak lines
- Sample Selection
- AGNfitter
- Tools Used to study the SED of WLQ and normal QSO
- Results and Conclusion
---
##### AGNs are distant, compact and highly luminous
- High redshift z
- Using line in spectrum $\lambda_{obs}-\lambda_{rest}=1+z$,
- Distance $d_{L}$ can be calculated using cosmology.
* Observable Flux on earth ($erg~s^{-1}cm^{-2}$) => $L(erg~s^{-2})=Flux\times 4 \pi d_{L}^{2}\sim10^{44}(erg s^{-2})$
* $L(erg~s^{-2})=10\times L_{galaxy}$.
---
{%youtube E8Nj7RwXf0s %}
---
### Usage flow
---
```graphviz
digraph {
compound=true
rankdir=RL
graph [ fontname="Source Sans Pro", fontsize=20 ];
node [ fontname="Source Sans Pro", fontsize=18];
edge [ fontname="Source Sans Pro", fontsize=12 ];
subgraph core {
c [label="Hackmd-it \ncore"] [shape=box]
}
c -> sync [ltail=session lhead=session]
subgraph cluster1 {
concentrate=true
a [label="Text source\nGithub, Gitlab, ..."] [shape=box]
b [label="HackMD Editor"] [shape=box]
sync [label="sync" shape=plaintext ]
b -> sync [dir="both"]
sync -> a [dir="both"]
label="An edit session"
}
}
```
---
### Architecture of extension
---

---
## Content script
- Bind with each page
- Manipulate DOM
- Add event listeners
- Isolated JavaScript environment
- It doesn't break things
---
# :fork_and_knife:
---
<style>
code.blue {
color: #337AB7 !important;
}
code.orange {
color: #F7A004 !important;
}
</style>
- <code class="orange">onMessage('event')</code>: Register event listener
- <code class="blue">sendMessage('event')</code>: Trigger event
---
# :bulb:
---
- Dead simple API
- Only cares about application logic
---
```typescript
import * as Channeru from 'channeru'
// setup channel in different page environment, once
const channel = Channeru.create()
```
---
```typescript
// in background script
const fakeLogin = async () => true
channel.answer('isLogin', async () => {
return await fakeLogin()
})
```
<br>
```typescript
// in inject script
const isLogin = await channel.callBackground('isLogin')
console.log(isLogin) //-> true
```
---
# :100: :muscle: :tada:
---
### Wrap up
- Cross envornment commnication
- A small library to solve messaging pain
- TypeScript Rocks :tada:
---
### Thank you! :sheep:
You can find me on
- GitHub
- Twitter
- or email me
{"metaMigratedAt":"2023-06-17T07:53:22.649Z","metaMigratedFrom":"YAML","title":"Talk slides template","breaks":true,"description":"View the slide with \"Slide Mode\".","contributors":"[{\"id\":\"9d12ee01-8631-4a2e-83a2-c270c3d81d63\",\"add\":3286,\"del\":407}]"}