Open in app

Sign in

Write

Sign in

Gary Lu
Gary Lu

531 Followers

Home

About

Published in

Level Up Coding

·Jul 2

Integrate ChatGPT with Apple HomeKit

Build a ChatGPT-based smart home assistant — (Also published on my personal blog: link) In Mate Marschalko’s blog post “ChatGPT in an iOS Shortcut — World’s Smartest HomeKit Voice Assistant”, the author demonstrated how to build a voice assistant using ChatGPT. By combining the power of ChatGPT with Apple’s Shortcuts and HomeKit, the author showed how to…

ChatGPT

8 min read

Integrate ChatGPT with Apple HomeKit
Integrate ChatGPT with Apple HomeKit
ChatGPT

8 min read


Published in

Level Up Coding

·Jan 14, 2022

DNSSEC Explained

What is and is not DNSSEC? — (Migrated to personal blog: link) DNSSEC stands for Domain Name System Security Extensions. By adding some additional records in the response, DNSSEC can guarantee that a DNS query is answered by an authenticated origin and therefore protect the data integrity of DNS. …

DNS

5 min read

DNSSEC Explained
DNSSEC Explained
DNS

5 min read


Published in

Towards Data Science

·Mar 8, 2021

Tuning Hyperparameters with Optuna

Achieve the optimal ML model in an automated and smart way — (Migrated to personal blog: link) Table of contents Introduction Hyperparameters and scikit-learn Tunning Methods Tunning Hyperparameters with Optuna Conclusion Introduction I recently finished my first machine learning project on Kaggle, predicting sale price with the Boston Housing dataset (co-author: Julia Yang). …

Machine Learning

5 min read

Tuning Hyperparameters with Optuna
Tuning Hyperparameters with Optuna
Machine Learning

5 min read


Published in

Level Up Coding

·Oct 13, 2020

Create AWS RDS MySQL instance with a secured master password using CloudFormation template

(Migrated to personal blog: link) Recently, I’m working on creating a MySQL RDS instance with CloudFormation template. Although there have been tons of documents from both AWS officials or the community talking about this, I feel there are not many documents diving deep about making MasterUserPassword secure. When creating a…

AWS

3 min read

Create AWS RDS MySQL instance with a secured master password using CloudFormation template
Create AWS RDS MySQL instance with a secured master password using CloudFormation template
AWS

3 min read


Published in

The Startup

·Jun 7, 2020

The “finally” block in AWS Step Functions state machine

(Migrated to personal blog: link) If you’re not familiar with AWS Step Functions, it is a service where we can create state-machines to orchestrate asynchronous tasks in workflows without worrying too much about any underlying infrastructure and operations. …

AWS

5 min read

The “finally” block in AWS Step Functions state machine
The “finally” block in AWS Step Functions state machine
AWS

5 min read


Published in

The Startup

·Apr 26, 2020

Mock a DNS Server in Java

(Migrated to personal blog: link) I’ve been using the Java library dnsjava(org.xbill.DNS) a lot recently to make DNS queries. Since my work will rely on the behavior of that library, I figured I have to understand it better. …

Java

4 min read

Mock a DNS Server in Java
Mock a DNS Server in Java
Java

4 min read


Published in

Vendasta

·Jul 4, 2019

Golang: The time complexity of append()

(Migrated to personal blog: link) In Go, append(slice, x) is one of the most used built-in functions. But have you ever thought about a simple question: what is the time complexity of it? The short answer: The amortized cost of append() is O(1), but the worst-case cost is O(N). Before…

Golang

5 min read

Golang: The time complexity of append()
Golang: The time complexity of append()
Golang

5 min read


May 21, 2019

Golang: An interface holding a nil value is not nil

(Migrated to personal blog: link) Let’s start directly with an example (go playground): package main import "fmt" func main() { var a interface{} fmt.Printf("a == nil is %t\n", a == nil) var b interface{} var p *int = nil b = p fmt.Printf("b …

Golang

2 min read

Golang: An interface holding a nil value is not nil
Golang: An interface holding a nil value is not nil
Golang

2 min read

Gary Lu

Gary Lu

531 Followers

Software Development Engineer in AWS. www.linkedin.com/in/gary-yue-lu

Following
  • Jocelyn Joy Thomas

    Jocelyn Joy Thomas

  • Emad Selim

    Emad Selim

  • Charlie

    Charlie

  • John Welford

    John Welford

  • Darrin Atkins

    Darrin Atkins

See all (694)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams