RSSAmplifier

Blog

Nate Tracy-Amoroso’s Homepage

Tech and Whatever Else

n8ta.comRSS feed ↗10 posts

Latest posts

Setting up llvm for inkwell on macOS

git clone https://github.com/llvm/llvm-project.git cd llvm-project git checkout remotes/origin/release/13.x mkdir build && cd build cmake ../llvm -DCMAKE_INSTALL_PREFIX=$HOME/llvm-13 cmake --build . --target install

What to do when mysql’s .binlog files are filling up the disk

Woke up to alerts that websites were down. Quickly find that the disk is full with df -h. Next up why. Install ncdu with apt-get install ncdu and view a tree of my directories and their sizes.

Don’t make me wait

Servers are lovely. They run 24/7, they do their work immediately, and they usually manage to do a few things at time. Beautiful.

Ask not if async/await is good enough for you, ask if you are you good enough for async/await

async Task<int> doesYourCodeLookLikeThisAsync() { var ifItDoes = await this.YouMightFindThat(); var thereWasNoPoint = await to.usingAsyncAwait(); because.There = await isNoParalellism(that, we, can exploit, here); becuase.What = await youActuallyWanted(was, to, make, single-thread, code, faster); // but that is hard so instead just use // async await and that'll make everythign faster somehow. }

Scancodes for the windows keyboard in a machine readable format

scancodes.txt

The Permissions-Policy header still sucks; it’s been 3 years

The HTTP header permissions policy (formerly feature-policy) controls what features the page can use. Eg. USB, accelerometer, battery, camera…

What’s up with null in c# (and c, cpp, etc…)

I constantly see this at work

mysql 5.7 per query timeout with optimizer hints in rails 6.0 and plain sql

MySQL >= 5.7 allows a per query timeout as an optimizer hint. It only works for SELECT.

Struggling to replace master slave, how about shepard sheep?

Master and slave are everywhere in computer science.

Why is there a chip shortage? Crap like this!

We’ve heard a lot about how a lack of silicon chips is crippling manufacturing. I hold the opposite view, manufacturing is being crippled by a surplus of silicon. I just left the lovely state of Florida and while there I saw this fantastic light switch panel.