Code Monkey home page Code Monkey logo

blog's People

Contributors

yi-jiayu avatar

Stargazers

 avatar

Watchers

 avatar  avatar

blog's Issues

2019/05/benchmarking-go-code/

Benchmarking Go code - Jiayu's Blog

I recently attended GopherCon Singapore 2019, and one of the talks was about optimising Go code, by Daniel Martí. I managed to find a set of his slides from a previous conference that he gave the same talk at:
Optimizing Go code without a blindfold Daniel Martí at dotGo 2019 https://www.dotconferences.com/2019/03/daniel-marti-optimizing-go-code-without-a-blindfold My main takeaway from his talk the usage of benchstat for computing statistics from multiple runs of go test -bench, which helps to remove noise and identify statistically significant results:

https://blog.jiayu.co/2019/05/benchmarking-go-code/

2018/05/whatsapp-spoilers/

WhatsApp spoilers - Jiayu's Blog

On Reddit or other forums, you'll often come across spoiler tags which may look a bit like this. They're used to discuss spoilers while protecting other readers who do not wish to be spoiled by requiring them to actively interact with the spoiler tag to view its contents.

https://blog.jiayu.co/2018/05/whatsapp-spoilers/

2019/03/rotom-pokedex-bot/

Rotom Pokédex bot - Jiayu's Blog

Lately, I've been playing through some of the older Pokémon games (Pokémon Platinum and Pokémon White), and built a Telegram bot for quickly looking up in-game things like Pokémon weaknesses or ability effects.
Send Rotom Pokédex bot (@rotom_pokedex_bot on Telegram) a Pokémon name or number to get a quick summary about it:
Turtwig, the Tiny Leaf Pokémon
The inline buttons let you navigate to more detailed information:

https://blog.jiayu.co/2019/03/rotom-pokedex-bot/

2020/09/mahjong-party/

Mahjong Party - Jiayu's Blog

I recently built Mahjong Party, an online multiplayer Singaporean mahjong game.
Here's a screenshot of a game in progress:
If you're interested, you can head over to https://mahjong.party/ and give the tutorial a try, or jump into a game immediately with some bots!
The rest of this post will just be some thoughts I had while working on this project.
Miscellaneous thoughts This wasn't my first attempt at building a multiplayer game online, I previously tried creating a bughouse xiangqi game, but gave up after running into challenges around UI design and backend state management.

https://blog.jiayu.co/2020/09/mahjong-party/

2018/12/quickly-configuring-hot-corners-on-macos/

Hot Corners profiles - Jiayu's Blog

My company is big on agile, so we're often encouraged to work in pairs.
One challenge with pair programming on personal machines is that not everyone might be equally comfortable with the configuration. Ignoring the fact that as a Dvorak keyboard layout user I'm immediately awkward on a teammate's machine, a setting I use on my own machine that my pairs are often not used to is the Hot Corners.

https://blog.jiayu.co/2018/12/quickly-configuring-hot-corners-on-macos/

Keep post titles and filesystem names in sync

Recently, I was going through posts and adding appropriate tags, but had some trouble finding the actual file to edit to change a specific post, because the post filenames did not match their titles or URLs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.