Thursday, April 09
- Nim is not compiling static binaries, hence the size difference. It's still smaller than Crystal's dynamically-linked binaries, but not by an order of magnitude.
On the other hand, with Crystal, static binaries require a simple command-line switch because the compiler is an all-in-one affair. With Nim it's rather more complicated because it's generating C and compiling that, so you have to provide C with the appropriate libraries and flags to do the static linking. It is possible, at least, just not easy.
- If MongoDB support isn't enterprise-ready in Crystal and Nim, how about Swift?
(Looks at Swift MongoDB examples.)
Fuck Swift.
Posted by: Pixy Misa at
03:44 PM
| No Comments
| Add Comment
| Trackbacks (Suck)
Post contains 103 words, total size 1 kb.
Okay, this is actually good. Don't know if that's what they intended. I doubt it.
This is not technically the media, but some random nobody artist, so their account will probably go private over this rather than them collecting a major award and a six-figure bonus.
Because this is the same imbecile who created New Guy and thought he was the villain in her little morality play.
Let the memes flow.
Kotaku has an epiphany.
Posted by: Pixy Misa at
11:44 AM
| Comments (3)
| Add Comment
| Trackbacks (Suck)
Post contains 134 words, total size 2 kb.
Being scanned like crazy - as in, multiple requests per millisecond - by an IP address that belongs to Microsoft.
All looking for /bitrix/admin/index.php, which of course doesn't exist on this server, because we don't allow PHP in these here parts.
Microsoft, something on your network has a virus, and I don't mean Wuhan Bat Soup Death Plague.
I'd reach out via Twitter except I've been silenced.
I took a look and found that the IP has been reported for multiple attacks on Wordpress sites already. It's after midnight, I don't run Wordpress, and I wash my hands of it.
Update: Three more IPs go into the Bad Bots Index. At least these were just fourth-rate webcrawlers, not Microsoft going to war against Wordpress.
Posted by: Pixy Misa at
12:13 AM
| No Comments
| Add Comment
| Trackbacks (Suck)
Post contains 128 words, total size 1 kb.
Wednesday, April 08
Mighty Hunter Edition
Tech News
- I downloaded Nim and installed it on WSL and compiled a trivial test application and... It worked. Completely painless. Compiles in roughly a second, most of which is spent loading the compiler because WSL is kind of slow at initialising binaries.
The compiled size for a trivial app that just reads some text from the user and responds is 90K. 75K stripped, 41K upxed. (upxed binaries don't work on WSL1 though.)
That's pretty acceptable; I'll rewrite my Crystal system monitoring agent in Nim and see how it goes with a simple real-world app (it needs, for example, HTTPS support). On advantage I'm hoping to see from the C back-end is a smarter linker than Crystal has.
The problem with using either one seriously at my day job is the state of the MongoDB drivers, since we have many terabytes of MongoDB databases we aren't about to migrate.
Both come with MySQL and PostgreSQL drivers, and Elasticsearch is a REST API and therefore not a problem, but we need solid MongoDB support.
Update: With the HTTPClient and SSL libraries pulled in - and working, since I had it actually download this page - the binary is 287K in full or 97K stripped and upxed. That is entirely acceptable. It's an order of magnitude smaller than the Crystal equivalent.
Update Two: Wait, is that really a static binary? My usual test is to drop it on a horribly out-of-date Linux box and see if it still works, but I just turned off all of those.
The documentation suggests that Nim builds static libraries by default, but that's awfully small if it's really pulled in OpenSSL. I suspect that it might be "static except for OpenSSL" or some such nonsense. But then, that's pretty much what Crystal does on Mac.
- Replace the innards of your Gamecube with a Ryzen 3200G-based Gamecube emulator. (Tom's Hardware)
Because why not?
- So in what sense is OpenVMS open? (Legacy OS)
The final hobbyist licenses for OpenVMS will expire at the end of 2021.
- A look at the Xeon 5220R. (Serve the Home)
Wait, didn't we just do that one? Oh, that was the 6226R? Okay.
This is a 24 core Xeon at a sharply reduced price compared to last year, as Intel struggles to find a way to compete with AMD. And mostly fails, to be brutally honest. It's beaten soundly by the 24 core Epyc 7402, and in many cases, by the 16 core Epyc 7302.
Where the 6-series supports up to four sockets, the 5-series only supports the more common two. Although the 6226R also only supports two sockets, so there's not a huge difference here.
In short, it's a much more cost-effective chip from Intel if you're stuck with Intel. If you're not stuck with Intel and don't need a ton of RAM per sever, there are faster better cheaper options.
Video of the Day
Disclaimer: And lots and lots of feet in feet.
Posted by: Pixy Misa at
10:17 PM
| Comments (5)
| Add Comment
| Trackbacks (Suck)
Post contains 529 words, total size 4 kb.
Adam Schiff - yeah, that asshole again - wrote a letter to the media:
It's really touching how Cartoon Network is breaking new ground with blind and mentally disabled members of its audience:
Also, unless the virus is also now a tornado, you mean "wracked".
The "Exciting flavours of Wuhan" tweet got taken down, sadly.
Yeah, sure, let's allow a plague ship to dock right by the CBD of Australia's largest city. And then allow everyone to wander off without any testing or tracking. What's the worst that could happen?
Yes, they're venal, vapid, and vicious, that goes without saying, but above all else journalists are lazy.
Other than that, a bang-up job by CBS.
Posted by: Pixy Misa at
02:27 PM
| No Comments
| Add Comment
| Trackbacks (Suck)
Post contains 267 words, total size 3 kb.
Blocked just two IP addresses and server load dropped by 95%.
Posted by: Pixy Misa at
01:15 AM
| Comments (1)
| Add Comment
| Trackbacks (Suck)
Post contains 14 words, total size 1 kb.
Tuesday, April 07
Trolling Popehat Edition
Tech News
- We have two more Threadripper servers being configured at my day job.
I'm going to set them all up as an LXD 4.0 cluster. We're probably going to need Docker, which is not exactly best friends with LXD, but with LXD 4.0 I can run a full virtual machine and then run Docker inside that.
72 cores at up to 4.5GHz, 384GB RAM, 45TB of enterprise MLC NVMe SSD, and 48TB of spinning rust across three servers.
I could have gone for the 3970X, but I don't think we need those extra cores, and the price difference will pay for a nice little dev server - probably a Xeon 2276.
- Yes, we don't like Fox News. No, that doesn't mean this lawsuit against them is anything more than goat vomit. (TechDirt)
This is why TechDirt remains sort of worth reading. On the third hand, they note:The San Diego article has quite the interview with Arthur West, who runs WASHLITE, and it feels like every word he said is designed to troll Ken "Popehat" White
Which seems laudable to me.
- The most 2020 headline ever. (Tech Crunch)
- The stupid you will have with you always. (Tech Crunch)
In this case it's almost certainly moderately stupid grifters shaking down the truly stupid, but the result is the same.
- This video will die in 100 days.
- AMD, could you release another CPU please? The last one gave me content for days.
- Crystal 0.34 is out. (Crystal-Lang)
Not a lot of language changes; things are getting more stable as they approach 1.0. They have tidied up some features so that, for example, a case statement will detect whether you are checking all the possible values and refuse to compile if not. You can include an else condition as a catch-all, but you have to do that explicitly.
I like Crystal, and I like the direction it's headed in. I need to catch up on Nim as well and see where that is, because I'd like to be able to deploy to Windows and Crystal won't be there for a while yet.
- Mochizuki's inter-universal Teichmüller proof has been published. (Phys.org)
Mathematicians are still debating whether it actually is a proof, and Mochizuki and Teichmüller themselves aren't being terribly helpful.
This - if it is validated - would prove the abc conjecture, which would in turn prove a whole bunch of stuff, including a much simpler proof of Fermat's Last Theorem. (Which has been proven, but is fiendishly complicated.)
- The hot new game for 2020 is finding a time when your supermarket both has toilet paper in stock and has delivery slots open.
Right now it's a but not b. Earlier it was b but not a.
I went out yesterday - I needed to resupply on antihistamines, because if my allergies started playing up and I was sneezing all the time I wouldn't be able to go out in public - and not only was the toilet paper aisle empty, the toilet paper aisle was gone.
Lots and lots of nappies where it would have normally been. If you're a tiny baby - or elderly and infirm, I suppose - you can continue pooping on your regular schedule.
I have groceries arriving tomorrow morning between 4 AM and 9 AM, which is a time slot that didn't exist in pre-apocalypse days, though the ETA is between 6:50 and 7:50 which is not entirely insane. If I get what I ordered or some reasonable facsimile I'll be good for three weeks.
Food I already have. There's no shortage of food. Food is goddamn everywhere.
Except somehow Easter eggs, but I bought some yesterday so that's okay.
Not Exactly Tech News
- Then he opened the thirty-second seal, and behold, Berserk resumed serialisation. (Reddit)
How many signs do you need for one apocalypse?
- Novartis is starting phase 3 trials of ruxolitinib to treat severe Corona-Chan. (Novartis)
This is a treatment for cytokine storms, which are believed to have been a major killer during the 1918 Flu Pandemic - the reason it killed so many young and otherwise healthy people. I'm not sure how common that is in WBSDP, but it's a good drug to add to the toolbox - if it works.
Also, ruxolitinib is binitiloxur backwards.
Video of the Day
Posted by: Pixy Misa at
09:54 PM
| Comments (3)
| Add Comment
| Trackbacks (Suck)
Post contains 750 words, total size 7 kb.
Suspended on Twitter again - for an entire week - for saying something like the title of this post.
So all the unutterable crap the media spews will be collected here in daily threads for a while.
Aha! A cheap generic drug, off-patent for decades, but TRUMP has a small number of shares in one of the many manufacturers. HOLD THE PRESSES WE'VE GOT HIM THIS TIME.
In fact, he doesn't even hold shares in that company. He has an investment in a mutual fund that holds a small stake in Sanofi. If hydroxychloroquine turns out the be the cure for Wuhan Bat Soup Death Plague and literally saves the world, Trump stands to make dozens of dollars.
Unfortunately being suspended means I can't respond to the fuckwits at NBC in the way they deserve, which would get me suspended anyway.
This is pretty accurate.
Living the Non Non Biyori life in Florida?
Jonathan Turley, however, is proving to be that most endangered of species, an honest liberal:
Posted by: Pixy Misa at
12:06 PM
| No Comments
| Add Comment
| Trackbacks (Suck)
Post contains 236 words, total size 2 kb.
Monday, April 06
Another Crisis Survived Edition
Tech News
- Had a visit today from the smoke alarm maintenance guy, the most social interaction I have had since January.
- Your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should.
DNS over Wikipedia. (GitHub)
- How SEO ruined the internet. (Superhighway 98)
This is essentially a problem with measurement by proxy. If you count coins rather than measuring the weight, people will clip them. If you measure the weight, people will substitute cheaper metals. (Though that doesn't work terribly well for gold.)
The solution is the same for SEO firms as for counterfeiters.
- New York has banned the use of Zoom in schools. (Tech Crunch)
Apparently New York forgot to tell New York that all the schools in New York are closed.
- Crafting Crafting Interpreters. (Stuff Wtih Stuff)
I should read this now that the whole thing is finished.
- How Tesla is making ventilators from car parts. (Tech Crunch)
Not only do they keep you breathing, they can follow the lane on the highway.
- The CanSecWest conference went ahead in Vancouver despite the threat of Wuhan Bat Soup Death Plague. (Fast Company)
Total physical presence: Six staff, three attendees, and one reporter.
Anime Music Video of the Day
Warning: Contains spoilers if you haven't seen Re: Zero, which you really should.
Season two is coming soon, probably.
Crunchyroll says "this summer".
Danmachi season 3 is also set for the summer, and I haven't watched season 2 yet. Have I? Wait... No, I watched Sword Oratoria, that was it.
Log Horizon season 3 and Re: Slime season 2 are set for fall.
Non Non Biyori season 3 and So I'm a Spider, So What? have both been confirmed but have yet to get a date.
The reviews of Gyaru on MAL are, well, uncomplimentary, but all three reviewers are labouring under the misapprehension that this is a comedy. It's not, it's a slice of life. With dinosaur.
And apparently no animation budget.
I mean, that's exactly how they look in the manga, but still.
There's also this one:
Those that can't, teach.
Those that can't become journalists, teach journalism.
Those that can't teach journalism work as adjunct faculty at the Craig Newmark Center for Journalism Ethics and Security at Columbia, because it would be unsafe to let them just wander the streets.
Posted by: Pixy Misa at
09:37 PM
| Comments (2)
| Add Comment
| Trackbacks (Suck)
Post contains 446 words, total size 5 kb.
Monkey Business Edition
Tech News
- How long does the battery on the new Ryzen-based Asus Zephyrus G14 really last? (Tom's Hardware)
For watching videos and browsing the web, 11 hours.
For 3D rendering and gaming, about 2 hours and 20 minutes.
That's not bad at all given its small size and high performance.
- Mars needs COBOL programmers. (Tom's Hardware)
So do New Jersey and Connecticut.
- Ha-ha, you fool! You fell victim to one of the classic blunders, the most famous of which is "Never get involved in a land war in Asia," but only slightly less well known is this: "Never roll your own crypto." (Citizen Lab)
Yes, you guessed it, it's our friends at Zoom again.
- Don't bind your critical server applications to 0.0.0.0. (CSO Online)
Seriously, cut that shit out.
Also, firewall everything.
Sometimes there's a mistake in the firewall rules, sometimes there's a mistake in the port binding, so always do both.
Our current cloud server configuration has two firewalls for every server - the one provided by the platform and our own UFW / iptables configuration. Which is sometimes too secure; we had problems with out new GitLab server because it was unable to make certain API calls to itself.
- Stop reading this and update your Chrome. (Forbes)
Maybe I should have put that first?
Nah.
- I set up Gluster on my test cluster today. It seemed the easiest option compared to Lustre and Ceph.
It is indeed easy, and it works. Performance is slightly odd, with one node running measurably faster than the other.
(It does recommend against running with just two nodes, because it can't form a quorum during a network partition event. Not just in the docs, but when you run the setup command with the parameterreplica 2.)
I need to look at the SSL config settings to make it nice and secure, but a nice thing with Gluster is you don't need dedicated servers or block devices or even partitions: Just assign it a directory on an existing filesystem that exists on all the servers, and it will handle the rest.
So you can easily use it on top of ZFS, for example, and take advantage of features like transparent file compression and deduplication. And in theory snapshots as well, though I'm not sure how to restore a Gluster filesystem from a ZFS snapshot. There's a page in the docs on running Gluster on ZFS that mentions restoring from snapshots, but only provides one sentence on how to do it, which doesn't really explain anything.
Update: Aha. It was under the "Features" submenu in the Administrator's Guide.
Good: Gluster supports snapshots.
Bad: It uses LVM.
Hmm.
Video of the Day
This video is about as much fun as you can have and still accidentally prove Pythagoras's Theorem.
Disclaimer: You keep using that word. I do not think it means what you think it means.
Posted by: Pixy Misa at
12:58 AM
| No Comments
| Add Comment
| Trackbacks (Suck)
Post contains 489 words, total size 5 kb.
55 queries taking 0.4046 seconds, 391 records returned.
Powered by Minx 1.1.6c-pink.









