以下の様にすることで64bitsアラインをまたいでるフィールドがあれば警告が出るようになります。
go build -o checker ./checker.go
GOOS=linux GOARCH=arm go vet -vettool checker ...
import SwiftUI | |
struct ContentView: View { | |
@StateObject private var object = Object() | |
var body: some View { | |
List(object.numbers, id: \.self) { number in | |
Text("Content \(number)") | |
} | |
.refreshable { |
// | |
// ConcurrencyNFCApp.swift | |
// ConcurrencyNFC | |
// | |
// Created by treastrain on 2021/08/28. | |
// | |
import SwiftUI | |
import CoreNFC |
以下の様にすることで64bitsアラインをまたいでるフィールドがあれば警告が出るようになります。
go build -o checker ./checker.go
GOOS=linux GOARCH=arm go vet -vettool checker ...
FROM alpine:3.13 | |
WORKDIR /opt/draft-proxy | |
RUN apk update && apk add git curl | |
RUN curl -L -o package.tgz https://github.com/oauth2-proxy/oauth2-proxy/releases/download/v6.1.1/oauth2-proxy-v6.1.1.linux-amd64.tar.gz && \ | |
tar xvzf package.tgz && \ | |
mv oauth2-proxy-*.linux-amd64/oauth2-proxy . | |
CMD ["./oauth2-proxy", \ | |
"--provider=github", "--github-org=YOUR_GITHUB_ORG", "--email-domain=*", \ | |
"--http-address=0.0.0.0:8080", \ | |
"--reverse-proxy=true", \ |
deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse |
https://dl.acm.org/citation.cfm?id=3192369
やばい論文を見つけた。たとえるなら,世界中でありふれた野菜炒めで世界一だと認められたようなもの。一刻も早く全文を読みたい。
We present Ryu, a new routine to convert binary floating point numbers to their decimal representations using only fixed-size integer operations, and prove its correctness. Ryu is simpler and approximately three times faster than the previously fastest implementation.
type Effect<A> = {type: A} | |
interface IO<A> {} | |
interface NetworkIO<A> extends IO<A> {} | |
interface DOMMutation<A> {} | |
interface DOMAppend<A> extends DOMMutation<A> {} | |
interface DOMRemove<A> extends DOMMutation<A> {} | |
function request<A>(url: string): Promise<A> & Effect<NetworkIO<A>> { |
#!/bin/bash | |
# this scripts assumes Ubuntu 14.04 LTS | |
# ensure the following sources are in /etc/apt/sources.list | |
# deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse | |
# deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse | |
# deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse | |
# deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse |