2018-11-10

A.D.

A bit of publicly available information, from their website; a 2008 article about National Night Out; and the minutes of a 2011 meeting of the county board.

2018-11-07

PKE in a Browser

Filing away for future use: about the Web Crypto API from 2014 (making the info likely too far out of date) and from 2017, a demo encrypted web chat.  Apparently the library implements RSA, and is available on Github.

Of course, the worry is that the browsers' implementations are compromised, but in the event someone needs to decrypt an encrypted email, it'd be better done locally.  Presuming common PKE methods are supported, that is.

According to a post on StackOverflow, DH was excluded from the Web Crypto API, but ECDH is included.  There's a DH implementation in JavaScript available on GitHub, however.

2018-10-02

Freestanding Decks

This article was useful regarding bracing, which they call “Y bracing”.  I didn’t end up using the “V bracing” for my shed foundation because the plywood subfloor should function similarly—different from usual decking.

2018-09-27

FGMO

A 3rd-year beekeeper I met recently claimed success at knocking down mite counts by fogging with food-grade mineral oil (FGMO).  Beesource has a thread discussing it, with the OP who tried fogging for a while and eventually converting over to oxalic acid vaporization (OAV).  There's also a link to a 2004 USDA study on FGMO that declared it ineffective.

2018-09-05

DemandSphere

CEO Ray G. mentions some formative books.

2018-05-07

Macross

Since the fam and I watched Macross, now I'm into it again, although the modifications from the Robotech version confuse things for me.  A couple interesting links:


I was surprised to see that Macross was released with English subtitles some 15 years ago.  It's neat that it's available on Amazon Prime Instant Video, though!

2018-05-04

Bitcoin Again

2018-05-01

Hacking Ya Life

Goofy, but they make one think.

2018-04-29

Milling a TNACo 80% Receiver

Just in case, here are some instructions, along with a 2-part video series on how to do it [1, 2].

2018-04-25

Expedient Homemade Firearms

Now that Paladin Press is defunct, I'm finding books they used to publish that are now out of print.  I have to wonder how one gets started in the publishing business...and if one could license some of Paladin Press's old texts.

One of the publications was by Philip Luty, Expedient Homemade Firearms.  It sounds like a practical text to have in addition to the more modern version by Cody Wilson.  Unfortunately, a well-used copy is over $100 on Amazon.  Unfortunately, Mr. Luty passed away in 2011, so unless his estate has someone looking to sell the rights to the book, it will likely remain out of print.

2018-04-17

Ethash-Based Alts

I must've posted something like this on Facebook, because I don't see it here.

WhatToMine shows that often Ethash-based altcoins like Expanse (EXP), Ubiq (UBQ), and Musicoin (MUSIC) are at times more profitable than ETH.  Trezor supports EXP and UBQ via MyEtherWallet.  Musicoin apparently can be supported via MEW.  There aren't any such instructions for Metaverse, which for a while last week was the alt on top.  There are a few options, but the lack of easy support makes it a hassle.

The reason I started looking into this is because 1060 cards were still north of $300, but 1050s (non-Ti) were around $150.  The Ethash hashrate of 1050s is shown to be around 13.9 MH/s, whereas 1060s are 22.5 (somewhat optimistically); the power usage is 53W for the former and 70W for the latter.  So the thought was to build a rig of 1050s.  At least before the Antminer E3 came out.

I should've snagged one while it was $800, because I knew I'd be able to use it.  The real problem was that I didn't know where I'd put it...I'm out of space and circuits as it is.  Chance favors the prepared, and I was unprepared when Bitmain opened it up to 5 per person--and of course after Vitalik Buterin's announcement that they weren't going to fight ASICs (until PoS, that is), Bitmain jacked up the price to $1800.

The thing is, a build of 1060s would cost more than an E3 at that price, but the power usage would be 2/3, and it could mine other alts as well.  There's utility in GPUs still, but it's costly and troublesome to maintain.

Bonus: In MEW's FAQs is a link to a place with free SSL certs, which could be useful.  There's gotta be a catch, though.

Children and the State

In my social media travails I've run into the following quote, attributed to Adolf Hitler:
It [the State] must declare the child to be the most precious treasure of the people. . . .  And conversely it must be considered reprehensible: to withhold healthy children from the nation. Here the state must act as the guardian of a millennial future in the face of which the wishes and the selfishness of the individual must appear as nothing and submit.
I was trying to find if this was in fact what was said, since the current progressives in the U.S. seem to be spouting the same line.  It appears to be from Mein Kampf, and Project Gutenberg in Australia has one translation:
It must proclaim the truth that the child is the most valuable possession a people can have. It must see to it that only those who are healthy shall beget children; that there is only one infamy, namely, for parents that are ill or show hereditary defects to bring children into the world and that in such cases it is a high honour to refrain from doing so. But, on the other hand, it must be considered as reprehensible conduct to refrain from giving healthy children to the nation. In this matter the State must assert itself as the trustee of a millennial future, in face of which the egotistic desires of the individual count for nothing and will have to give way before the ruling of the State.
Pretty sick stuff, to lay claim to others' children.

It's odd that the main Project Gutenberg doesn't have the text of Mein Kampf.  Afraid people will read it and be disgusted with the modern-day progs?

What to do if you find a machinegun in the attic

An SOT on Arfcom documented this, and it's informative.

Maybe my second career should be law, specifically firearms law....

Desert Eagle

I've always wanted a Desert Eagle in .50AE.  That Magnum Research is based out of MN is one more reason.  American Rifleman has an interesting FAQA thread on SilencerTalk has a link to a video of a guy shooting a suppressed "Deagle".  Apparently one has to cut down one of the 10" barrels, and even then the gas system spits out much of the pressure.

Estrogen

Ray posted a link to an article on "xenoestrogens," which motivated me to ditch my Soylent subscription.  An article specifically on soy that Jim forwarded wasn't enough, but this did it.

2018-04-06

Tears in Heaven

Lately I've been trying to introduce Kid#1 to songs and movies that I think were formative for me.  Today I had her listen to some Prince, the MTV live clip.  She'd mentioned a kid at school named Boston, who had said something goofy; it made me think of "More Than a Feeling", so I played that for her too.

For some reason, Clapton's "Tears in Heaven" popped into my head, and I went to look up the history on Clapton's young son who died.  There in the references was the sordid history of Clapton's relationship with the wife he had that child with.  And I thought my marital relations were screwed up!

2018-02-11

Python Scripts

If I don't clean these tabs off my phone, they'll be there forever!  Two more:
  1. noethfee.py, a hack to redirect the mining devfee via IP tables, specifically for Claymore
  2. watchdog.py, a script to drive the USB hardware watchdog dongle available on Amazon
I had to run with the latter because the one featured in a YT video, the SSR, is out of stock, and I got sick of the crummy system locking up.  The USB dongle is nice because it has power and reset buttons on it: it avoids the need for a separate cable, and it's nicer, too.  The one I got has a heartbeat LED, although Kid#1 commented it'd be more like a heartbeat if it were red instead of blue.

As one might expect, there's a gotcha.  If the GPUs lock up but the script can still run, then the system doesn't reboot, so there's a window between the software watchdog in Claymore and the hardware watchdog where the rig stays in zombie mode.  Perhaps an IoT power outlet is required to address that case, as well as to log power usage.

Maybe I'll have to learn Python after all; these useful scripts are after all in that language.

Nvidia GPUs & Linux

A couple more non-link-dump link dumps:
  1. Ubuntu Nvidia binary driver howto, which has some troubleshooting info
  2. Using integrated graphics for display, albeit with a laptop; I ran into the login loop, and found elsewhere driver installation via PPA
This is tricky stuff.  Lots of compatibility problems, disinformation, and apathy, and money hangs in the balance.  Mining definitely isn't for everyone.  I'm not sure I'd do it again if I could go back--but I'm kind of committed now, at least until I recoup the hardware costs.

Mining Disinformation

