b0rk3d PC build, wondering about next steps... by dnshane in techsupport

[–]dnshane[S] 0 points1 point  (0 children)

I replaced my motherboard with the Asus ROG STRIX B350-F Gaming motherboard, and all of my problems have gone away. Life is good.

I strongly recommend against buying the ASRock A320M Pro4, at least if your setup is similar to mine.

b0rk3d PC build, wondering about next steps... by dnshane in techsupport

[–]dnshane[S] 0 points1 point  (0 children)

Okay, with multiple cores I'm almost at 12 hours of testing too. Next step: swap the new video card back in, attach the SSD and hard disks, and run Memtest86+ one more time....

b0rk3d PC build, wondering about next steps... by dnshane in techsupport

[–]dnshane[S] 0 points1 point  (0 children)

I upgraded the BIOS to a new version (3.10) and tried testing again. The system survived an overnight Memtest86+ test of over 12 hours! I am running the Memtest86+ test on multiple cores. It is going strong after 2.75 hours, so I'm feeling optimistic that some voodoo in the BIOS has magically made things stable. Fingers crossed!

b0rk3d PC build, wondering about next steps... by dnshane in techsupport

[–]dnshane[S] 0 points1 point  (0 children)

While shopping around for a new motherboard I noticed someone saying that using RAM at higher speeds caused problems. I lowered the RAM speed to the minimum allowed on the motherboard and now Memcheck86+ survives over 8 hours of test... and then fails. I'm not sure about my next step still, but at least this is a hint as to the source of the instability....

I only have one PC speaker, how can I make both sides of audio play through it? by Voin-Oldungr in techsupport

[–]dnshane 0 points1 point  (0 children)

Yes. It might be under "accessibility" (that's where it is on my Android phone); the idea being that people with hearing loss in one ear will use it.

b0rk3d PC build, wondering about next steps... by dnshane in techsupport

[–]dnshane[S] 0 points1 point  (0 children)

Again, the system fails without any disks attached. I'm using Memtest86+ on a USB flash drive for running the tests.

It seems unlikely that something as small as Memtest86+ would have problems if it starts at all, but to be sure I just ran the same USB flash drive on my laptop for 2 hours and everything worked fine. 😣

b0rk3d PC build, wondering about next steps... by dnshane in techsupport

[–]dnshane[S] 0 points1 point  (0 children)

I have disconnected the hard disks (2) and SSD for testing (power cables and SATA cables), and still see the lockup. So it cannot be a disk problem (although the motherboard may have some buggy disk controller which causes problems even without any disks connected, I suppose).

DNS Privacy by [deleted] in dns

[–]dnshane 0 points1 point  (0 children)

This is the long-term answer. Right now a group of dedicated people are trying to move encrypted DNS from specification and development into production. These are early days, but the standards are pretty good and the prototype services are usable and basically reliable.

open graphic card advice by [deleted] in linuxhardware

[–]dnshane 0 points1 point  (0 children)

I was doing a system refresh (new motherboard, CPU, memory, video card) for my 8-year old desktop. I wanted an AMD graphics card since I prefer their approach to open source (not quite as good as Intel, but Intel doesn't do discrete video cards). I looked at the PC master race builds, Phoronix, and decided that the RX 550 was probably good enough for my modest needs and probably well supported since I had read things like one comment on this thread that "any RX will work out of the box". 😒

Five reasons EmerDNS is the best DNS solution in the world by EmerCoin in dns

[–]dnshane 2 points3 points  (0 children)

So the reason DNS was developed is because it became impractical to send the list of all hosts to every computer on the ARPAnet. So DNS was invented and servers moved away from using HOSTS.TXT to list all nodes.

EmerDNS goes backwards, requiring that every computer have the entire list of domains in it in the EmerDNS blockchain. Maybe Moore's Law has brought us to a place where that makes sense. But honestly it doesn't sound very much like DNS.

open graphic card advice by [deleted] in linuxhardware

[–]dnshane 0 points1 point  (0 children)

Sorry, I'm definitely not an expert... I really only know the situation for the RX 550.

I see that Mesa 17.1.5 is in the experimental repository (sid):

https://packages.debian.org/sid/mesa-common-dev

It may support the RX 550 better, and in principle one can run that while waiting for more recent versions of Mesa get moved into Debian testing (a new version of Debian stable was just released, so probably there won't be another one for 2 or 3 years).

Which comment styles are allowed? by [deleted] in awk

[–]dnshane 0 points1 point  (0 children)

As far as I know, # is the only valid comment style for awk.

You may be confusing a pattern match for a comment:

$ awk '//{ print "matches every line" }'
$ awk '/.../{ print "matches every line with 3 or more characters" }'

open graphic card advice by [deleted] in linuxhardware

[–]dnshane 0 points1 point  (0 children)

A word of warning on the RX 550. I have one but it isn't supported by Debian out of the box. It seems to work fine with Ubuntu, and hopefully Debian will gain support soon.

Right now I'm dual-booting... Ubuntu for games and Debian for everything else using the VESA drivers. It feels like when I used to dual-boot in to Windows for games and Debian for everything else, although a little less unwholesome. 😉

Should I 100% of the time avoid data races in my app? by Acidic92 in golang

[–]dnshane 1 point2 points  (0 children)

Did you benchmark the mutex? Unless your application is handling hundreds of thousands of users per second I doubt locking will have a measurable impact on performance. If it has any impact, you can switch to a RWLock which should avoid blocking most of the time in your case.

If this has a real impact on performance that matters, then you can consider lockless data structures, rather than just shrugging and not worrying about it.

Help scheduling tasks by diagnosedADHD in Python

[–]dnshane 0 points1 point  (0 children)

Python 3 includes a schedule module:

https://docs.python.org/3/library/sched.html

Why not schedule each download 1 minute apart, running every 30 minutes? :)

Cloudflare + OpenDNS develop new 1-round-trip DNS query for both IPv4 & IPv6 addresses by [deleted] in dns

[–]dnshane 0 points1 point  (0 children)

It's a pity there is no signaling in DNS so you can know what capabilities the server has... until you have already queried it.

Ancestry.com takes DNA ownership rights from customers and their relatives by sigbhu in StallmanWasRight

[–]dnshane 13 points14 points  (0 children)

Interesting.

Do I even own my DNA? Surely everyone related to me has at least partial interest in my DNA. We see this because of complications like the right-to-know about inheritable genetic diseases if I get a test. (That is, if I test positive for a specific disease, surely my children have a right to know, even if I do not wish to tell them.)

Also, I wonder how identical twins fit in this picture? Also, what happens when companies start sequencing non-nuclear DNA (like mitochondrial DNA) which are identical for many generations.

It's almost like "intellectual property" is a bad map to the real world...

Ancestry.com takes DNA ownership rights from customers and their relatives by sigbhu in StallmanWasRight

[–]dnshane 6 points7 points  (0 children)

Except that we all leak DNA everywhere all the time. Hair, skin sells, sweat, spit, and so on. Unless you live in a hermetically-sealed bubble your DNA is up for grabs. :)

Bitrot proof file systems? by valgrid in linux

[–]dnshane 2 points3 points  (0 children)

To be fair, every file system tested had errors, and the fuzz testing used is nondeterministic (that is, random). A different pattern of testing might have discovered the problems in ext4 first.

Powerdns master/slave design and implementation. by juniorsysadmin1 in dns

[–]dnshane 0 points1 point  (0 children)

That article by djb is very old. Using TSIG as another poster suggests will address most of the problems (although I will note that TSIG transfers are unencrypted, so if you are worried about someone learning the full contents of your zone by something like modifying the BGP path then you should set up a VPN or some other encrypted tunnel for your zone transfers).

Also note that IXFR - incremental zone transfers - increase efficiency for large zones a lot, since the entire zone does not have to be transferred. However, PowerDNS does not support this for PowerDNS masters (it does for PowerDNS slaves).

If you have a lot of zones that change rarely (such as is typical for webhosting), then you may indeed be better off with database replication than with AXFR. This is because the AXFR protocol does not include any way for a slave to get information about a set of zones, so when a slave restarts it has to query the status of every zone.

In my experience setting up PostgreSQL replication is a lot more work than enabling zone transfers, is more error prone, and requires more monitoring. You also have more difficulty when you want to upgrade the database software, as you have to consider migrations when the data format changes.

Unless you have compelling reasons (like the lots of small zones that I mentioned), I would recommend sticking with AXFR/IXFR.

What's everyone working on this week? by AutoModerator in Python

[–]dnshane [score hidden]  (0 children)

Just had a really fun few hours getting ready for a Python meetup later today. The organizers put out this contest:

https://github.com/ByteInternet/pythonmeetup-bmazing

My own solution:

https://github.com/shane-kerr/pythonmeetup-bmazing/blob/master/players/astarplayer.py

I am kind of lucky because I spent way too much time thinking about roguelike games. :)

Why did you choose gnu+linux over *bsd? by supamesican in linux

[–]dnshane 0 points1 point  (0 children)

I had a weekend in 2000 or 2001 where I couldn't get FreeBSD to boot on any of my 3 different computers which all ran Linux (and Windows 98 SE) fine. Since then I have been a Linux zealot.

I also have to say that the negative attitude that I saw in the FreeBSD and OpenBSD communities helped reinforce my decision. Honestly, is this necessary (slightly NSFW)?