Skip to content

Instantly share code, notes, and snippets.

View unicomp21's full-sized avatar

John Davis unicomp21

View GitHub Profile
@unicomp21
unicomp21 / gist:047236ec0526ba65d65f8c11d4864393
Created May 31, 2020 11:12
Building Google Filament w/ a Dockerfile
This is what I use to routinely check the webgl build for filament.
@unicomp21
unicomp21 / Dockerfile
Created June 10, 2021 11:13
building google filament
###
FROM ubuntu:20.04 as filament
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install -y cmake ninja-build python3-distutils autoconf automake libtool build-essential libssl-dev wget tar
RUN apt-get install -y clang-9 libglu1-mesa-dev libc++-9-dev libc++abi-9-dev
RUN apt-get install -y libxi-dev
@unicomp21
unicomp21 / redpanda.build.txt
Created October 31, 2021 10:27
redpanda community build failure
update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/f77.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f77) doesn't exist
Setting up libboost-test-dev:amd64 (1.74.0.3ubuntu6) ...
Setting up libboost-iostreams1.74-dev:amd64 (1.74.0-8ubuntu6) ...
Setting up libboost-date-time1.74-dev:amd64 (1.74.0-8ubuntu6) ...
Setting up libcaf-openmpi-3:amd64 (2.9.2-3) ...
Setting up libboost-graph1.74-dev:amd64 (1.74.0-8ubuntu6) ...
Setting up python3-dev (3.9.4-1build1) ...
Setting up libboost-serialization-dev:amd64 (1.74.0.3ubuntu6) ...
Setting up libboost-date-time-dev:amd64 (1.74.0.3ubuntu6) ...
-- CMAKE_BUILD_TYPE: Release
-- ROARING_DISABLE_X64: OFF
-- ROARING_DISABLE_AVX: OFF
-- ROARING_DISABLE_NEON: OFF
-- ROARING_DISABLE_NATIVE: OFF
-- ROARING_ARCH: native
-- ROARING_BUILD_STATIC: ON
-- ROARING_LINK_STATIC: OFF
-- ROARING_BUILD_LTO: OFF
-- ROARING_SANITIZE: OFF
-- CMAKE_C_FLAGS_RELEASE: -O3
-- Configuring done
-- Generating done
-- Build files have been written to: /mnt/build/deps_build/roaring-prefix/src/roaring-build
[18/85] Performing install step for 'ctre'
[0/1] cd /mnt/build/deps_build/ctre-prefix/src/ctre-build && /usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "Release"
-- Up-to-date: /mnt/build/deps_install/share/cmake/ctre/ctre-targets.cmake
-- Up-to-date: /mnt/build/deps_install/share/cmake/ctre/ctre-config-version.cmake
-- Up-to-date: /mnt/build/deps_install/share/cmake/ctre/ctre-config.cmake
2 warnings generated.
[1574/1745] CXX obj/v8_base_without_compiler/wasm-import-wrapper-cache.o
warning: unknown warning option '-Wno-unused-but-set-parameter'; did you mean '-Wno-unused-parameter'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option]
2 warnings generated.
[1575/1745] CXX obj/v8_base_without_compiler/wasm-features.o
warning: unknown warning option '-Wno-unused-but-set-parameter'; did you mean '-Wno-unused-parameter'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option]
2 warnings generated.
[1576/1745] CXX obj/v8_base_without_compiler/wasm-init-expr.o
ment: { id: {0}, group_id: {1}, replicas: {{node_id: {1}, shard: 1}, {node_id: {3}, shard: 3}, {node_id: {0}, shard: 1}} }, previous_assignment: {{ id: {0}, group_id: {1}, replicas: {{node_id: {0}, shard: 1}, {node_id: {2}, shard: 3}} }}} result: Current node is not a leader for partition
TRACE 2021-11-02 06:30:48,441 [shard 3] cluster - controller_backend.cc:519 - executing ntp: {test-namespace/t_4/0} opeartion: {type: update, ntp: {test-namespace/t_4/0}, offset: {177}, new_assignment: { id: {0}, group_id: {4}, replicas: {{node_id: {3}, shard: 1}, {node_id: {0}, shard: 2}, {node_id: {4}, shard: 2}} }, previous_assignment: {{ id: {0}, group_id: {4}, replicas: {{node_id: {2}, shard: 3}, {node_id: {0}, shard: 2}} }}}
TRACE 2021-11-02 06:30:48,441 [shard 3] cluster - controller_backend.cc:622 - processing partiton {test-namespace/t_4/0} update command with replicas {{node_id: {3}, shard: 1}, {node_id: {0}, shard: 2}, {node_id: {4}, shard: 2}}
INFO 2021-11-02 06:30:48,441 [shard 3] cluster - controller_backend.c
WARNING in ./node_modules/dag-jose/lib/utils.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/johndavis/repo/dev/babylonjs-webpack-es6/node_modules/dag-jose/src/utils.ts' file: Error: ENOENT: no such file or directory, open '/Users/johndavis/repo/dev/babylonjs-webpack-es6/node_modules/dag-jose/src/utils.ts'
@ ./node_modules/dag-jose/lib/signing.js 1:0-56 8:25-38 13:19-32 18:28-41 22:20-33 36:19-30 41:25-36 46:17-28
@ ./node_modules/dag-jose/lib/index.js 1:0-40 42:19-36 60:22-36 79:15-29
@ ./node_modules/ipfs-core/src/components/index.js 9:0-35 295:28-35
@ ./node_modules/ipfs-core/src/index.js 1:0-62 22:22-34
@ ./src/scenes/dev/ipfsDemo.ts 7:0-34 71:27-38
@ ./src/scenes/dev/ lazy ^\.\/.*$ namespace object ./ipfsDemo.ts ./ipfsDemo
@ ./src/createScene.ts 5:11-41
johndavis@Johns-MacBook-Pro babylonjs-webpack-es6 % ipfs add dist -r -w
added QmQta9dkS8SaDseoinoJVFR8TtQ15NkCp5aTrdYcR1iZXB dist/9b31293ea96c8dfa518b45622da82a13.jpg
added QmPGbMufnBNm5CocEdi8CKvVHEz1B1RMgFtuWWrh7AhpDg dist/index.html
added QmZVfrQXptuifq99UvLM8VHgCt5ahNqwrdBsiDMdSxTR7s dist/js/231.babylonBundle.js
added QmeLSYCX8qmF66wCACWgybKgs8AmRNjdg31Ugs83BDpVZ8 dist/js/231.babylonBundle.js.map
added QmfPWhPG2LrVnPzngFykgoXdXDBHPvj833JzyoTtDKFUcw dist/js/327.babylonBundle.js
added QmeJzA5zoQHCwL6mYxZCBBtics8qeexF68U7FVhqPVRYES dist/js/327.babylonBundle.js.LICENSE.txt
added QmUaDSAN3dApw37QuDo23i4rDTxoeX1kh1jgczhjMcfnvf dist/js/327.babylonBundle.js.map
added QmfJ44dNKUQitMqTqkiHTmDEUMiegA4ekQEvNd7ra1NjZ9 dist/js/363.babylonBundle.js
added QmVxUCqPX7sCgZ6WWXioWZCJ7TZV7L8BLkp3u3RsViLxZW dist/js/363.babylonBundle.js.map
@unicomp21
unicomp21 / gist:82aa69f07a3f04dd0b4bd2d9b989c1ed
Created March 19, 2023 19:07
Is there nuclear fusion on Jupiter?
rank fusion approaches, including helion energy
Fusion energy is an attractive option for clean, sustainable, and virtually limitless power generation. Several approaches are being explored by research institutions and companies worldwide. Here, we rank some of the prominent fusion approaches, including Helion Energy, based on their current progress, technological maturity, and potential for commercialization:
Magnetic Confinement Fusion (MCF) - Tokamak
The most advanced and well-funded approach is the Tokamak, a doughnut-shaped device that uses magnetic fields to confine the plasma. ITER (International Thermonuclear Experimental Reactor) is the largest Tokamak project, involving 35 countries and representing significant progress in MCF.
Magnetic Confinement Fusion (MCF) - Stellarator
The Stellarator is another MCF approach with a more complex twisted design compared to the Tokamak. The Wendelstein 7-X in Germany is the most advanced Stellarator project, though it is not as mature as the Tokamak approach.