One page on how to build a mining rig claims that WhatToMine shows stock numbers.  No...for GeForce GTX 1060s they list 22.5 MH/s on Ethereum, which is an average overclock.  I have some cards that start out at 15 stock, and only make it to 20 OC'ed.  Some go up to 23.5.  It seems to be the hardware lottery.  I've read that Hynix memory is the stuff that sucks, but I can't run the hardware check because they're all for Windows.

Speaking of, the aforementioned page links to another site that has activation keys for cheap.  I'm thinking it must be pirated somehow, but at $43.49 for Windows 10 Professional and Office 2016, it's tempting....

Mining Rig Power

One amusing thing is that all the GPU risers I see for sale include a SATA-to-6-pin adapter cable.  According to this hugely useful page on "PlayTool", the SATA port can only handle 54W through the 12V pins, whereas the PCIe spec shows the 6-pin connector as required to supply 75W.

In other words, the card could try to draw 75W through a connector only designed for 54W.  Sounds like a fire waiting to happen.  It's unclear how a 120W card would draw power, i.e. if a standard 6-pin is used for the riser and the adapter cable is used for the auxiliary connector, would most of the power come through the riser first?

Well, since I run close to the minimum, 60-75W for 120W cards and 90W for 150W cards, it shouldn't be a problem if 50-50, but if power is pulled through the SATA connector primarily, that wouldn't be good.  I think I'll spend a few extra bucks and get the right kind of cables.

Gigabyte & Mining

