Hacker Newsnew | past | comments | ask | show | jobs | submit | yetanotherdood's commentslogin

Unix Domain Sockets are the standard mechanism for app->sidecar communication at Google (ex: Talking to the TI envelope for logging etc.)


Search around on Google Docs for my 2018 treatise/rant about how the TI Envelope was the least-efficient program anyone had ever deployed at Google.


Ok, now it sounds like you're blaming unix sockets for someone's shitty code...

No idea what "TI Envelope" is, and a Google search doesn't come up with usable results (oh the irony...) - if it's a logging/metric thing, those are hard to get to perform well regardless of socket type. We ended up using batching with mmap'd buffers for crash analysis. (I.e. the mmap part only comes in if the process terminates abnormally, so we can recover batched unwritten bits.)


> Ok, now it sounds like you're blaming unix sockets for someone's shitty code...

No, I am just saying that the unix socket is not Brawndo (or maybe it is?), it does not necessarily have what IPCs crave. Sprinkling it into your architecture may or may not be relevant to the efficiency and performance of the result.


Sorry, what's brawndo? (Searching only gives me movie results?)

We started out discussing AF_UNIX vs. AF_INET6. If you can conceptually use something faster than sockets that's great, but if you're down to a socket, unix domain will generally beat inet domain...


You can do some pretty crazy stuff with pipes, if you want to do better than unix sockets.


Sure, but setting up a piped session with a pre-existing sidecar daemon can be complicated. You either end up using named pipes (badly behaved clients can mess up other clients’ connections, one side has to do weird filesystem polling/watching for its accept(2) equivalent), or unnamed pipes via a Unix socket with fdpass (which needs careful handling to not mess up, and you’re using a Unix socket anyway, so why not use it for data instead?).


it's what plants crave! it's got electrolytes.


I'm a xoogler so I don't have access. Do you have a TL;DR that you can share here (for non-Googlers)?


servo's Ipc-channel doesn't use Unix domain sockets to move data. It uses it to share a memfd file descriptor effectively creating a memory buffer shared between two processes


I think having multiple "views" of these diagrams would be nifty. In addition to the standard visualization, you could have an "index" visualization that also captures foreign keys etc.


Ah yes diskless borg :)


> For 30 years how telemetry is produced has not changed: we define all of the data points that we need ahead of time and ship them out of the origin process, typically at large expense. If we apply the control plane / data plane split to observability telemetry production we can fundamentally change the status quo for the first time in three decades

Has Matt read any prior art in this field? https://research.google/pubs/monarch-googles-planet-scale-in...


Boy do I miss go/epitaphs; you could actually sort by departures based on tenure as well. But I've heard you could get into trouble for scraping epitaphs or specific ganpati groups to figure out who has left specifically around layoff seaon.


Ganapati? Lord Ganesh is called Ganapati.


Google's access management database is called Ganpati - think ActiveDirectory or LDAP.


You're right, I'll get my employment contract and get it checked by a lawyer to see what's what. I'm guessing I would need the help of an "employment lawyer" to figure out what my options are.

If I realize I can indeed start a side-hustle then yes I'd get a lawyer's help to start the LLC.


I'm not sure what my employment contract states but I wonder if California Labor Code section 96 overrides things even if the contract says something like "explicit approval must be granted before you start business in X"


You must have signed an employment contract when you accepted your job offer, and you should have been given a copy. If not, just ask for a copy. You don't need to say why.


You can cop it on the cheap from Mexico FWIW


You need a Mexican prescription though.

Here it is for $211 per month: https://www.farmaciasguadalajara.com/ProductDisplay?urlReque... though that’s only a deal if your insurance won’t cover it in the states.

I bet it’s not in stock.


Anyone can also buy it from Nevada from a website that has the word peptide and the other word sciences in the name. A few popular youtube people have pointed out the same, although they can’t say the name but they do show the label. If one is concerned about it, compound pharmacies will provide it with a prescription from an HRT clinic.


The thing is, if I were to buy a vial of some research chemical and disregard the warnings and actually want to take them, I’d still have no idea what to do with a vial of liquid. Presumably it involves needles which I’ve never prepared. What’s in there could be totally safe to take and I might still end up with an infection or some other nonsense because I don’t know what I’m doing. I do appreciate a certain hacker spirited, DIY approach to medicine, but it could be a bridge too far for me.


There is an oral name-brand formulation of semaglutide. If the peptide people can reproduce that, it should not (need to) involve needles. The company GP is talking about only sells an injectable formulation, though.


Not a bad idea actually - I live in South Texas so it should be pretty feasible. I’ve never gone there for any medical reasons but have known people to do that.


> there have been many instances when we have had to lower the hiring bar to meet diversity requirements.

Where have you worked, if you don't mind me asking?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: