I hereby claim:
- I am DianaNites on github.
- I am diananites (https://keybase.io/diananites) on keybase.
- I have a public key whose fingerprint is BF05 82BE DF79 A673 283F DC3D FDAC 733A CFB8 3838
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
(This is a translation of the original article in Japanese by moratorium08.)
(UPDATE (22/3/2019): Added some corrections provided by the original author.)
Writing your own OS to run on a handmade CPU is a pretty ambitious project, but I've managed to get it working pretty well so I'm going to write some notes about how I did it.
/* SPDX-License-Identifier: MIT */ | |
/* | |
* On Linux, Steam periodically calls SDL_DisableScreenSaver() so your | |
* screensaver doesn't work with the Steam client open even if you aren't | |
* playing a game, as described in | |
* https://github.com/ValveSoftware/steam-for-linux/issues/5607 . | |
* | |
* To fix this, LD_PRELOAD a library that replaces SDL_DisableScreenSaver() | |
* with a no-op if the executable calling it is Steam, but otherwise let it |
I've bought the Valve Index VR headset and wanted to play on Linux. I had done a lot of tinkering with my Linux Machine up to this point so quite a few things on the headset initially had issues working alright.
I have listed all of the problems I encountered on ArchLinux with Valve Index and Steam VR in this post and how I managed to solve nearly all of them.
When I first plugged in my headset, turned on the controllers and started
//add each line as a muted phrase to remove suggested tweets and accounts from your timeline (also use latest tweets instead of home) | |
RankedOrganicTweet | |
ActivityTweet | |
suggest_ranked_organic_tweet | |
suggest_sc_tweet | |
suggest_ranked_timeline_tweet | |
suggest_grouped_tweet_hashtag | |
suggest_pyle_tweet | |
suggest_recycled_tweet_inline | |
suggest_activity_tweet |
Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
ActivityTweet | |
generic_activity_highlights | |
generic_activity_momentsbreaking | |
RankedOrganicTweet | |
suggest_activity | |
suggest_activity_feed | |
suggest_activity_highlights | |
suggest_activity_tweet |
# wavfile.py (Enhanced) | |
# Date: 20180430_2335 Joseph Basquin | |
# | |
# URL: https://gist.github.com/josephernest/3f22c5ed5dabf1815f16efa8fa53d476 | |
# Source: scipy/io/wavfile.py | |
# | |
# Added: | |
# * read: also returns bitrate, cue markers + cue marker labels (sorted), loops, pitch | |
# See https://web.archive.org/web/20141226210234/http://www.sonicspot.com/guide/wavefiles.html#labl | |
# * read: 24 bit & 32 bit IEEE files support (inspired from wavio_weckesser.py from Warren Weckesser) |
// | |
// wavecuepoint.c | |
// Created by Jim McGowan on 29/11/12. | |
// jim@bleepsandpops.com | |
// jim@malkinware.com | |
// | |
// This function reads a .wav file and a text file containing marker locations (specified as frame indexes, one per line) | |
// and creates a new .wav file with embedded cue points for each location. The code is standard, portable C. | |
// | |
// For a full description see http://bleepsandpops.com/post/37792760450/adding-cue-points-to-wav-files-in-c |