I hereby claim:
- I am restioson on github.
- I am restioson (https://keybase.io/restioson) on keybase.
- I have a public key ASAMBChw2-kQaABKSxFJx1Rrtxrc-lV0Cj9DC5l5kOWcqgo
To claim this, I am signing this object:
| # Import discord.py | |
| import discord | |
| import asyncio | |
| client = discord.Client() | |
| @client.event | |
| async def on_ready(): |
I hereby claim:
To claim this, I am signing this object:
| """Code I wrote in school to graph stuff""" | |
| import turtle | |
| import math | |
| import traceback | |
| import _tkinter | |
| import sys | |
| import tkinter.messagebox | |
| import tkinter.simpledialog |
| fun main(args: Array<String>) { | |
| if (args[0] == "start") { | |
| launch(CommonPool) { | |
| println("Launching") | |
| SerialisationHelper.test() | |
| println("Finished") | |
| } | |
| } |
| /* | |
| * This example is about using coroutines as state machines, | |
| * in the same thread rather than as threads for asynchronous | |
| * operations. It allows you to write sequential code such as | |
| * code that waits for something to happen ONCE and then does | |
| * something, essentially equivalent to adding an event | |
| * listener which removes itself after it has run, but | |
| * avoiding callback hell. | |
| */ |
| def transform(last): | |
| """Transforms the last sentence of disagreement into the next""" | |
| # Strip the "I disagree with..." part from the setence, so that | |
| # we can work with just chains of "[your|my] disagreement of..." | |
| next = last[len("I disagree with "):] | |
| # Rotate your <-> my | |
| next = next.replace("your", "p_my") | |
| next = next.replace("my", "p_your") | |
| next = next.replace("p_my", "my") |
| //! Custom cell impl, internal use only | |
| use std::{cell::UnsafeCell, fmt, rc::Rc}; | |
| use criterion::{black_box, criterion_group, criterion_main, Criterion}; | |
| use std::cell::RefCell; | |
| pub(crate) struct Cell<T> { | |
| inner: Rc<UnsafeCell<T>>, | |
| } | |
| impl<T> Clone for Cell<T> { |
| Benchmarking custom cell get_ref | |
| Benchmarking custom cell get_ref: Warming up for 3.0000 s | |
| Benchmarking custom cell get_ref: Collecting 100 samples in estimated 5.0000 s (79M iterations) | |
| Benchmarking custom cell get_ref: Analyzing | |
| custom cell get_ref time: [24.690 ns 24.739 ns 24.801 ns] | |
| change: [-0.6441% -0.3533% -0.0692%] (p = 0.02 < 0.05) | |
| Change within noise threshold. | |
| Found 3 outliers among 100 measurements (3.00%) | |
| 1 (1.00%) low severe | |
| 2 (2.00%) high severe |
For sure :) I'm still very new at 3D printing so this is what I've managed to figure out over the last two weeks or so. I've since modified them past the above print. Also worth noting that I hit this with a heat gun to get rid of filament strings.
I am printing on a Bambu A1 Mini, 0.2mm nozzle, with BuildVolume PLA High Speed, Grey. That is a South African brand so may not be relevant for you.
Printer settings - I just kept stock A1 mini
Filament settings: