Skip to content

Instantly share code, notes, and snippets.

diff --git a/mod/project.py b/mod/project.py
index 8aa359f..8682ffa 100644
--- a/mod/project.py
+++ b/mod/project.py
@@ -3,6 +3,7 @@
import os
import shutil
import subprocess
+from pprint import pprint
$ sudo strace -s0 -f -T -p 25719
strace: Process 25719 attached
read(4, ""..., 131072) = 131072 <0.000022>
write(5, ""..., 131072) = 131072 <6.506534>
read(4, ""..., 131072) = 131072 <0.000050>
write(5, ""..., 131072) = 131072 <6.519874>
read(4, ""..., 131072) = 131072 <0.000018>
write(5, ""..., 131072) = 131072 <6.509943>
read(4, ""..., 131072) = 131072 <0.000066>
write(5, ""..., 131072) = 131072 <6.516519>
#!/usr/bin/perl
use utf8;
use open qw( :std :encoding(UTF-8) );
use lib ".";
use 中文;
用特性 '说';
用严格;
用提示;
#!/usr/bin/perl
use warnings;
use strict;
use feature 'say';
use utf8;
use open qw( :std :encoding(UTF-8) );
use lib ".";
use 中文;
#say for %INC
#!/usr/bin/perl -w
use warnings;
use strict;
use feature 'say';
use utf8;
use open qw( :std :encoding(UTF-8) );
use lib ".";
use 中文;
$ cat 中文.pm
use Filter::cpp;
use utf8;
package 中文;
1;
raven:/ $ uname -a
Linux localhost 5.10.107-android13-4-00038-ga6f610f1f1e6-ab9083768 #1 SMP PREEMPT Tue Sep 20 02:33:52 UTC 2022 aarch64 Toybox
raven:/ $ nc -l -p 8080
hello world
eam@sprat:~$ telnet 2605:ef80:8001:XXX 8080
Trying 2605:ef80:8001:XXX...
Connected to 2605:ef80:8001:XXX.
Escape character is '^]'.
Amulets
u - an uncursed amulet of life saving (being worn)
z - an uncursed amulet of life saving
Weapons
a - the rustproof +6 Frost Brand (weapon in hand)
Armor
E - an uncursed +4 dwarvish iron helm (being worn)
y - an uncursed rustproof +4 pair of gauntlets of power (being worn)
h - a blessed fireproof +4 pair of speed boots (being worn)
H - a cursed +4 shield of reflection (being worn)
09-28 10:43:05.602 1556 3745 D ConnectivityService: requestNetwork for uid/pid:10414/17452 NetworkRequest [ TRACK_DEFAULT id=397, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10414 AdministratorUids: [] RequestorUid: 10414 RequestorPackageName: com.alibaba.intl.android.apps.poseidon] ]
09-28 10:43:05.603 1556 1923 D ConnectivityService: NetReassign [397 : null → 101]
09-28 10:43:05.603 1556 1960 D WIFI_AWARE_FACTORY: got request NetworkRequest [ TRACK_DEFAULT id=397, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10414 AdministratorUids: [] RequestorUid: 10414 RequestorPackageName: com.alibaba.intl.android.apps.poseidon] ] with score 60 and providerId 5
09-28 10:43:05.603 1556 1916 D WifiNetworkFactory: got request NetworkRequest [ TRACK_DEFAULT id=397, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10414 AdministratorUids: [] RequestorUid: 10414 RequestorPackageName: com.alibaba.intl.android.apps.poseidon] ] with score 60 and providerId 5
09-28 10:43:05.603 1556 1916 D Untrusted
irb(main):028:0> x = 10_000
=> 10000
irb(main):029:0> 20.times { x = f(x, 0.07); puts x }
10700.0
11449.0
12250.43
13107.9601
14025.517307
15007.30351849
16057.8147647843