- CARTA HOLDINGS(旧VOYAGE GROUP)
- 技術広報が新卒研修<Open AIハッカソン>をスパイしてみた - (2023/04/11)
- @t_wadaに学ぶテスト駆動開発【CARTA 23新卒研修】 - (2023/04/19)
- 【新卒研修】監修者@t_wadaと読む!プログラマが知るべき97のこと読書会 - (2024/04/09)
- Classi
- 当たり前にリリースしていく ~ 新卒研修編 - (2021/05/20)
- リモートワークのための質問力向上研修を実施しました - (2021/12/07)
- Classi 2025年新卒エンジニア研修「そーだい塾」を開催しました - (2025/06/18)
- CyberZ
The numbers claimed by this benchamark about Gevent [1] comparaed with the numbers got by Asyncio with the uvloop
and even with the default loop has left me a bit frozen. Ive repeated a few of them : gevent, asyncio, asyncio-uvloop and go for
the echo server and these are the numbers roughly:
For gevent
$ ./echo_client
685393 0.98KiB messages in 30 seconds
Latency: min 0.04ms; max 4.48ms; mean 0.126ms; std: 0.048ms (37.68%)
Latency distribution: 25% under 0.088ms; 50% under 0.122ms; 75% under 0.158ms; 90% under 0.182ms; 99% under 0.242ms; 99.99% under 0.91ms
iOS9 returns double the value for window.innerWidth & window.innerHeight
The versions that are concerned are: 9.0.0, 9.0.1, 9.0.2
A few people got mad on twitter:
window.innerWidth in iOS 9 Safari returns double the number it did in iOS 8? Is this real life? tell me no — @rachsmithtweets
iOS9 Safari has the most insane bug where window.innerWidth / innerHeight is *sometimes* twice as large as it should be. ughhhh. !? — @mattdesl
iOS9 innerWidth/innerHeight is having a lot of fun these days — @ayamflow
| 更新: | 2024-05-20 |
|---|---|
| 作者: | @voluntas |
| バージョン: | 2024.1 |
| URL: | https://voluntas.github.io/ |
| """ | |
| Add binary-mode options to SSHClient.exec_command(...) for binary stdout, stderr channels. | |
| See: https://github.com/paramiko/paramiko/issues/291 | |
| """ | |
| import paramiko | |
| def _patched_exec_command(self, |
| # とりあえず標準RPMをインストールする。後でコンパイルしたモジュールで上書きする。 | |
| $ sudo apt-get install xrdp | |
| # コンパイルに必要なライブラリを追加 | |
| $ sudo apt-get install make | |
| $ sudo apt-get install autoconf | |
| $ sudo apt-get install libtool libtool-doc | |
| $ sudo apt-get install libssl-dev | |
| $ sudo apt-get install libpam0g-dev | |
| $ sudo apt-get install libx11-dev and libxfixes-dev |
| [noshift] | |
| Key8=0:0 | |
| Key9=65307:27 | |
| Key10=49:49 | |
| Key11=50:50 | |
| Key12=51:51 | |
| Key13=52:52 | |
| Key14=53:53 | |
| Key15=54:54 | |
| Key16=55:55 |
| 原文: | Async in C# and F#: Asynchronous gotchas in C# |
|---|---|
| 原文著者: | Tomas Petricek (@tomaspetricek) |
| 翻訳者: | @pocketberserker |
2月に、私は毎年恒例のMVPサミット ── Microsoft が MVP のために主催するイベント ── に出席しました。私はボストンとニューヨークを訪問する機会を利用して、二つの F# に関する講演と Channel9 lecture about type providers の収録を行いました。他のすべての活動(しばしばパブで他の F#er を議論に巻き込んだり、朝まで長い睡眠)にもかかわらず、私はいくつかの講演に参加し果せました。
| # vim:fileencoding=utf-8 | |
| import codecs | |
| import sys | |
| import types | |
| if __name__ == '__main__': | |
| # | |
| # ターミナルに出力する場合 | |
| # 以下のサンプルは、ターミナルに出力する場合は | |
| # うまくいくが、リダイレクトさせてファイルに出力すると |
| #!/usr/bin/env python | |
| import os | |
| import shlex | |
| import struct | |
| import platform | |
| import subprocess | |
| def get_terminal_size(): | |
| """ getTerminalSize() |