The Aquantia AQC107 10GbE controller

Media

I was reading the latest Mac Mini teardown on iFixit, and saw how it was handling 10GbE:

Aquantia AQC107, same as Apple used for the iMac Pro

I read that as Aquitania, the longest serving of the four stackers. It’s rare that computing overlaps with my fascination with early twentieth-century ocean liners. The photo description for this image on Wikimedia Commons claimed this was 1914, but I didn’t think she had her higher bridge at that point:

RMS Aquitania in 194

From the product page:

RMS Aquitania was a British ocean liner of Cunard Line in service from 1914 to 1950. She was designed by Leonard Peskett and built by John Brown & Company in Clydebank, Scotland. She was launched on 21 April 1913 and sailed on her maiden voyage from Liverpool to New York on 30 May 1914.

Diddly, did it again. From the product page:

AQTION AQC107 The Aquantia AQtion AQC107 is a high-performance, 5-speed, 10 G PCI Express (PCIe)-to-Multi-Gig Ethernet controller that integrates PCIe, MAC, and PHY to provide power and space-efficient connectivity for client systems.

I want 10GbE everywhere, but how is it still so expensive? I feel we went from Fast Ethernet to Gigabit much quicker and prices came down faster.


Curly bracket substitution in sed, nvi, Vim

Software

What is it they say about regular expressions? I got caught out making a basic mistake substituting curling brackets at the start of lines in a text file, so I thought I’d share it.

Here was my first attempt in FreeBSD nvi, escaping the bracket:

:%s/^\{//
==> RE error: repetition-operator operand invalid.

Hmm, weird. The same happened with nvi installed from MacPorts on my work laptop. So I tried Vim:

:%s/^\{//
==> E866: (NFA regexp) Misplaced {
==> E64: \{ follows nothing
==> E476: Invalid command
==> Press ENTER or type command to continue

This should be simple, what was I doing wrong? I tried sed to mimic what I was doing above:

$ sed -i '' -e 's/^\{//' $_FILE
==> sed: 1: "s/^\{\"id\"\:\"//
==> ": RE error: invalid repetition count(s)

Can you see the problem?

Not to get all Malcolm Gladwell on you, but turns out I shouldn’t have been escaping the curly bracket. So doing this was sufficient:

%s/^{//

I’m going to dub this premature escaping. Or maybe Ruben shouldn’t do early morning regex without coffee and/or sufficient sleep.


Brexit silver lining

Thoughts

Martin Kettle sees a silver lining in the current Brexit mess, emphasis added.

Today, the Berlin-based European Council on Foreign Relations published research showing British attitudes towards the European project have become more positive over the past decade. The UK is second only to Finland in feeling increasingly European. The 2016 referendum may have done more for our European consciousness than all the preceding years of neglect.

The one big plus of the past five months is that British voters have become much better informed about Europe and have thought more deeply about the issues. Last month’s march and parliamentary petitions showed the effect. So did the quality of those long House of Commons debates. There seems little doubt about the direction in which public opinion is gradually moving. These European elections could reflect it. It is time to be more confident again about Britain’s place in Europe. It’s time to go for it.

My gut tells me it’s too early for optimism. But if this came to pass, Brexiters may have kicked one of the most spectacular political own goals in recent history.


Serverless

Internet

Dave Winer at the beginning of the month:

Serverless is one of those unfortunate names that confuse the hell out of people because it’s a lie. Your software most definitely runs on a server.

Reminds me when SFDC claimed No Software, or when the cool kids said the cloud is just someone else’s computer.

I wonder what the next step will be. Serviceless? Dataless? Moreorless?


Rubenerd Show 394: The hierarchical coffee episode

Show

Rubenerd Show 394

Podcast: Play in new window · Download

43:59 – Join Ruben in a soulful, bronchital state; a word that almost certainly doesn’t exist. Topics include Maslow’s Hierarchy of Needs, secret apartment doors, Apple keyboards really are that bad, stabbing myself in the eye with a poster, Australia’s obsessive coffee culture, Arashiyama in Kyoto, and accidental beverages. Break song by the delightful Good Mythical Morning gents who trained a predictive text bot.

Recorded in Sydney, Australia. Licence for this track: Creative Commons Attribution 3.0. Attribution: Ruben Schade.

Released April 2019 on The Overnightscape Underground, an Internet talk radio channel focusing on a freeform monologue style, with diverse and fascinating hosts; this one notwithstanding.

Subscribe with iTunes, Pocket Casts, Overcast or add this feed to your podcast client.


Music Monday: French coffee

Media

It’s Music Monday time! Each and every Monday without fail, except when I fail to, I post a piece of music or a song—XOR, no ambiguity here—such that our Monday may be filled with perhaps a little more joy than its unenviable position at the start of the work week would normally afford it.

Today we have this delightful duo of French songs I heard in a coffee shop this morning. The first is Le Jazz Et Le Java sung by Yves Montand, and La Mer with the instantly-recognisable Sacha Distel.

Play Yves Montand - Le jazz et le java Play La Mer - Sacha Distel

As an aside, I default to YouTube because its what everyone can access, but I’m thinking I should link to Spotify or Apple Music as well. I prefer to use YouTube for previewing songs, then buying albums on services like ZDigital/7Digital. Let me know if you have any thoughts.


Event Horizon Telescope sees a black hole

Media

I realise I shared this on Twitter, but didn’t post here. I’m living in the future, and it’s incredible.

Scientists have obtained the first image of a black hole, using Event Horizon Telescope observations of the center of the galaxy M87. The image shows a bright ring formed as light bends in the intense gravity around a black hole that is 6.5 billion times more massive than the Sun. This long-sought image provides the strongest evidence to date for the existence of supermassive black holes and opens a new window onto the study of black holes, their event horizons, and gravity. Credit: Event Horizon Telescope Collaboration


Attitudes to mental health

Thoughts

Michael Dexter of Call For Testing, OpenZFS, and bhyvecon fame retweeted a story on the state of mental health in select countries. I responded that Singapore was struggling in a similar way, which lead him to ask what we can do:

My question is: How can communities prepare for welcoming the mentally needed, and for incidents related to them? It is clear that one community was not prepared and there are limited advisory resources available.

There’s a lot to unpack here, and I feel overwhelmingly unqualified to give an answer. But I have thoughts I’m going to rapid-fire here without backspacing.

The biggest issue I see, from Scientologists to those less malicious, is that mental health still isn’t widely acknowledged as being a thing. Telling someone with a broken leg to just walk it off should be just as preposterous as telling someone with dark thoughts to just get over it. Currently, society has decided they’re not equivalent.

I concede it’s a simplistic, perhaps reductionist take, but it’s true. The British are still grappling with the Stiff Upper Lip. Australia has been making progress of late, but still has ingrained blokey culture that makes it difficult to open up. And Singaporeans are working themselves to death, or moving to Perth to escape the pressure cooker.

My concern is this is a symptom of disconnect. Not to say our ancestors in close-knit communities didn’t have difficult thoughts, but our communities today are more complex than we were evolved to handle. We also have the perverse irony of living in cities of millions, and having fewer close friends than at any point in history.

So much like my overly simplistic take above, I have a simplistic response. We’re not going to resolve this issue of mental health until we all figure out how to reconnect. I’m not sure how or what that would look like in the twenty-first century, but we’ll all continue to suffer until we do.

Okay sure, but how do we get there?

All of that is fine armchair pontification so well personified by a recent Winnie the Pooh meme, but Michael is asking the reasonable and far more important question of what we do about it.

One point he raised was advisory resources to prepare people in communities. This to me would be the first baby step towards addressing the disconnect above. I’d see them helping in two capacities: as a resource for those having problems, and to provide others in the community with a way to help.

Funding

I don’t think anyone is arguing we don’t need mental health services. But if we acknowledge they’re important—I would say necessary—we need to fund them.

Compassionate charity is important, but taxes are the only effective way at scale for those with the financial means to pool resources and contribute to something society needs. This can’t be up to the whims of philanthropists with hearts in the right place or otherwise, it must be a pillar like the fire department.

Unlike mental health, this is a black and white issue. Fund it properly, or concede you don’t think it’s a problem and live with the consequences.

(It also bears repeating that a significant enough number of the aforementioned philanthropists made their fortunes through ruthless business practices and ethically questionable behavior that exacerbated the very mental health issues they later had an epipahny on. When I’ve argued on this blog that society needs to shift its thinking, I mean it literally: there wouldn’t be any aspect of our lives untouched, including business).

People with context

When my mum suddenly lost her battle with the big C and I felt as though I didn’t do enough to save her, I went to dark places for a couple of years. I still haven’t forgiven myself; it’s something I’ll likely live with for the rest of my life. But it was nerds in remote newsgroups and Twitter that did more to help me in those first few years than anyone else.

By the same token, you and I can’t relate to someone who sees a gun rampage and other forms of terrorism as a rational means to cope with an issue. Mental health organisations need to recruit and perhaps even be run by those who escaped that mental prison. It wouldn’t scale to the number of these centres we’d need, but perhaps they could train others.

By no means am I saying there isn’t a place for psychologists or psychiatrists, but people respond very differently to different treatments, as physical ailments and different people do physiologically to medicines.

Stigma

This doesn’t negate the stigma of seeking mental help; the only feasible way forward on that front that I can see is making mental health discussion fucking ubiquitous. People can still dismiss it now because they see sufferers only existing on the periphery, so they feel a sense of plausible deniability. Everyone has their own demons and trauma, even self-described snarky meme shitposters.

People need to feel comfortable opening up without fear of judgement, from strangers and friends, to impacting on their job prospects. My own dark places appeared hopelessly intractable because I felt alone; I’m sure I’m not the only one. To that end, I’ve decided to tweet and blog about it more. The diffusion of responsibility is a fallacy we need to fight.

No good answer

This is all pretty window dressing, and will help communities be more inclusive and healthy. But the festering, underlying cause of our ills I mentioned at the beginning, and how we ultimately restructure society, are both issues I don’t have an answer for. But it doesn’t meant we can’t at least start.


Tipping culture

Thoughts

John Gruber explains how to tip, something I had to figure out when I was working in San Francisco for a couple of months. But then he ended with this Dickensian paragraph:

This whole thing is U.S.-centric, of course, but let me add that while I understand how strange U.S. tipping culture must seem to someone from another country, it’s not complicated [..]

Not complicated for the tipper, or for the staff who have to divvy up the scraps every night rather than just being paid a living wage?

[..] and in my experience, typical service in U.S. restaurants is far better than in other countries.

In my experience, no.

Fundamentally I think the basic idea works, insofar as it incentivizes superior service.

No, it fundamentally entrenches poor working conditions.

Japan easily has the world’s best service, and tipping there is a insult. Why? Because it signals to the restaurant owner that they don’t pay their workers enough. Funny that.

I tip when I’m in the US, because people depend on it. But don’t try to coat [the system] with a layer of frosting and tell me it’s a fucking cupcake.


Another (site) bites the dust

Internet

I was hit with another shut down notice for a particular website I use semi-frequrntly. Wow that’s a great typo, I’m leaving it there. I was about to write a post about it, before remembering what I wrote four years ago about the late FriendFeed:

I used to be cynical about the routine shutting down of social networks that we all contribute to, but I’ve since realised it’s just how the web works. Don’t become too attached to (or reliant upon) a website or service, it won’t be around forever.

It’s just another branch withering and falling off the Internet tree; inevitable, but perhaps still a little worrying. Or as Peter Cook and Dudley Moore said in the coda of their send-off song:

We leave this mortal coil upon which we strut and fret our weary ways, as Shakespeare put it. God bless him. What a delightfully odd man Shakespeare was. Bald but sexy.