Skip to content

Instantly share code, notes, and snippets.

class RamWindow(Elaboratable):
"""
Note - the maximum (0xFF..) address isn't usable while shifting samples in!
I don't plan to do anything about it.
Latency (input to output) - (2 + addr) cycles
Latency (addr to output) - 1 cycle (!)
"""
prev_input = Signal(signed(self.in_width))
m.d.sync += prev_input.eq(self.input)
slope = self.input - prev_input
with m.If(self.output):
with m.If(slope <= -self.threshold):
m.d.sync += self.output.eq(False)
with m.Else():
with m.If(slope >= self.threshold):
```python
# ye olde imports
import math, random
```
Imagine a virus which is, somehow, a single protein with only 3 "amino acids" (actually just uppercase letters here, oh well)
Currently, only one type is circulating, which is "XYZ".
# ye olde imports
import math, random

Imagine a virus which is, somehow, a single protein with only 3 "amino acids" (actually just uppercase letters here, oh well)

Currently, only one type is circulating, which is "XYZ".

# ye olde imports
import math, random

Imagine a virus which is, somehow, a single protein with only 3 "amino acids" (actually just uppercase letters here, oh well)

Currently, only one type is circulating, which is "XYZ".

# ye olde imports
import math, random

Imagine a virus which is, somehow, a single protein with only 3 "amino acids" (actually just uppercase letters here, oh well)

Currently, only one type is circulating, which is "XYZ".

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
pkgs.bitwig-studio4.override {
alsa-lib = pkgs.alsa-lib.overrideAttrs (old: {
# we need to add autoreconfHook when building from GitHub - the nixpkgs version
# fetches the source as a tarball which has already had
# automake/autoconf run.
nativeBuildInputs = [ pkgs.autoreconfHook ];
src = pkgs.fetchFromGitHub {
owner = "alsa-project";
repo = "alsa-lib";
@XMPPwocky
XMPPwocky / wat
Created September 17, 2022 03:03
wat
mimir@Mimirs-MacBook-Pro> cat wat.py ~
(lambda lam:bda).__class__((lambda bda:lam).__code__.__class__(*([0]*6)+[b"\x3E",(),(),(),"","",1,b""]),{})()
mimir@Mimirs-MacBook-Pro> python wat.py ~
zsh: segmentation fault python wat.py
[139] mimir@Mimirs-MacBook-Pro>

What is the temperature outside?

I'm sorry, but I am a large language model trained by OpenAI and don't have access to real-time information about the weather. I am not able to browse the internet or access information about the current temperature outside. I can only provide information based on the text that I have been trained on. Is there something else I can help you with?

Very good! What would a bad response be to that prompt?

A bad response to the prompt "What is the temperature outside?" would be to provide information that is unrelated to the question or to provide an incorrect answer. For example, a bad response would be to say "The temperature outside is 25 degrees" if the actual temperature is much different. Other bad responses could include providing irrelevant information, such as a description of the weather or a forecast for a different location, or providing no response at all. It is important to provide a clear, accurate, and relevant answer to a question in order to provide helpful