買物プロダクト戦略部の勝間(@ryo_katsuma) です。6/30に「Cookpad Tech Kitchen #27 Rails/Next.js/IoTによる食品流通」をWeWork リンクスクエア新宿で開催しました。 イベントではクックパッドの新規事業「クックパッドマート」の流通を開発するエンジニアをはじめ、ECアプリケーションエンジニアやCTOも参加し、クックパッドマートの流通を中心とした最新の状況や組織についていろいろお話させていただきました。今回は当日の様子を発表資料も交えて紹介させていただきます。 クックパッドマートの失敗したデータ設計 Before / After 大放出 by 奥薗 まず、1番めのトークとして、奥薗(@mokuzon)から流通開発におけるデータ設計の自分たちの知見についてお話させていただきました。 「営業日」という比較的馴染みのある概念から、商品が「動く
Rust でモザイク加工を実装し、それを WebAssembly として Web アプリから利用する2022-07-11 Twitter のアイコンが本人とかなり乖離してきたため、職場の人に「え、誰ですか?」と言われることが多々あり、そろそろアイコンを変えようかなと思っていました。でもアイコンを変えると認識できなくなると思ったので、少しずつアイコンにモザイクをかけていこうと思い、モザイクツールを自作していました。自作しなくても既存のツールがあるのではと思うかもしれませんが、車輪は再発明するものなので再発明しました。ただ車輪の再発明とは言っても、Wasm で動作(=クライアントで加工してくれるからサーバーに送らなくていいし Web で使える)という点では比較的新しい車輪の再発明な気がしています。 それがこの umie です。ファイル選択して送信するとこのようにモザイクをかけられます。 ちなみ
Introduction この記事やこの記事では、 AWS Lambda + Momentoの基本的な使い方について紹介してきました。 本稿では、任意のデータを指定時間キャッシュして、 期限付きデータを実現する簡単なサンプルを実装してみます。 Environment OS : MacOS 12.4 rust : 1.61.0 Momento CLI : 0.20.1 Moment CLIとAWSアカウントはセットアップ済みとします。 また、以前の記事(これとこれ)で作成した momento-lambdaプロジェクトを元に解説します。 Setup 今回使用するキャッシュ(my_content_cache)は事前にCLIで作成しておきましょう。 % momento cache create --name my_content_cache Create Momento Example Cargo
目的 AWS LambdaでAPIっぽいことをするにはlambda_httpを使うことになるんですが、HTTPの低レイヤーを相手にすることが多くて辛いです。 何かいいものが無いかと調べていたら、数日前にaxum-aws-lambdaというものが出来ていたのでこれを使ってみました(この記事を書いた日からだと27日前でした)。 コード lambda_httpだけでやってみる。 [package] name = "web" version = "0.1.0" edition = "2021" [dependencies] lambda_http = "0.5.2" serde_json = "1" tokio = { version = "1", features = ["full"] } use lambda_http::{ http::{response::Builder, Method,
This is a good intro, while it mentions `thiserror`, I personally can’t recommend this enough. For anyone building a library, the ability to wrap underlying errors and generate a From implementation quickly for them (converts from source error to target) is it’s super power. It also takes a simple error string to create the Display implementation. It does all of this and generates code and types t
In the first part of the Web APIs series Quick guide to Resize Observer we've learnt what the Resize Observer API is and how to use it with vanilla JavaScript. But what to do when it comes to using with React? Today we are going to see how to do it quick & easy and will create a custom hook, which you can use in your projects. The API Let's repeat what we know already: ResizeObserver is used to ob
A new brand identity makes Google more accessible and useful to our users Google is not a conventional company. Our mission—to organize the world’s information and make it universally accessible and useful—continues to evolve. Last year we introduced Material Design to help designers and developers embrace an expanding, multi-device, multi-screen world. With those considerations in mind, we are ex
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く