式形式のラムダ
(n) => a == n;
ステートメント型のラムダ
(n) => { return a == n; };
何もしないラムダ
require 'js' | |
require 'js/require_remote' | |
require 'erb' | |
class OrbitalRing | |
include Singleton | |
def dir = 'app_root' | |
class Loader |
have_library: checking for deflateReset(NULL) in -lz... -------------------- no | |
LD_LIBRARY_PATH=.:../.. " /home/ledsun/ruby.wasm/build/toolchain/wasi-sdk/bin/clang -o conftest -I../../.ext/include/wasm32-wasi -I/home/ledsun/ruby.wasm/build/checkouts/head/include -I/home/ledsun/ruby.wasm/build/checkouts/head/ext/zlib -I/home/ledsun/ruby.wasm/build/wasm32-unknown-wasi/zlib-1.2.13/opt/usr/local/include -D_WASI_EMULATED_SIGNAL -D_WASI_EMULATED_MMAN -D_WASI_EMULATED_GETPID -D_WASI_EMULATED_PROCESS_CLOCKS -fdeclspec -O3 -fno-fast-math -g -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-va |
compiling export_wrap.cpp | |
export_wrap.cpp: In function ‘void SWIG_RubyInitializeTrackings()’: | |
export_wrap.cpp:1263:85: error: call of overloaded ‘rb_define_virtual_variable(const char [21], VALUE (&)(...), NULL)’ is ambiguous | |
rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", swig_ruby_trackings_count, NULL); | |
^ | |
In file included from /usr/local/include/ruby-3.0.0/ruby/internal/anyargs.h:83, | |
from /usr/local/include/ruby-3.0.0/ruby/ruby.h:24, | |
from /usr/local/include/ruby-3.0.0/ruby.h:38, | |
from export_wrap.cpp:879: | |
/usr/local/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:73:1: note: candidate: ‘void ruby::backward::cxxanyargs::rb_define_virtual_variable(const char*, VALUE (*)(...), void (*)(...))’ |
14:51:25 workor.1 | <OBJ_INFO:gc_mark_ptr@gc.c:6713> 0x00007fda6b47ec10 [2 M ] T_NONE | |
14:51:25 workor.1 | /home/ledsun/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/text_alignment-0.11.10/lib/text_alignment/anchor_finder.rb:184: [BUG] try to mark T_NONE object | |
14:51:25 workor.1 | ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux] | |
14:51:25 workor.1 | | |
14:51:25 workor.1 | -- Control frame information ----------------------------------------------- | |
14:51:25 workor.1 | c:0020 p:---- s:0141 e:000140 CFUNC :[] | |
14:51:25 workor.1 | c:0019 p:0052 s:0136 e:000135 METHOD /home/ledsun/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/text_alignment-0.11.10/lib/text_alignment/anchor_finder.rb:184 [FINISH] | |
14:51:25 workor.1 | c:0018 p:---- s:0123 e:000122 CFUNC :call | |
14:51:25 workor.1 | c:0017 p:0128 s:0116 e:000115 BLOCK /home/ledsun/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/text_alignment-0.11.10/lib/text_alignment/anchor_finder.rb:122 [FINISH] | |
14:51:25 workor.1 | c:0016 p:---- s:0108 e:000107 CFUNC : |
ledsun@MSI:~/ruby.wasm►rake npm:ruby-head-wasm-wasi 0.214s (main|💩) 22:07 | |
npm ci | |
added 6 packages, and audited 7 packages in 505ms | |
1 package is looking for funding | |
run `npm fund` for details | |
found 0 vulnerabilities | |
WASI_VFS_CLI=build/x86_64-pc-linux-gnu/wasi-vfs-0.1.1/wasi-vfs WASMOPT=/home/ledsun/ruby.wasm/build/toolchain/binaryen/bin/wasm-opt /home/ledsun/ruby.wasm/packages/npm-packages/ruby-head-wasm-wasi/build-package.sh /home/ledsun/ruby.wasm/rubies/head-wasm32-unknown-wasi-full-js-debug |
obs_table" for ::1 at 2022-09-29 08:28:17 +0900 | |
08:28:17 web.1 | Processing by JobsController#latest_gear_icon as HTML | |
08:28:17 web.1 | Parameters: {"project_id"=>"project1"} | |
08:28:17 web.1 | User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 1], ["LIMIT", 1]] | |
08:28:17 web.1 | Project Load (0.5ms) SELECT "projects".* FROM "projects" WHERE "projects"."type" IS NULL AND (accessibility = 1 OR accessibility = 3 OR user_id =1) AND "projects"."name" = $1 LIMIT $2 [["name", "project1"], ["LIMIT", 1]] | |
08:28:17 web.1 | ↳ app/controllers/jobs_controller.rb:105:in `set_organization' | |
08:28:17 web.1 | Job Load (0.4ms) SELECT "jobs".* FROM "jobs" WHERE "jobs"."organization_id" = $1 AND "jobs"."organization_type" = $2 [["organization_id", 2], ["organization_type", "Project"]] | |
08:28:17 web.1 | ↳ app/models/project.rb:203:in `has_unfinished_jobs?' | |
08:28:17 web.1 | Rendered projects/_gear_icon.html.erb (Duration: 3.4ms | |
式形式のラムダ
(n) => a == n;
ステートメント型のラムダ
(n) => { return a == n; };
何もしないラムダ
<html> | |
<body> | |
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script> | |
<script>mermaid.initialize({startOnLoad:true});</script> | |
<div class="mermaid"> | |
sequenceDiagram | |
Alice->>John: Hello John, how are you? | |
John-->>Alice: Great! | |
Alice-)John: See you later! | |
</div> |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Runtime.Serialization; | |
using System.Text; | |
using System.Web; | |
namespace Hoge | |
{ |
netsh.exe interface portproxy delete v4tov4 8000 | |
netsh.exe interface portproxy show v4tov4 | |
pause |