I hereby claim:
- I am semaj on github.
- I am semaj (https://keybase.io/semaj) on keybase.
- I have a public key whose fingerprint is 4E82 6995 F831 D226 13D5 6BA7 D065 83D8 4F70 E104
To claim this, I am signing this object:
set -e | |
set -v | |
sudo apt update | |
sudo apt upgrade | |
sudo apt-get install -yy \ | |
git \ | |
build-essential \ | |
pkg-config \ | |
numactl \ |
int wasm_udp_send(char *data) { | |
EM_ASM_({ | |
window.socket.send($0) | |
}, data); | |
... | |
} | |
int wasm_udp_recv(char *data) { | |
... | |
} |
var udpSocket = new UDPSocket("imaginary-service.com"); | |
udpSocket.onopen = function() { | |
console.log("The UDP socket is open!"); | |
} | |
udpSocket.onclose = function(closeEvent) { | |
console.log(`The UDP socket was closed. code: ${closeEvent.code}, reason: ${closeEvent.reason}`); | |
} |
00006a5: 1720 0021 0920 1720 0936 0200 41d4 0c20 . .!. . .6..A.. | |
00006b5: 1710 491a 2000 210a 200a 4101 6a21 0b20 ..I. .!. .A.j!. | |
00006c5: 0b21 000c 010b 0b41 eb0c 2018 1049 1a20 .!.....A.. ..I. | |
00006d5: 1a24 0c0f 0b2c 0104 7f23 0c21 0523 0c41 .$...,...#.!.#.A | |
00006e5: 106a 240c 230c 230d 4e04 4041 1010 030b .j$.#.#.N.@A.... | |
00006f5: 2000 2102 2001 2103 1018 2005 240c 4100 .!. .!... .$.A. | |
0000705: 0f0b e26e 01c8 087f 230c 21c8 0823 0c41 ...n....#.!..#.A | |
0000715: 106a 240c 230c 230d 4e04 4041 1010 030b .j$.#.#.N.@A.... | |
0000725: 20c8 0821 5c20 0041 f501 4921 cb01 0240 ..!\ .A..I!...@ | |
0000735: 20cb 0104 4020 0041 0b49 21ba 0220 0041 ...@ .A.I!.. .A |
Most people who work in corporations or academia have witnessed something like the following: A number of engineers are sitting together in a room, bouncing ideas off each other. Out of the discussion emerges a new concept that seems promising. Then some laptop-wielding person in the corner, having performed a quick Google search, announces that this “new” idea is, in fact, an old one—or at least vaguely similar—and has already been tried. Either it failed, or it succeeded. If it failed, then no manager who wants to keep his or her job will approve spending money trying to revive it. If it succeeded, then it’s patented and entry to the market is presumed to be unattainable, since the first people who thought of it will have “first-mover advantage” and will have created “barriers to entry.” The number of seemingly promising ideas that have been crushed in this way must number in the millions. | |
What if that person in the corner hadn’t been able to do a Google search? It might have required weeks of library res |
I hereby claim:
To claim this, I am signing this object:
module DynamicNetworkGraph | |
class NetworkFlow | |
attr_accessor :srcAddr, :dstAddr, :srcPort, :dstPort, :protocol, :start, :end, :packets, :transferred, :status | |
def fromFields(sep, line) | |
line.split(sep).zip(instance_variables).each { |val, name| instance_variable_set(name, val) } | |
end | |
end | |
end |
case node.chef_environment | |
when 'production' # load production ssl certs for prod env via databag | |
#for i in node['web-provision']['server_sites'] do | |
node['web-provision']['server_sites'].each_with_index do |i, j=0| | |
if File.exists?("#{node['web-provision']['sslkeydir']}") == false #check of ssl directories exist and create them if not | |
directory "#{node['web-provision']['sslkeydir']}" do |
case node.chef_environment | |
when 'production' # load production ssl certs for prod env via databag | |
#for i in node['web-provision']['server_sites'] do | |
node['web-provision']['server_sites'].each_with_index do |i, j=0| | |
if File.exists?("#{node['web-provision']['sslkeydir']}") == false #check of ssl directories exist and create them if not | |
directory "#{node['web-provision']['sslkeydir']}" do |