EMBII Updated 2025-07-16
One of the dudes from the AtomSea & EMBII Bitcoin-based file upload system.
- github.com/embiimob
- Real name: likely "Eric Bobby" according to:According to Figure "
Loraine.jpg" however, his mother's name was "Loraine Elizabeth White", so there's some chance his real family name is Mr. White.However according to bitfossil.org/937f70bf641ccabaf623772367df64bd867ad44c53fd227d01f2662e74aeacbf/ his daughter is Maddy Bobby, so maybe he is actually Bobby. - twitter.com/EMBII4U
- twitter.com/TheAtomSea/status/990318090738196481 sample link
- x.com/EMBII4U/status/1901769408453718146 possibly retired in 2021 after working as a barista
- he seems to have been quite interested in natural science at around high school before he decided to waste his life as a crypto artist
- x.com/EMBII4U/status/1936278732760666236:
I was science student of the year 1992 all because of molecular biology for real
- x.com/EMBII4U/status/1727331097447428199 a love declaration to Marie Curie
qiskit/initialize.py Updated 2025-07-16
In this example we will initialize a quantum circuit with a single CNOT gate and see the output values.
By default, Qiskit initializes every qubit to 0 as shown in the qiskit/hello.py. But we can also initialize to arbitrary values as would be done when computing the output for various different inputs.
Output:which we should all be able to understand intuitively given our understanding of the CNOT gate and quantum state vectors.
┌──────────────────────┐
q_0: ┤0 ├──■──
│ Initialize(1,0,0,0) │┌─┴─┐
q_1: ┤1 ├┤ X ├
└──────────────────────┘└───┘
c: 2/═════════════════════════════
init: [1, 0, 0, 0]
probs: [1. 0. 0. 0.]
init: [0, 1, 0, 0]
probs: [0. 0. 0. 1.]
init: [0, 0, 1, 0]
probs: [0. 0. 1. 0.]
init: [0, 0, 0, 1]
probs: [0. 1. 0. 0.]
┌──────────────────────────────────┐
q_0: ┤0 ├──■──
│ Initialize(0.70711,0,0,0.70711) │┌─┴─┐
q_1: ┤1 ├┤ X ├
└──────────────────────────────────┘└───┘
c: 2/═════════════════════════════════════════
init: [0.7071067811865475, 0, 0, 0.7071067811865475]
probs: [0.5 0.5 0. 0. ]quantumcomputing.stackexchange.com/questions/13202/qiskit-initializing-n-qubits-with-binary-values-0s-and-1s describes how to initialize circuits qubits only with binary 0 or 1 to avoid dealing with the exponential number of elements of the quantum state vector.
Andrew Wiles Updated 2025-07-16
AMDGPU Updated 2025-07-16
Bibliography:
Install Conda on Ubuntu Updated 2025-07-16
Tested on Ubuntu 20.04:Add to your and then to use it on a shell e.g. with Python 3.9 create the environment with:and then use it with:Now you can use
mkdir -p ~/miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm -rf ~/miniconda3/miniconda.sh.bashrc:PATH="$PATH:$HOME/miniconda3/bin"conda create -y -n mytest3.9 python=3.9eval "$(command conda 'shell.bash' 'hook' 2> /dev/null)"
conda activate mytest3.9python and pip normally from inside that mytest3.9 environment.At that time, the exact installer under
latest appears to have been: repo.anaconda.com/miniconda/Miniconda3-py311_23.11.0-2-Linux-x86_64.sh Project Xanadu Updated 2025-07-16
Crazy overlaps with Ciro Santilli's OurBigBook Project, Wikipedia states:
Administrators of Project Xanadu have declared it superior to the World Wide Web, with the mission statement: "Today's popular software simulates paper. The World Wide Web (another imitation of paper) trivialises our original hypertext model with one-way ever-breaking links and no management of version or contents.
AI research entity Updated 2025-07-16
AGI blues Updated 2025-07-16
Term invented by Ciro Santilli, similar to "nuclear blues", and used to describe the feeling that every little shitty job you are doing (that does not considerably help achieving AGI) is completely pointless given that we are likely close to AGI as of 2023.
Obsidian (software) Updated 2025-07-16
Good:
- WYSIWYG
- Extended-Markdown-based
- help.obsidian.md/Getting+started/Sync+your+notes+across+devices they do have a device sync mechanism
- it watches the filesystem and if you change anything it gets automatically updated on UI
- help.obsidian.md/links#Link+to+a+block+in+a+note you can set (forcibly scoped) IDs to blocks. But it's not exposed on WYSIWYG?
Bad:
- forced ID scoping on the tree as usual
- no browser-only editor, it's just a local app apparently:
- obsidian.md/publish they have a publish function, but you can't see the generated websites with JavaScript turned off. And they charge you 8 dollars / month for that shit. Lol.
- block elements like images and tables cannot have captions?
- they kind of have synonyms: help.obsidian.md/aliases but does it work on source code?
FFmpeg sound synthesis Updated 2025-07-16
Simple sines and variants:
- unix.stackexchange.com/questions/82112/stereo-tone-generator-for-linux/536860#536860
- stackoverflow.com/questions/5109038/linux-sine-wave-audio-generator/57610684#57610684
- superuser.com/questions/724391/how-to-generate-a-sine-wave-with-ffmpeg
- stackoverflow.com/questions/59551013/how-to-generate-stereo-sine-wave-using-ffmpeg-with-different-frequencies-for-eac/77730492#77730492
AerError: 'unknown instruction Updated 2025-07-16
You get an error like this if you forget to call Related: quantumcomputing.stackexchange.com/questions/34396/aererror-unknown-instruction-c-unitary-while-using-control-unitary-operator/35132#35132
qiskit.transpile():qiskit_aer.aererror.AerError: 'unknown instruction: QFT' City of Light: The Story of Fiber Optics Updated 2025-07-16
Ollama Updated 2025-07-16
Ollama is a highly automated open source wrapper that makes it very easy to run multiple Open weight LLM models either on CPU or GPU.
Its README alone is of great value, serving as a fantastic list of the most popular Open weight LLM models in existence.
Install with:
curl https://ollama.ai/install.sh | shOn P14s it runs on CPU and generates a few tokens per second, which is quite usable for a quick interactive play.
As mentioned at github.com/jmorganca/ollama/blob/0174665d0e7dcdd8c60390ab2dd07155ef84eb3f/docs/faq.md the downloads to under The file:gives a the exact model name and parameters.
/usr/share/ollama/.ollama/models/ and ncdu tells me:--- /usr/share/ollama ----------------------------------
3.6 GiB [###########################] /.ollama
4.0 KiB [ ] .bashrc
4.0 KiB [ ] .profile
4.0 KiB [ ] .bash_logout/usr/share/ollama/.ollama/models/manifests/hf.co/mlabonne/Meta-Llama-3.1-8B-Instruct-abliterated-GGUF/Q2_KWe can also do it non-interactively with:which gave me:but note that there is a random seed that affects each run by default. ollama-expect is an attempt to make the output deterministic.
/bin/time ollama run llama2 'What is quantum field theory?'0.13user 0.17system 2:06.32elapsed 0%CPU (0avgtext+0avgdata 17280maxresident)k
0inputs+0outputs (0major+2203minor)pagefaults 0swapsSome other quick benchmarks from Amazon EC2 GPU on a g4nd.xlarge instance which had an Nvidia Tesla T4:and on Nvidia A10G in an g5.xlarge instance:
0.07user 0.05system 0:16.91elapsed 0%CPU (0avgtext+0avgdata 16896maxresident)k
0inputs+0outputs (0major+1960minor)pagefaults 0swaps0.03user 0.05system 0:09.59elapsed 0%CPU (0avgtext+0avgdata 17312maxresident)k
8inputs+0outputs (1major+1934minor)pagefaults 0swapsIt tends to babble quite a lot by default, but eventually decides to stop.
Ciro Santilli's open source contributions Closed source Updated 2025-07-16
Disclaimer: closed source vendors tend to be highly secretive, solving small issues without any reply, so I use my best judgement given the lack of feedback.
WikiAlpha Updated 2025-07-16
WikiAlpha is an alternative to Wikipedia, where the main difference is that our deletion policy is far more lenient with regard to notability requirements. Basically, WikiAlpha is a near-indiscriminate collection of information in the form of articles on any topic: you can create an article about the band you just started, your pet dog, yourself, your house - as long as your content does not fall under our speedy deletion policy, it will likely remain on the site forever!
a165c82cf21a6bae54dde98b7e00ab43b695debb59dfe7d279ac0c59d6043e24 Updated 2025-07-16
Sister transaction of 4373b97e4525be4c2f4b491be9f14ac2b106ba521587dad8f134040d16ff73af with another variant of the XSS but without IF and
OP_FROMALTSTACK, thus making it spendable:OP_ADD OP_ADD 13 OP_EQUAL <large xss constant> OP_DROP 77822fd6663c665104119cb7635352756dfc50da76a92d417ec1a12c518fad69 Updated 2025-07-16
Ouptut 0 disassembles as:The large constant contains an ASCII Bitcoin Core patch entitled
OP_IF OP_INVALIDOPCODE 4effffffff <large constant> OP_ENDIFRemove (SINGLE|DOUBLE)BYTE so presumably this is a proof of concept:From a3a61fef43309b9fb23225df7910b03afc5465b9 Mon Sep 17 00:00:00 2001
From: Satoshi Nakamoto <satoshin@gmx.com>
Date: Mon, 12 Aug 2013 02:28:02 -0200
Subject: [PATCH] Remove (SINGLE|DOUBLE)BYTE
I removed this from Bitcoin in f1e1fb4bdef878c8fc1564fa418d44e7541a7e83
in Sept 7 2010, almost three years ago. Be warned that I have not
actually tested this patch.
---
backends/bitcoind/deserialize.py | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/backends/bitcoind/deserialize.py b/backends/bitcoind/deserialize.py
index 6620583..89b9b1b 100644
--- a/backends/bitcoind/deserialize.py
+++ b/backends/bitcoind/deserialize.py
@@ -280,10 +280,8 @@ opcodes = Enumeration("Opcodes", [
"OP_WITHIN", "OP_RIPEMD160", "OP_SHA1", "OP_SHA256", "OP_HASH160",
"OP_HASH256", "OP_CODESEPARATOR", "OP_CHECKSIG", "OP_CHECKSIGVERIFY", "OP_CHECKMULTISIG",
"OP_CHECKMULTISIGVERIFY",
- ("OP_SINGLEBYTE_END", 0xF0),
- ("OP_DOUBLEBYTE_BEGIN", 0xF000),
"OP_PUBKEY", "OP_PUBKEYHASH",
- ("OP_INVALIDOPCODE", 0xFFFF),
+ ("OP_INVALIDOPCODE", 0xFF),
])
@@ -293,10 +291,6 @@ def script_GetOp(bytes):
vch = None
opcode = ord(bytes[i])
i += 1
- if opcode >= opcodes.OP_SINGLEBYTE_END and i < len(bytes):
- opcode <<= 8
- opcode |= ord(bytes[i])
- i += 1
if opcode <= opcodes.OP_PUSHDATA4:
nSize = opcode
--
1.7.9.4bitcointalk.org/index.php?topic=5231222.0 discusses what happens if there is an invalid opcode in a branch that is not taken.
nodejs/read_child_process_lines.js Updated 2025-07-16
Brits can't say "no" directly Updated 2025-07-16
If you ask for something, and they don't want to do it for whatever reason, they won't say no. They will say "I could do it, sure, no problem" and just never do it, nor explain why they don't want to do it!
And then if you don't understand that this actually meant "no" and push things further, they might eventually say "no", but they might become offended that you didn't understand them at first!
Please just say at least "yes" or "no". And if you're feeling specially nice, say "why no" which helps a lot the asker sometimes, though that's optional since people are entitled to their privacy. Just don't waste our poor foreigners' time with "bhlarmeh"!
Perhaps East Asia is a similar and more severe case of the same problem. But at least in their case it is so obvious that you already expect it.
The polar opposite apparently being Germans and the like.
Why we can't find more bibliography on this?
- www.reddit.com/r/AskUK/comments/ywt98p/why_are_british_people_so_indirect/ "Why are British people so indirect?". Now deleted body with some fixes, bullshit deletion procedure they have:The best comment:I've worked with people from all over the globe, but its when i work Work with British people it's always frustrating.From conversations to communicating what they would like me to do for them in notes. Never direct. Confusing and unclear. When I ask politely what they are asking me to do I get some patronising passive aggressive BS.Most times I don't even have to ask questions or clear things up. I try to make sense of everything, but sometimes I have to ask. In my job its important that I have the exact facts. I need 100% clarity from colleagues, so decisions I make don't come back to bite me on the ass. My clients don't have time for British behaviour like that. I don't have time for that.Why are Brits do indirect and passive aggressive in the workplace?
- www.facebook.com/soverybritish/posts/things-that-mean-no-yeah-could-do-im-easy-really-well-yes-and-no-well-see-maybe-/1497343080313575/
Things that mean "no" by "Very British Problems": - letstalk.voiceprint.global/talking-with-the-brits-the-problem-with-indirectness/ "Talking with the Brits - the problem with indirectness"
How I Faked Being American interview with Jack Barsky
. Source. The former East German spy undercover in the USA says:I had learned to speak English and write it as well as anybody, but I hadn't become an American culturally.My behavior was still very German.Having now learned the difference between the German style and the American style, I have been trying to adjust and soften the way I'm approaching things.Germans are in your face, they will tell you what they think even if you don't ask for it, and they will criticize you at any chance they get.And that was me.Americans will be a little more passive, sometimes passive aggressive, and they wrap everything, every piece of bad news, in some kind of a velvet cloth so it doesn't hurt that much.
react/ref-click-counter.html Updated 2025-07-16
Dummy example of using a React
ref This example is useless and to the end user seems functionally equivalent to react/hello.html.It does however serve as a good example of what react does that is useful: it provides a "clear" separation between state and render code (which becomes once again much less clear in React function components.
Notably, this example is insane because at:we are extracing state from some random HTML string rather than having a clean JavaScript variable containing that value.
<button onClick={() => {
elem.innerHTML = (parseInt(elem.innerHTML) + 1).toString()In this case we managed to get away with it, but this is in general not easy/possible.
Unlisted articles are being shown, click here to show only listed articles.
