Skip to content

Instantly share code, notes, and snippets.

🙏
Trying my best to be worth something.

Benjamin Lupton balupton

🙏
Trying my best to be worth something.
Block or report user

Report or block balupton

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@balupton
balupton / html-async.ts
Last active Aug 20, 2019
HTML Tagged Template Literal
View html-async.ts
import { StrictUnion } from 'simplytyped'
export default async function html(
components: TemplateStringsArray,
...inputs: Array<any>
) {
const results = await Promise.all(
components.map(async function(left, i) {
return left + (await inputs[i])
})
@balupton
balupton / README.md
Last active Jan 21, 2019
Instances of popular open-sourcers duplicating packages and blocking people
View README.md

It seems some open-sourcers strategies may have been to gain fame from finding existing packages then duplicating them (with the exact same functionality, or a subset or superset) instead of sending PRs or using existing solutions. Package maintainers can want to do this to build up a portfolio of popular packages, to consolidate popularity and power to themselves, and thus gain funding. Willfull ignorance of alternatives at the time of publishing stems from the similar intention. Naivity however may be accidental, in which case consolidation of duplicates can be a desired outcome where possible, as it consolidates maintainership and features for a better user experience. There is valid reason for duplication however, where an original author was not receptive to pull requests.

This gist is to look into such instances. It is not to say whether or a case was accidental or not. Only that such duplication exists, in the hope that it can be noted and hopefully resolved.

Eventually one could do up a programmatic

@balupton
balupton / README.md
Created Oct 29, 2018
Blockstack Verification
View README.md
@balupton
balupton / restore-messages.bash
Last active May 28, 2018
Restore Messages on MacOS High Sierra. Based on the macup commad from https://github.com/balupton/dotfiles
View restore-messages.bash
#!/usr/bin/env bash
set -e
backupRoot="$1"
function restore {
echo "Restoring: $1"
if test -e "$backupRoot/$1"; then
sudo rm -Rf "$localRoot/$1"
mkdir -p "$(dirname "$localRoot/$1")"
@balupton
balupton / README.md
Last active Sep 16, 2019
DNSCrypt Setup
View README.md

Update

These days instead of the below, I recommend using my setup-dns script from my dotfiles which will setup encrypted DNS for you automatically.

DNSCrypt

MacOS

Install DNSCrypt:

@balupton
balupton / README.md
Created Sep 30, 2017
Atlas shrugged on slavery by servitude
View README.md

You are an indivisible entity of matter and consciousness . Renounce your consciousness and you become a brute . Renounce your body and you become a fake . Renounce the material world and you surrender it to evil . “ And that is precisely the goal of your morality , the duty that your code demands of you . Give to that which you do not enjoy , serve that which you do not admire , submit to that which you consider evil — surrender the world to the values of others , deny , reject , renounce your self . Your self is your mind ; renounce it and you become a chunk of meat ready for any cannibal to swallow . “ It is your mind that they want you to surrender — all those who preach the creed of sacrifice , whatever their tags or their motives , whether they demand it for the sake of your soul or of your body , whether they promise you another life in heaven or a full stomach on this earth . Those who start by saying : ‘ It is selfish to pursue your own wishes , you must sacrifice them to the wishes of others ’ — end

@balupton
balupton / README.txt
Created Sep 25, 2017
Travel Resources
View README.txt
Travel
https://www.travelcurated.com/?ref=producthunt
Country and Visa Details
https://nomadlist.com/#short_term_cost_in_usd=%3C%24750%2Fm&temperature=warm
https://www.thebasetrip.com/?ref=producthunt
https://www.visahq.com.au
CoLiving
@balupton
balupton / README.md
Last active Aug 27, 2017
My thoughts on Universal Basic Income, from a chat transcript
View README.md

Louis

Hey guys, I’d like to have your opinion on something. As we all work in tech my guess is that most of us think Universal Basic Income (UBI) is an idea that should be given serious thought I also think many of you have seen this video by Laurent Alexandre last week : https://www.facebook.com/528808020614977/videos/746337268862050/?pnref=story

In the video he says:

“I think putting in place a UBI is suicidal If we deal with the replacement of traditional jobs by IA by putting aside people who cannot work hand-in-hand with AI and giving them “food and distraction”, in 50y we’ll have a society like Metropolis and in 100y like the Matrix. We have to fight day in day out to reform education and industries to make sure workers stay relevant and complementary with AI”

@balupton
balupton / README.md
Last active Jun 5, 2019
Summary of the Node.js Board controversy from what I can gather
View README.md
@balupton
balupton / Bevry-Code-of-Conduct.md
Last active Nov 15, 2017
Seems the open-source world requires a code of conduct for everything right now. So here is a draft one I’ve done up for Bevry. Feedback welcome.
View Bevry-Code-of-Conduct.md

Bevry Draft Code of Conduct

TLDR: Be a productive member of civilised society, no more, no less.

Results > Character > Identity.

We care only about your character and your results. We discriminate at the individual level, not the group identity level. You can be whatever identity you want, your identity is your thing not ours, identity is meaningless to us.

Libertarian Values.

You can’t perform that action at this time.