Well, I had a hell of a time debugging stability problems with an AX370 Gaming 5.  (Purchased because I didn't want to support Intel after their hardware bug fiasco, so I bought an AMD, and that mobo had a rebate....)  The thing would run for anywhere from 30 minutes to 8 hours, and then lock up.  I had no idea it was the PCIe version, until I saw on an Amazon page for a riser card that you need to use something lower than version 3.  Version 2 didn't help with the Leboo expander card I was using, but version 1 is solid.

The other problem I ran into was that the mobo gets stuck in a boot loop when trying to plug in more than 6 GPUs.  (Note that all 7 are Gigabyte branded!)  This is particularly nasty, because not only do I have to reset the CMOS (push the button), I have to unplug all video cards to get it to work: doing just one or the other is insufficient.  Having one card in the slot, the BIOS a message saying to plug in the auxiliary power connector, and that breaks the boot loop.

Now, I had the F5 BIOS on there, so I flashed F20, which gave a couple more options, like enabling memory above 4GB.  Well...that didn't help either.

Gigabyte has a page on mining using their "Ultra Durable" motherboard line.  The suggestions are:
  1. Update BIOS to the latest one, and enable mining mode
  2. Disable the CSM option for UEFI mode OS
  3. Change Max Link Speed setting from Auto to Gen2
  4. Change Initial Display Output setting from PCIe 1 slot to IGFX
  5. Change Above 4G Decoding setting from Disabled to Enabled
  6. Change Internal Graphics setting from Auto to Enabled
  7. Use UEFI mode to install the OS
Amusingly, elsewhere Gigabyte says to not update the BIOS unless necessary.  I changed Max Link Speed and Above 4G Decoding; there's no option for this board for internal graphics when a PCIe card is plugged in.  Besides, on an Intel system with Nvidia graphics and Linux for an OS, trying to use the internal video causes annoying problems.

The only thing I haven't done is change the CSM option.  Based on my luck so far, I doubt that'll make a difference; then again, one page claims that CSM is a boot support option that is necessary for some video cards.  Even so, that the mobo somehow corrupts the CMOS--as the boot loop persists after switching the PSU off, unplugging it, plugging it back in, and turning it back on--seems like either a hardware compatibility problem or a firmware bug.

Anyway, this screwed me because I wanted to put 12 or 13 cards in this one frame I built.  Now I can only have six.  Perhaps I should try putting more than 6 in the ASRock board I added to my collection....

2018-01-21

EDID for X

In X Window, when running headless, the resolution can be defaulted to something poor since no monitor's attached.  Apparently one can snag the EDID information for the monitor, save it to a file, and specify it in xorg.conf.  One wiki page describes how to extract the EDID info, but nvidia-settings has a means of extracting the monitor EDID info when it's plugged in.  Of course, that wiki's description of how to set up xorg.conf is useful.  The NVIDIA Tips and Tricks wiki also has a description of setting up the EDID for headless operation.

Monero Mining

Nanopool has support for XMR, but only through Claymore, which doesn't have a Linux version for the CPU miner.  One site uses xmr-stak-cpu and another uses cpu-miner-multi.  Looks like a 1060 does about 470 H/s.

CryptoCompare's guide also has several options.  Gotta wonder how a 12-thread Ryzen would do at reduced load concurrent with Ethereum mining.

2018-01-20

OC at Last

Well, the problem was trying to use the onboard video.  Once I shut off the IGA and disabled multiple adapters, gpu-manager quit overwriting my xorg.conf and I was able to follow the rest of the usual steps to overclock the GPUs.  I started off with +100 MHz graphics clock and +500 MHz memory clock, and once I got the EVGA 1060 SC up to +1000 MHz memory, claymore started throwing errors.  Anything over +500 didn't seem to help the hashrate, although I needed to kick the power target on the #3 card up to 80W.  With 100/500 across the board, I'm getting about 21 MH/s rather than 19.5 MH/s, a total of 84 MH/s, up from 79 MH/s.  Not quite a 10% kicker, but it's welcome.

I was reading how ethminer has better optimization for Cuda, so I'm going to have to check out ethminer vs. claymore once I get it compiled.  WhatToMine says I should be getting 90 MH/s for four 1060s.  At least the system power consumption's lower than the 360W they quote; 345W for the whole box.

2018-01-18

Mining Mobo

I'd been wondering why no one bothered to make an out-of-form-factor motherboard with slots spaced for multiple GPUs.  One just showed up in my feed!  The manufacturer's page is a bit sparse, information-wise, so it'd be a bit risky to buy.  They're available on eBay for about $232, shipping included, with estimated delivery in 8-10 weeks.

2018-01-16

Linux Recovery

Well, this is just a note to myself rather than a bunch of weird links.  So...if you do "prime-select intel" on a hybrid graphics system and everything freezes when the boot sequence gets to X:
  1. Hard reboot and wait for the BIOS screen to pass.
  2. Hit Esc to bring up the Grub bootloader menu (holding down Shift didn't work on my system).
  3. Type 'e' on the first entry to edit the boot commands.
  4. On the line with "linux", append " 3" (space, 3).  This will restrict the runlevel to 3, which is multi-user mode.  Alternatively, one could append " single", but single-user mode is perhaps less useful because you can't start X from there, nor do you have network access.
  5. Hit F10 to boot with those options.
  6. Log in and do your thing.  In multi-user console mode, you can hit Ctrl-Alt-1 through 6 to get tty1-6.  Ctrl-Alt-7 is X, usually.  If you have something to try, like fix the graphics selection: "sudo prime-select nvidia ; systemctl stop lightdm ; systemctl start lightdm".

Of course, that may not completely fix things either, but getting access to the system is better than being locked out.

2018-01-14

Installing Nvidia Drivers on Ubuntu

After installing Ubuntu with the Nvidia drivers, nvidia-settings wouldn't display the overclocking options.  Modifying /etc/X11/xorg.conf didn't help, because gpu-manager was overwriting the file.  The Bumblebee module (bbswitch), which is for switching between an integrated GPU and a standalone one, was failing to load, causing gpu-manager to behave badly.  Bumblebee isn't what I need, since I want to run the display on the Intel video and keep the GPUs running for mining.  Apparently this is still a problem with people, since complaints turn up on the BB Git page.

The devs seem to ignore the requests, possibly because it's due to misconfiguration.  Based on my log, it seems that the Nvidia drivers are being loaded prior to gpu-manager invoking modprobe bbswitch.

Two pages turned up with hints on how to resolve the problem.  The first one was easier to follow, but the Nvidia run script failed to build the DKMS module.  There's a second page that may be of help since that first one didn't do the trick....

Incidentally, at one point I'd used nvidia-prime to switch to the Intel driver and upon reboot the login page would freeze.  A page suggested reinstalling ubuntu-desktop, which surprisingly worked.

Follow-up [1/14]: Well, none of that stuff worked.  In fact, using the Nvidia run file, I couldn't even log into X, as it got stuck in a "login loop".  So I ripped out all of that, installed the PPA drivers, and I'm back where I started--what a waste of time.  I guess that's why Linux is free and you have to pay for Windows.  The last thing I have to try is switching off the IGA and using the GPU as the video adapter in the hope that gpu-manager won't screw with xorg.conf.

2018-01-09

Cryptocurrency Regulation

FinCEN apparently has a broader definition of a money services business than the state of Minnesota.  From the former:
  (uu) Money services business. Each agent, agency, branch, or office within the United States of any person doing business, whether or not on a regular basis or as an organized business concern, in one or more of the capacities listed in paragraphs (uu)(1) through (uu)(6) of this section. Notwithstanding the preceding sentence, the term ‘‘money services business’’ shall not include a bank, nor shall it include a person registered with, and regulated or examined by, the Securities and Exchange Commission or the Commodity Futures Trading Commission.
  (1) Currency dealer or exchanger. A currency dealer or exchanger (other than a person who does not exchange currency in an amount greater than $1,000 in currency or monetary or other instruments for any person on any day in one or more transactions).
  (2) Check casher. A person engaged in the business of a check casher (other than a person who does not cash checks in an amount greater than $1,000 in currency or monetary or other instruments for any person on any day in one or more transactions).
  (3) Issuer of traveler’s checks, money orders, or stored value. An issuer of traveler’s checks, money orders, or, stored value (other than a person who does not issue such checks or money orders or stored value in an amount greater than $1,000 in currency or monetary or other instruments to any person on any day in one or more transactions).
  (4) Seller or redeemer of traveler’s checks, money orders, or stored value. A <15>seller or redeemer of traveler’s checks, money orders, or stored value (other than a person who does not sell such checks or money orders or stored value in an amount greater than $1,000 in currency or monetary or other instruments to or redeem such instruments for an amount greater than $1,000 in currency or monetary or other instruments from, any person on any day in one or more transactions).
  (5) Money transmitter—(i) In general. Money transmitter:
  (A) Any person, whether or not licensed or required to be licensed, who engages as a business in accepting currency, or funds denominated in currency, and transmits the currency or funds, or the value of the currency or funds, by any means through a financial agency or institution, a Federal Reserve Bank or other facility of one or more Federal Reserve Banks, the Board of Governors of the Federal Reserve System, or both, or an electronic funds transfer network; or
  (B) Any other person engaged as a business in the transfer of funds.
  (ii) Facts and circumstances; Limitation. Whether a person ‘‘engages as a business’’ in the activities described in paragraph (uu)(5)(i) of this section is a matter of facts and circumstances. Generally, the acceptance and transmission of funds as an integral part of the execution and settlement of a transaction other than the funds transmission itself (for example, in connection with a bona fide sale of securities or other property), will not cause a person to be a money transmitter within the meaning of paragraph (uu)(5)(i) of this section.
  (6) United States Postal Service. The United States Postal Service, except with respect to the sale of postage or philatelic products.
From the latter:
The Minnesota Department of Commerce licenses and regulates individuals and businesses that cash checks, transmit money, own and operate ATMs, and provide electronic funds transfers.
The MN license is $4k.  Didn't see a price on the FinCEN one.

2018-01-04

Crypto Wikis


Side-note: Ripple apparently is being called a cryptocurrency because transactions are signed, but from a cursory view it appears that the consensus algorithm of the ledger requires trusting nodes to not collude:
During consensus, each node evaluates proposals from a specific set of peers, called chosen validators. Chosen validators represent a subset of the network which, when taken collectively, is "trusted" not to collude in an attempt to defraud the node evaluating the proposals. This definition of "trust" does not require that each individual chosen validator is trusted. Rather, validators are chosen based on the expectation they will not collude in a coordinated effort to falsify data relayed to the network.
The lack of this trust requirement is one of BTC's desirable attributes, at least to liberty people.  However, it's easy to see why Ripple is supported by banks: they have a place in the XRP ecosystem.

More Ether

So my phone's browser is filling up with tabs and I need to dump them ASAP!

About using 1060 3GB cards to mine ETH: Well, they're actually still obtainable, since everyone else is buying RX 580s and GTX 1080s.  But also salient is that the power consumption is much lower, as posted previously.  (Actually, without overclocking, 19.8 MH/s is achievable at 70W.)

Even mining with 1060s has taken off: articles from 6 mo ago show prices for the 6GB cards as being sub-$200, and now they're closer to $300.  Even 3GB cards, which may be getting close to outmoded for the increased DAG file size at more recent epochs, are selling for ~$230.

OC'ing Nvidia cards on Linux is a hot mess.  Everyone appears to be using Windows, but I'm too cheap to pay MS, and I don't really want to pirate it.  Going from ~20 to ~23 hashrate would be nice, though.  Some hacking of the xorg.conf file is necessary to enable memory OC; the problem is under Ubuntu, gpu-manager runs and rewrites xorg.conf upon reboot.  When I effectively disabled that using "sudo chattr +i /etc/X11/xorg.conf", the system wouldn't boot into X.  Then I had to figure out how to get into the Grub startup page (old docs say hold down shift, but I found that Esc is necessary these days) and get into single-user mode to restore the attribute.  At least power target can be adjusted down without coolbits.

On my laptop I had another guide open that I realized I hadn't fully tried.  Need to give it a shot.

It was amusing to read about how mining pools calculate "shares": by having the miner submit work and verifying that it meets a standard of difficulty below the network standard for the sole purpose of computing the miner contributions.  Of course, a given share may be the block solution, but the miner doesn't have enough information to know.  Furthermore, at least if we were talking Bitcoin, the coinbase / generation transaction's address would be the mining pool's.  Of course, a malicious miner could return bogus data and cause blocks to be missed....

Don't forget the PPLNS pool algorithm used by nanopool (explanation).  Pay Per Last N Shares introduces randomness in the algorithm; if I understand correctly, the pool pays based on some recent subset of shares submitted by each miner when a block is found, as opposed to all the shares, as in PPS.

CoinWarz's mining profit calculator is more detailed than CryptoCompare's calculator.  The former is more optimistic than the latter, though: 2.928 vs. 2.78 based on the same hashrate, and is still optimistic on the USD profit, even though the former also subtracts out the pool fees.

Regarding hashrate of 1050s, it appears they're 12 MH/s stock, as opposed to 19-20 with 1060s.  The 2GB model is ~$125, the 4GB ~$190.  Of course the 4GB is in greater demand.  2GB is definitely too small for ETH; perhaps it'd be usable for other alts like ZEC?  With one of those miner boards that allows for hooking up >10 cards, that'd potentially be more cost-effective, if not power-effective.

As far as the Ethereum switch to PoS, the FAQ on GitHub describes what that would look like.  Apparently there are two types under consideration: chain-based and BFT-style.  BFT is "Byzantine fault tolerance" that handles consensus-seeking in the presence of malicious actors.  Amusingly enough, the Wikipedia page notes under examples of such failures that this pertains to swarming bees:
A similar problem faces honeybee swarms. They have to find a new home, and the many scouts and wider participants have to reach consensus about which of perhaps several candidate homes to fly to. And then they all have to fly there, with their queen. The bees' approach works reliably, but when researchers offer two hives, equally attractive by all the criteria bees apply, catastrophe ensues, the swarm breaks up, and all the bees die.
My hobbies are commingling! (?!)

As far as using Radeon RX 580s, most of those seem to be sold out at under a $400 price point.  Amusingly, Newegg has an Asus 4GB card for $280 in stock: "limit 1 per customer" (lol).  I'm less enthused about using those because OC'ing them involves tweaking their BIOS.

I'm not sure why I get like this every once in a while, going full-bore into something different.  Hopefully in this case it'll be profitable rather than just another money sink.

のっち

パヒュームののっちについて検索したら、ゴシップのページが出てきた。自分ものっちの顔が若い頃から変わったように思ったから、やはりそうなのかな。まぁ、整形したとしても何だってことに至るけど。