Skip to content

Commit

Permalink
content: fix typos found by Grammarly extension
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Sep 14, 2020
1 parent 36e85bb commit 76dac83
Show file tree
Hide file tree
Showing 20 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion content/pages/ml/ml.mdx
Expand Up @@ -14,7 +14,7 @@ I'm currently working at [Cambridge University's Maxwell Centre](https://www.max

![Lee group](lee-group.jpg)

Specifically, we embarked on a project that aims to discover efficient (high figure of merit $zT > 1$), sustainable and scalable (lead-free and rare earth-free) bulk thermoelectrics using machine learning-guided experimentation. The key advance is going beyond 'big data' – both first principles calculations and experimental synthesis and characterization of bulk thermoelectrics are costly and low throughput – and instead move towards 'optimal data' by developing novel algorithms that optimize thermoelectric performance ($zT$) with minimal number of expensive calculations and experiments.
Specifically, we embarked on a project that aims to discover efficient (high figure of merit $zT > 1$), sustainable and scalable (lead-free and rare earth-free) bulk thermoelectrics using machine learning-guided experimentation. The key advance is going beyond 'big data' – both first-principles calculations and experimental synthesis and characterization of bulk thermoelectrics are costly and low throughput – and instead move towards 'optimal data' by developing novel algorithms that optimize thermoelectric performance ($zT$) using a minimum of expensive calculations and experiments.

To date there has been no statistically robust approach to simultaneously incorporate experimental and model error into machine learning models in a search space with high opportunity cost and high latency (i.e. large time between prediction and validation).

Expand Down
4 changes: 2 additions & 2 deletions content/pages/physics/atomic-physics/atomic-physics.mdx
Expand Up @@ -8,9 +8,9 @@ cover:
caption: Hydrogen wave functions
---

Atomic physics was a bachelor-level lecture jointly held by [Prof. Klaus Sengstock](https://www.physik.uni-hamburg.de/en/forschung/institute/ilp/forschung/sengstock/personen/sengstock) and [Prof. Dr. Henning Moritz](https://www.physik.uni-hamburg.de/en/sfb925/people/people-area-c/moritz-henning.html) at Hamburg University in the summer of 2014.
Atomic physics was an undergrad lecture jointly held by [Prof. Klaus Sengstock](https://physik.uni-hamburg.de/en/ilp/sengstock/personen/sengstock) and [Prof. Henning Moritz](https://physik.uni-hamburg.de/en/ilp/moritz/personen/moritz) at Hamburg University in the summer of 2014.

Below you can find solutions to all the exercises as well as the final exam. Be warned though, it's all in German.
Below are solutions to the exercise sheets as well as the final exam. Fair warning though, it's all in German.

## Exam preparation

Expand Down
Expand Up @@ -14,7 +14,7 @@ I wrote my bachelor's thesis under the supervision of [Prof. Alexander Lichtenst

In recent endeavors aiming to develop materials for next-generation processors, graphene-based van der Waals heterostructures have emerged as one of the most promising candidates (at least at the time, way back in 2014). It has been shown that interlayer binding in these two-dimensional crystal stacks is dominated by long-range molecular dispersion forces. This poses a challenge to popular (semi-)local approximations in the framework of density functional theory (DFT), requiring instead the use of highly expensive non-local approaches.

In this work, we search for a computationally efficient method of modelling van der Waals heterostructures by modifying DFT’s conventional self-consistency cycle with Grimme et al.’s semi-empirical dispersion correction scheme.
In this work, we search for a computationally efficient method of modeling van der Waals heterostructures by modifying DFT’s conventional self-consistency cycle with Grimme et al.’s semi-empirical dispersion correction scheme.

To test this marriage, we assess its performance on the simple model system of G-hBN, a heterostructure consisting of single-layer graphene (G) bound to hexagonal boron nitride (hBN). We investigate a range of properties including equilibrium configurations, total energies as a function of interlayer separation, Young’s moduli, and band gaps.

Expand Down
Expand Up @@ -7,7 +7,7 @@ cover:
url: https://en.wikipedia.org/wiki/Tests_of_general_relativity#/media/File:Spacetime_lattice_analogy.svg
---

I attended [Prof. Björn Schäfer](http://www.ita.uni-heidelberg.de/~spirou)'s lecture on General relativity at Heidelberg University in the summer of 2015.
I attended the lecture on General relativity by [Prof. Björn Schäfer](http://www.ita.uni-heidelberg.de/~spirou) at Heidelberg University in the summer of 2015.

Below are solutions to the exercises and the mock exam.

Expand Down Expand Up @@ -84,4 +84,4 @@ Below are solutions to the exercises and the mock exam.
Not super relevant but had to throw this in here because it looks so cool!

![Sun Earth Spacetime](sun-earth-spacetime.jpg)
_Artist's impression of bended spacetime due to the sun's and Earth's gravity. Source: [Australia Science Channel](https://australiascience.tv/why-the-general-theory-of-relativity-is-not-just-for-physicists)_
_Artist's impression of bent spacetime due to the sun's and Earth's gravity. Source: [Australia Science Channel](https://australiascience.tv/why-the-general-theory-of-relativity-is-not-just-for-physicists)_
2 changes: 1 addition & 1 deletion content/pages/physics/oral-exam/oral-exam.mdx
Expand Up @@ -10,7 +10,7 @@ cover:

In May 2016, I had my oral exam on string theory and advanced quantum field theory with [Prof. Timo Weigand](https://www.thphys.uni-heidelberg.de/~weigand).

Below are four transcripts of past oral exams on similar topics that I used to prepare for my own. I also uploaded a transcript of my own exam with Timo and summaries of his lecture notes on string theory and advanced QFT that I wrote in order to help me memorize it.
Below are four transcripts of past oral exams on similar topics that I used to prepare for my own. I also uploaded a transcript of my exam with Timo and summaries of his lecture notes on string theory and advanced QFT that I wrote to help me memorize them.

## Transcript and summaries

Expand Down
2 changes: 1 addition & 1 deletion content/pages/physics/physics.mdx
Expand Up @@ -13,7 +13,7 @@ This is a compilation of notes and solutions to problem sheets for some of the p

During my studies, I often read the solutions to exercises uploaded by other physics students around the world. They usually opened up a new perspective or provided a way forward when I got stuck on a problem. In the hopes that I might provide similar help to others, I’m uploading some of the solutions I typed up over the years.

If you find an error or have a question, feel free drop me a line at <janosh.riebesell@gmail.com>.
If you find an error or have a question, feel free to drop me a line at <janosh.riebesell@gmail.com>.

<Grid minWidth="8em" align="center">

Expand Down
Expand Up @@ -8,7 +8,7 @@ cover:
caption: Bose-Einstein condensate
---

I had the pleasure of attending [Prof. Manfred Salmhofer](https://www.thphys.uni-heidelberg.de/~salmhofer)'s lecture on statistical physics at Heidelberg University in the fall of 2016.
I had the pleasure of attending a lecture on statistical physics by [Prof. Manfred Salmhofer](https://www.thphys.uni-heidelberg.de/~salmhofer) at Heidelberg University in the fall of 2016.

Below you can find solutions to all the exercises as well as the final exam.

Expand Down
2 changes: 1 addition & 1 deletion content/pages/web/projects/afara/afara.md
Expand Up @@ -13,4 +13,4 @@ tech:
- React
---

Homepage for German non-profit Afara which supports education of children in Africa. Built using Gatsby, styled-components and Contentful. The site is open [source](https://github.com/janosh/afara).
Homepage for German non-profit Afara which supports the education of children in Africa. Built using Gatsby, styled-components and Contentful. The site is open [source](https://github.com/janosh/afara).
Expand Up @@ -16,7 +16,7 @@ tech:

A [Gatsby](https://gatsbyjs.org) source plugin that pulls metadata for scientific publications from [Google Scholar](https://scholar.google.com).

[![gatsby-source-google-scholar on gatsbyjs.org](gatsby-plugin-page.png)](https://gatsbyjs.org/packages/gatsby-source-google-scholar)
[![gatsby-source-google-scholar](gatsby-plugin-page.png)](https://gatsbyjs.org/packages/gatsby-source-google-scholar)

Available on [NPM](https://npmjs.com/package/gatsby-source-google-scholar). Install via

Expand Down
2 changes: 1 addition & 1 deletion content/pages/web/projects/ocean-artup/ocean-artup.md
Expand Up @@ -13,4 +13,4 @@ tech:
- React
---

A site I created for my dad to promote his newest research project: an ERC Advanced Grant-funded study that aims to assess the economic viability, potential environmental risks and possible increase in oceanic CO~2~ sequestration due to artificially-induced uplift of nutrient-rich deep water to the ocean’s sunlit surface layer.
A site I created for my dad to promote one of his research projects: A study that aims to assess the economic viability, potential environmental risks and possible increase in oceanic CO~2~ sequestration due to artificially-induced uplift of nutrient-rich deep water to the ocean’s sunlit surface layer. Funded by an ERC Advanced Grant.
Expand Up @@ -15,4 +15,4 @@ tech:

A German student-run nonprofit initiative that I co-run. SbS has about 1000 active members providing free tuition to children from underprivileged families as well as - more recently - refugees in over 20 university towns all over Germany. Our goal is to thereby contribute to more equal educational opportunities for all disadvantaged members of society.

We used to have a really old-school [Joomla](https://joomla.org)-powered homepage. That's all in the past now, luckily. Instead, we now sport a shiny new [Gatsby](https://gatsbyjs.org) site, designed with [`styled-components`](https://styled-components.com), managed through [Contentful](https://contentful.com) and hosted on [Netlify](https://netlify.com)'s blazing fast CDN. Can you believe that you get all that goodness for free nowadays! :)
We used to have a really old-school [Joomla](https://joomla.org)-powered homepage. That's all in the past now, luckily. Instead, we now sport a shiny new [Gatsby](https://gatsbyjs.org) site, designed with [`styled-components`](https://styled-components.com), managed through [Contentful](https://contentful.com) and hosted on [Netlify](https://netlify.com)'s fast CDN. It's amazing how much awesome infrastructure and service you get for free these days!
2 changes: 1 addition & 1 deletion content/pages/web/web.mdx
Expand Up @@ -7,7 +7,7 @@ cover:

import { TechStack, ProjectList } from 'views/Web'

I started learning web development in February 2018 when I moved to Barcelona for three months to participate in a JavaScript bootcamp at [Codeworks](https://codeworks.me). I had a great time, learned a lot and have been hooked on web technologies ever since. Below is a list of some recent projects and the technologies I enjoy using the most.
I started learning web development in February 2018 when I moved to Barcelona for three months to participate in a JavaScript boot camp at [Codeworks](https://codeworks.me). I had a great time, learned a lot and have been hooked on web technologies ever since. Below is a list of some recent projects and the technologies I enjoy using the most.

## Recent Projects

Expand Down
6 changes: 3 additions & 3 deletions content/posts/2018-07-27~brave-new-world/brave-new-world.md
Expand Up @@ -9,11 +9,11 @@ tags:
- JS
---

Welcome to my _new_ blog! Gone is my former WordPress site at janosh-riebesell.com. This is the first post on a new site I created myself. It's JavaScript from head to heel using the amazing site generator [Gatsby](https://gatsbyjs.org) and [`styled-components`](https://styled-components.com) for the design and layout. The latter relies heavily on the awesome CSS grid, by the way.
Welcome to my _new_ custom-built blog! Gone is my former WordPress site [janosh-riebesell.com](https://janosh-riebesell.com). This site is JavaScript from head to heel. It's powered mainly by [Gatsby](https://gatsbyjs.org) and [`styled-components`](https://styled-components.com).

In case you're considering switching your own site to Gatsby or more generally the [JAMstack](https://jamstack.org), I definitely recommend it. It was an incredibly enjoyable learning experience. Gatsby is open-source, has excellent docs and an awesome team of maintainers allowing you to contribute your own code and ideas to the project anytime you like.
In case you're considering switching your own site to Gatsby or more generally the [JAMstack](https://jamstack.org), I definitely recommend it. It was a very enjoyable learning experience. Gatsby is open-source, has excellent docs and an great team of maintainers allowing you to contribute your own code and ideas to the project.

![JAMstack](jamstack.png)
_The JAMstack_

At this point I've pretty much run out of things to say. And admittedly, this post is mostly for testing purposes anyway. Let's see if I'll actually find the time to put real content here. Let alone something on my mind worth writing about.
Admittedly, this post is mostly for testing purposes. Let's see if I'll actually find the time to put real content here.
Expand Up @@ -12,7 +12,7 @@ tags:
- JS
---

This post is a guide on how to write a React component that implements custom search powered by [Algolia](https://algolia.com) on a [Gatsby](https://gatsbyjs.org) site. You can see the result in action by clicking on the search icon in the top right of this page. The complete code is on [GitHub](https://github.com/janosh/blog/tree/master/src/components/Search). Also, check out Algolia's own CodeSandbox on how to use their [React Instantsearch](https://codesandbox.io/s/github/algolia/create-instantsearch-app/tree/templates/react-instantsearch) library.
This post is a guide on how to write a React component that implements custom search powered by [Algolia](https://algolia.com) on a [Gatsby](https://gatsbyjs.org) site. You can see the result in action by clicking on the search icon in the top right of this page. The complete code is on [GitHub](https://github.com/janosh/blog/tree/master/src/components/Search). Also, check out Algolia's CodeSandbox on how to use their [React Instantsearch](https://codesandbox.io/s/github/algolia/create-instantsearch-app/tree/templates/react-instantsearch) library.

If you're looking to add search to a documentation site with highly structured content, then you can let Algolia handle the steps outlined in the backend section for you by using their excellent [Docsearch](https://community.algolia.com/docsearch). For other types of sites and more fine-grained control over exactly what data should be indexed, read on.

Expand All @@ -24,7 +24,7 @@ First, you'll need to add [`gatsby-plugin-algolia`](https://github.com/algolia/g
yarn add gatsby-plugin-algolia react-instantsearch-dom dotenv
```

If you're project doesn't use them already, you will also need to install `react` and `styled-components`. The latter is optional but you will then have to convert some styled components to whichever design approach you use.
If your project doesn't use them already, you will also need to install `react` and `styled-components`. The latter is optional but you will then have to convert some styled-components to whichever design approach you use.

```sh
yarn add react styled-components
Expand Down Expand Up @@ -121,7 +121,7 @@ const queries = [
module.exports = queries
```

It might look a little intimidating at first, but basically you're just letting `gatsby-plugin-algolia` know how to acquire the data with which to populate your indices on their servers. The example above uses separate queries passing data to separate indices for pages and blog posts.
It might look a little intimidating at first, but basically, you're just letting `gatsby-plugin-algolia` know how to acquire the data with which to populate your indices on their servers. The example above uses separate queries passing data to separate indices for pages and blog posts.

Transformers allow you to modify the data returned by the queries to bring it into a format ready for searching. All we're doing here is 'flattening' posts and pages to 'unnest' the frontmatter fields (such as `author`, `date`, `tags`) but transformers could do much more for you if required. This makes the whole process of indexing your data really flexible and powerful. You could for instance use them to filter the results of your queries, format fields, add or merge them, etc.

Expand All @@ -133,7 +133,7 @@ What remains is a user-facing search interface for your site. It needs a way for

We're going to assemble everything we need into a React `Search` component that we call from anywhere on our site where we want the user to be able to search. Even though design varies strongly from site to site, I'll also go through the styles implemented with [`styled-components`](https://styled-components.com) in this guide since working out the CSS transitions to have the search field slide out as the user clicks on it and the results pane to appear once Algolia returns matches took some time.

The `Search` components is made up of the following files:
The `Search` component is made up of the following files:

- [**`index.js`**: the main component](https://github.com/janosh/blog/tree/master/src/components/Search/index.js)
- [**`input.js`**: the text input field](https://github.com/janosh/blog/tree/master/src/components/Search/Input.js)
Expand Down Expand Up @@ -218,7 +218,7 @@ export default function Search({ indices, collapse = true, size, ...rest }) {
}
```
At the top, we import `InstantSearch` from [`react-instantsearch-dom`](https://community.algolia.com/react-instantsearch) which is the root component that allows your whole search experience to connect to Algolia's service. As the name suggests, `Index` allows you to tap into an individual index and `Hits` provides you with the data returned for a user's search input. Finally [`connectStateResults`](https://community.algolia.com/react-instantsearch/connectors/connectStateResults.html) wraps around custom React components and provides them with high-level stats about the current search state such as the query, the number of results and how long it took to fetch them.
At the top, we import `InstantSearch` from [`react-instantsearch-dom`](https://community.algolia.com/react-instantsearch) which is the root component that allows your whole search experience to connect to Algolia's service. As the name suggests, `Index` allows you to tap into an individual index and `Hits` provides you with the data returned for a user's search input. Finally, [`connectStateResults`](https://community.algolia.com/react-instantsearch/connectors/connectStateResults.html) wraps around custom React components and provides them with high-level stats about the current search state such as the query, the number of results and how long it took to fetch them.
We then import the styled components that make up the UI and the `Input` component into which the user enters the query.
Expand All @@ -235,7 +235,7 @@ The last thing we need for the `Search` component to work is a hit component for
import Hits from './Hits'
```
Next we define two connected components. `Results` informs the user that no matches could be found for a query unless the number of hits is positive, i.e. `searchResults.nbHits > 0`. `Stats` just displays `searchResults.nbHits`.
Next, we define two connected components. `Results` informs the user that no matches could be found for a query unless the number of hits is positive, i.e. `searchResults.nbHits > 0`. `Stats` just displays `searchResults.nbHits`.
```js
const Results = connectStateResults(
Expand Down Expand Up @@ -521,7 +521,7 @@ export default connectHits(function HitComp({ type, hits, onClick }) {
## Usage
Now all we need to do is import `Search` somewhere. The obvious place is the `Header` component so let's add it there.
All we need to do now is import `Search` somewhere. The obvious place is the `Header` component so let's add it there.
```js:title=src/components/Header/index.js
import React from 'react'
Expand Down

0 comments on commit 76dac83

Please sign in to comment.