summaryrefslogtreecommitdiffstats
path: root/ancillary
diff options
context:
space:
mode:
authorTyler Davis <tyler@gluecode.net>2025-01-01 04:30:44 +0000
committerTyler Davis <tyler@gluecode.net>2025-01-01 04:30:44 +0000
commitc45e70c605f2a56951d37decdaabf68d30b23994 (patch)
tree30414817c77b5ab7958018157f6c96ee0faad8e8 /ancillary
parent19c35c7941e1573780ce1a96c0208f81af3971d7 (diff)
downloadjournal-c45e70c605f2a56951d37decdaabf68d30b23994.tar.gz
journal-c45e70c605f2a56951d37decdaabf68d30b23994.zip
Adding ancillary files
Diffstat (limited to 'ancillary')
-rw-r--r--ancillary/house.md43
-rw-r--r--ancillary/kafka_notes.md18
-rw-r--r--ancillary/quotes.md79
-rw-r--r--ancillary/snippets.md50
4 files changed, 190 insertions, 0 deletions
diff --git a/ancillary/house.md b/ancillary/house.md
new file mode 100644
index 0000000..269a90a
--- /dev/null
+++ b/ancillary/house.md
@@ -0,0 +1,43 @@
+# House Data
+
+## Colors
+
+Ceiling: SW 7008 Alabaster Flat (Eggshell for Bathroom)
+
+Trim: SW 7103 Whitetail (Semi gloss finish) Promar200, same all over
+
+Walls: Honied White (7106) Flat \
+Downstairs: Cashmere, Upstairs: Promar200
+
+Bathroom: SW 7511 Bungalow Beige \
+Downstairs: eggshell, Upstairs: semi gloss
+
+Fence staining: Sherwin Williams SD2 Y 51 \
+Exterior Wood Stain, Cedar Tone Natural, Transparent. \
+6511-18812
+
+Exterior paint
+
+Body: Gauntlet Grey (SW 7019) \
+Trim: Pure White (SW 7005) \
+Small Trim: Tricorn Black (SW 6258) \
+
+(All Sherwin Williams paints)
+
+## Doors
+
+All 2x4 exterior doors (4" exterior wall) \
+
+Back door \
+Opening 31" wide, 81" high \
+29 3/4" wide door
+
+Garage \
+Opening 32" wide, 81.5" high \
+30" door
+
+Front \
+Opening 93" high with transom, 66" wide with sidelights \
+Door opening 39" wide, 82" high \
+36" door
+
diff --git a/ancillary/kafka_notes.md b/ancillary/kafka_notes.md
new file mode 100644
index 0000000..e0880b0
--- /dev/null
+++ b/ancillary/kafka_notes.md
@@ -0,0 +1,18 @@
+# Kafka
+
+```
+Msg_Size * Msg_Freq/second * (Replication_factor + 1) = inbound_rate
+
+inbound_rate must be < 50% sustained network throughput
+(c5.2xlarge = 2.5gbit sustained, so no more than 1.3gbit => 162.5megabyte/sec)
+
+D_days retention => inbound_rate * 86400s/day = total_storage
+
+1 gigabit == 125,000 kbyte
+
+Process 5000 msg/sec uncompressed, 4500 msgs/sec with compression turned on
+(expect 10% perf penalty) — leader partitions only
+
+-> Ratios: 1 CPU core, 2GB Memory, ~300mbit network, ~1250 IOPS, ~35 MB/s disk throughput.
+```
+
diff --git a/ancillary/quotes.md b/ancillary/quotes.md
new file mode 100644
index 0000000..f24cf51
--- /dev/null
+++ b/ancillary/quotes.md
@@ -0,0 +1,79 @@
+# Quotes
+
+---
+From book “Just enough research”
+
+In order to influence decisions with evidence, you have to work _with_ existing beliefs, not against them. You need to create interest and establish credibility before the results come in, or your findings will pile up and gather dust. And you don't even have to get people to care about "research" as a concept, as long as you can get them to embrace reality as a constraint. I like "evidence-based design" as a rallying cry, because if your design isn't based on evidence, then what is it based on? Keep the focus on shared goals and decisions.
+
+---
+
+"Conservatives say they long for the simpler times of their childhood, but what they miss is that the reason they lived simpler lives back then wasn't that the _times_ were simpler; rather, it's because they were _children_."
+
+---
+
+“No man chooses evil because it is evil; he only mistakes it for happiness, the good he seeks."
+
+---
+
+"Just because you're on their side, it doesn't mean they're on your side."
+
+---
+
+Edmund Burke once said that the only thing necessary for the triumph of evil is for good men to do nothing. I think that begs a question.
+
+If you do nothing, what makes you any fucking good?
+
+---
+(UK)
+
+That's some pretty big talk from the world's leading supplier of independence days.
+
+---
+
+Scalzi’s law: The failure mode of clever is “asshole.” \
+Dwyer’s corollary: The failure mode of friendly is “creepy.”
+
+---
+
+Pournelle's Iron Law of Bureaucracy states that in any bureaucratic organization there will be two kinds of people":
+
+>First, there will be those who are devoted to the goals of the organization. Examples are dedicated classroom teachers in an educational bureaucracy, many of the engineers and launch technicians and scientists at NASA, even some agricultural scientists and advisors in the former Soviet Union collective farming administration.
+>
+>Secondly, there will be those dedicated to the organization itself. Examples are many of the administrators in the education system, many professors of education, many teachers union officials, much of the NASA headquarters staff, etc.
+
+The Iron Law states that in every case the second group will gain and keep control of the organization. It will write the rules, and control promotions within the organization.
+
+---
+
+“No innovation, no matter how life-changing and transformative, prospers unless it finds a receptive environment. It needs to be born into the right time and place, or it will fail. No innovation succeeds on its own merit.”
+
+---
+
+We can solve our problems, but it's not clear that we can solve our problems and get rich at the same time, and that is the current requirement for all solutions.
+
+---
+
+When you have a lack of quality teachers, when people don't know what to do, they begin to grasp at certain ideas that they don't really understand.
+
+---
+
+Every previous revolutionary movement in human history has made the same basic mistake. They’ve all seen power as a static apparatus, as a structure. And it’s not. It’s a dynamic, a flow system with two possible tendencies. Power either accumulates, or it diffuses through the system. In most societies, it’s in accumulative mode, and most revolutionary movements are only really interested in reconstituting the accumulation in a new location. A genuine revolution has to reverse the flow. And no one ever does that, because they’re all too fucking scared of losing their conning tower moment in the historical process. If you tear down one agglutinative power dynamic and put another one in its place, you’ve changed nothing. You’re not going to solve any of that society’s problems, they’ll just reemerge at a new angle. You’ve got to set up the nanotech that will deal with the problems on its own. You’ve got to build the structures that allow for diffusion of power, not re-grouping. Accountability, democratic access, systems of constituted rights, education in the use of political infrastructure.
+
+---
+
+Face the facts. Then act on them. It’s the only mantra I know, the only doctrine I have to offer you, and it’s harder than you’d think, because I swear humans seem hardwired to do anything but. Face the facts. Don’t pray, don’t wish, don’t buy into centuries-old dogma and dead rhetoric. Don’t give in to your conditioning or your visions or your fucked-up sense of ... whatever. Face the facts. Then act.
+
+---
+
+Wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? So, now I take great comfort in the general hostility and unfairness of the universe.
+
+---
+
+Guys like you confuse words with action. I don't. So I will be very, very clear. If you, or anyone in your family try to take her away from me, we will be done. There will be nothing left to *say*. And believe me, the last thing you want is me with nothing left to say.
+
+---
+
+The personal, as everyone’s so fucking fond of saying, is political. So if some idiot politician, some power player, tries to execute policies that harm you or those you care about, take it personally. Get angry. The Machinery of Justice will not serve you here – it is slow and cold, and it is theirs, hardware and soft-. Only the little people suffer at the hands of Justice; the creatures of power slide from under it with a wink and a grin. If you want justice, you will have to claw it from them. Make it personal. Do as much damage as you can. Get your message across. That way, you stand a better chance of being taken seriously next time. Of being considered dangerous. And make no mistake about this: being taken seriously, being considered dangerous marks the difference - the only difference in their eyes - between players and little people. Players they will make deals with. Little people they liquidate. And time and again they cream your liquidation, your displacement, your torture and brutal execution with the ultimate insult that it’s just business, it’s politics, it’s the way of the world, it’s a tough life and that it’s nothing personal. Well, fuck them. Make it personal.
+
+---
+
diff --git a/ancillary/snippets.md b/ancillary/snippets.md
new file mode 100644
index 0000000..f150b9e
--- /dev/null
+++ b/ancillary/snippets.md
@@ -0,0 +1,50 @@
+# Code Snippets
+
+/dev/dk4
+
+netbsd:
+
+```
+cvs update -dP;
+./build.sh -j 48 -c clang -O /usr/obj/ -T /usr/tools/ -U -u distribution kernel=GENERIC ;
+./build.sh -j 48 -c clang -O /usr/obj/ -T /usr/tools/ -U -u install=/ ;
+```
+
+---
+
+macos:
+- `sudo pmset` lets you disable / set sleep delays
+
+---
+
+IRC - Populate the last twenty messages for a channel
+```
+/quote CHATHISTORY LATEST #sr.ht.watercooler * 20
+```
+---
+
+JS -
+
+```
+// Get Youtube RSS feed
+javascript:(function() {
+ var url = (document.querySelector('link[type="application/rss+xml"]') || '').href;
+ if (url !== undefined) {
+ return location.href = url;
+ }
+ try {
+ var channelId = ytplayer.config.args.ucid;
+ location.href = 'https://www.youtube.com/feeds/videos.xml?channel_id=' + channelId;
+ }
+ catch (TypeError) {
+ console.error('YouTube RSS feed bookmarklet: Could not find a channel RSS feed');
+ }
+})();
+```
+
+Explanation of build version:
+
+> BUILD_VERSION=`git log --oneline | wc -l|tr -d ' '`-`git rev-parse HEAD|head -c 10`
+>
+> This produces a version of the format `<commit count>-<unique hash>` satisfying the approximate magnitude of change and providing an easy way of determining newness (barring any incidents of force-push rebase operations). Version 4123-2f1df15079 is going to be newer than 4007-fc036c4ee0, sorts properly when using most sorts, and (due to the hash value) guarantees that if versions are produced independently (say by two different developers) they will not have the same version.
+