Skip to content

Instantly share code, notes, and snippets.

View udgw's full-sized avatar

udgw.hogemax udgw

View GitHub Profile

0.17 -> 1.8にupgrade

変更点大杉ワロタ

いやまあ変更に追従してなかったのがいけないんですけどね・・・

  • 名称が変更されたコンポーネントが多い(例: q-modal -> q-dialog)
  • 変更されたプロパティ
    • stack-label がbooleanになっており、文字列はlabelに記述する
  • 振る舞いとlabelの値を分けた点では良い変更だと思う

A. 副交感神経がONにする行動を取る

具体的には

  • ぬるめのお湯(38-41度)への入浴
  • 軽いストレッチ
  • アロマ
  • 音楽
  • 腹式呼吸

Abstract

Speculative execution, which is used pervasively in modern CPUs, can leave side effects in the processor caches and other structures even when the speculated instructions do not commit and their direct effect is not visible.

The recent Meltdown and Spectre attacks have shown that this behavior can be exploited to expose privileged information accessed speculatively to an unprivileged attacker.

@udgw
udgw / file0.txt
Last active March 29, 2018 15:06
Linuxコアメンバーによるカーネルのリリースモデル・アップデートについての解説 ref: https://qiita.com/hogemax/items/c9930e2dd9218b8b740b
On Wed, 16 Jul 2008, pageexec@freemail.hu wrote:
> あなたは直近のいくつかの安定版リリースをチェックするべきだ。
> セキュリティバグを修正しているにもかかわらず「セキュリティ」と言う言葉が
> アナウンスで言及されていないことを知るべきだ。
ううむ、君は「これらは通常のバグである」と言うことのどの部分が問題だと思ってるのかな?
はっきり言うと、セキュリティバグだなんて特記すべきじゃないよ、バグはバグだろ。
> 言葉を変えると、これはセキュリティ問題を解決したってコミットで言うべき理由がある。
@udgw
udgw / file0.txt
Last active January 20, 2018 05:09
LinuxコアメンバーによるMeltdownとSpectre 対応状況の説明 Update 1/19 ref: https://qiita.com/hogemax/items/c057015bbf1b84a47759
$ grep . /sys/devices/system/cpu/vulnerabilities/*
@udgw
udgw / file0.txt
Last active January 22, 2018 05:24
LinuxコアメンバーによるMeltdownとSpectre 対応状況の説明 (1/19更新) ref: https://qiita.com/hogemax/items/008f19fd14eebca474d7
$ grep . /sys/devices/system/cpu/vulnerabilities/*
@udgw
udgw / gist:1d9c99c4fbacbada44670e9cf420361f
Created October 18, 2017 23:39
FreeBSD11.1 + gcc6.4 Build
bcen@bsd:~/peloton/build % cmake ..
INFO Using built-in specs.
COLLECT_GCC=/usr/local/bin/g++
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc6/gcc/x86_64-portbld-freebsd11.0/6.4.0/lto-wrapper
Target: x86_64-portbld-freebsd11.0
Configured with: /wrkdirs/usr/ports/lang/gcc6/work/gcc-6.4.0/configure --with-build-config=bootstrap-debug --disable-nls --enable-gnu-indirect-function --libdir=/usr/local/lib/gcc6 --libexecdir=/usr/local/libexec/gcc6 --program-suffix=6 --with-as=/usr/local/bin/as --with-gmp=/usr/local --with-gxx-include-dir=/usr/local/lib/gcc6/include/c++/ --with-ld=/usr/local/bin/ld --with-pkgversion='FreeBSD Ports Collection' --with-system-zlib --with-ecj-jar=/usr/local/share/java/ecj-4.5.jar --enable-languages=c,c++,objc,fortran,java --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/info/gcc6 --build=x86_64-portbld-freebsd11.0
Thread model: posix
gcc version 6.4.0 (FreeBSD Ports Collection)
Selected compiler gcc 6.4.0
bcen@bsd:~/peloton/build % make -j4
[ 0%] Original libpg makefile target
gmake[3]: Entering directory '/usr/home/bcen/peloton/third_party/libpg_query'
[ 2%] Built target peloton-proto
gmake[3]: Nothing to be done for 'all'.
gmake[3]: Leaving directory '/usr/home/bcen/peloton/third_party/libpg_query'
[ 2%] Built target libpg_query
[ 2%] Building CXX object src/CMakeFiles/peloton.dir/storage/abstract_table.cpp.o
/home/bcen/peloton/src/storage/abstract_table.cpp:27:1: error: prototype for 'peloton::storage::AbstractTable::AbstractTable(id_t, peloton::catalog::Schema*, bool)' does not match any in class 'peloton::storage::AbstractTable'
AbstractTable::AbstractTable(id_t table_oid, catalog::Schema *schema,
@udgw
udgw / gist:5486f0c4999c13dec0a46eaadfbb782f
Created October 17, 2017 08:57
got a error when linking
bcen@bsd:~/peloton/build % cmake ..
INFO Using built-in specs.
COLLECT_GCC=/usr/local/bin/gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc6/gcc/x86_64-portbld-freebsd11.0/6.4.0/lto-wrapper
Target: x86_64-portbld-freebsd11.0
Configured with: /wrkdirs/usr/ports/lang/gcc6/work/gcc-6.4.0/configure --with-build-config=bootstrap-debug --disable-nls --enable-gnu-indirect-function --libdir=/usr/local/lib/gcc6 --libexecdir=/usr/local/libexec/gcc6 --program-suffix=6 --with-as=/usr/local/bin/as --with-gmp=/usr/local --with-gxx-include-dir=/usr/local/lib/gcc6/include/c++/ --with-ld=/usr/local/bin/ld --with-pkgversion='FreeBSD Ports Collection' --with-system-zlib --with-ecj-jar=/usr/local/share/java/ecj-4.5.jar --enable-languages=c,c++,objc,fortran,java --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/info/gcc6 --build=x86_64-portbld-freebsd11.0
Thread model: posix
gcc version 6.4.0 (FreeBSD Ports Collection)
Selected compiler gcc 6.4.0
@udgw
udgw / cman_man_ja.md
Last active September 25, 2017 12:16
Cmake のManの翻訳

cmake

https://cmake.org/cmake/help/v3.0/manual/cmake.1.html

概要

cmake [<options>] (<path-to-source> | <path-to-existing-build>)

cmake [(-D<var>=<value>)...] -P <cmake-script-file>

cmake --build <dir> [<options>] [-- <build-tool-options>...]

cmake -E <command> [<options>]