HNHacker News
TopNewBestAskShowJobs

r0ze-at-hn

417 karma · joined June 28, 2017

kate@meyerhome.net

https://metamagic.substack.com/

submissionscomments
r0ze-at-hn··on Design docs at Google (2020)
Which aspect of the Amazon design doc culture that you loved the most?
r0ze-at-hn··on Design docs at Google (2020)
Devs straight up tell you that they write design docs for the promo committee. That is their goal, everything else is secondary. Given that they never know which design docs they will use in their promo packet they put everything they work on in design docs no matter how small. There is the idea of a one pager design doc, but usually they grow from one page to ... many. It might be a one week project, but a design doc gets written. I have also had to reviewed 20, 30, even 40 page design docs that took clearly a while to make and at any other company would be simply a JIRA ticket. I have had discussions about how many pages is too many and if we should have a limit etc.

Too many have learned (correct or not) that promo committees want to see that only the author wrote a doc and no one else. This further slows down everything and disincentivizes cross learning. I know software engineers who spend a full quarter or more in isolation writing design docs. The majority of the writing in a design doc is the actual design, but the other 99% is the definition of the problem. Too many times I have been in a review and spent a bunch of time improving the definition of the problem which results in the design needing to be scrapped and most of the doc needing to be re-written.

Worst case scenario is when by improving the problem definition a simple solution appears that doesn't require a complex design. The author having invested a lot of time in a complex design (that historically and many committees still look for to promote off of) will push back against anything that is simple. The difficult trick is helping the engineers to improve their problem definition early in the writing process.

I have seen design docs that have no alternatives presented. The design doc was simply a labor intensive way to write down what needed to get done or what someone wanted to do.

This also results in design docs turning into a bug tracking system if you squint. In a hand wavy way everyone is working on their design doc, not bugs, bugs can't get you promoted.

And OP like to wax poetically about how when you join a team you can just go and look at the design doc like that is a simple and obvious thing. They are often not tracked in any central place. For many teams design docs are not owned by the team or the project, but by the individual because you can make sure no one else contributed. This is again for the promo committee sake. Many design docs you can't get access to, not because they are super secret, but just because. And it isn't like teams have say two or three design docs, no there is a mountain of design docs to read. And with around a two year turn over at Google many design docs get lost to time. At any other company this could be like if you joined the team and I said everything you need can be found by reading all the closed bugs or read every commit message in the main branch.

Anywhere else I would have been grabbed after lunch and would have worked on defining the problem for a few hours with the team at the whiteboard. The senior members teaching the younger in real time how to think about these things and iterating quickly. Most of the time this would be written down in the bug tracking system or for bigger stuff in the project's wiki/folder to be owned by all.

All of the above can be improved and I have worked on improving all of them, but culture is a slow thing to change. Design docs are a good idea as a concept, but there are pitfalls and the way they are being used by many (not all!) at Google is not it.

r0ze-at-hn··on Simplicity is an advantage but sadly complexity sells better (2022)
The wording might have changed, but the culture is 100% still there and is draining fighting against it.
r0ze-at-hn··on The future of Google search is clouded by generative AI
I have a special interest in the post-mortem story of tech companies from the 70's, 80's, 90's, 00's. The HP, DEC, IBM, WordStar, RIM. I love the stories and the patterns they provide.

Most companies reach a size and tenure where they are still trying to grow by a certain percentage every year. They had grown year after year, but as they saturate the market or the market starts to shift they can't grow at the same rate they once did. As they turn into a stable dividend type company ideally growth should more match general market growth, but still growing.

Google makes a lot of its money from showing ads to those using search. They are facing your classic innovator's dilemma. The upstart that can't do 1/100th of what you can, but that one thing it can do it does so much better and they start taking customers and they start climbing that classic S curve of growth. Many of these companies built themselves internally for growth, not for sustainability. Internal incentives cause them to bleed the smartest and brightest & outsource whole departments rather than simplifying. Layers of bureaucracy slow down everything further letting those scrappy startups go after opportunities that the old guard couldn't.

No one thinks Google will go from 23B to 0 by next quarter, no the thing they are talking about is when companies like this don't go from 23B to 25B, but instead to 22.9B.

Y Combinator teaches startups all about the beginning of the diffusion of innovation because that is what is most important. I could probably give a little class on the other side of it, call it the missing lesson or something fun. The value isn't in learning how to not get into the same trap, but to understand your competition better and how to learn what is most likely going on internally and how to exploit it.

r0ze-at-hn··on Princeton group open sources "SWE-agent", with 12% fix rate for GitHub issues
Ah, well let me tell you about my pull request reviewer LLM project.
r0ze-at-hn··on A Return to Blu-ray as Streaming Value Evaporates
For those that have not visited your local library lately. Along with books, I regularly borrow audiobooks, whole tv series, movies, switch and ps5 games. And they give me access to yet another movie and music streaming service that they pay for. Once I add in the library system and requesting stuff from other libraries it is rarely that I can't get access to something I am interested in.

This isn't the library I went to as kids that had a tiny rack of VHS tapes in the back. They seem to have fully embraced the digital era.

r0ze-at-hn··on Magika: AI powered fast and efficient file type identification
Browsers often need to guess a file type
r0ze-at-hn··on It's time to admit that genes are not the blueprint for life
I am already working with a doctor and have talked with those in academia. They find it neat, but are not going to jump projects, they already have their area of study that they are working to publishing something on, not this.

There absolutely could be blind spots and been iterating on it all year each time the tweaks are smaller, but the core idea has not changed, but simply accumulated more and more evidence.

r0ze-at-hn··on It's time to admit that genes are not the blueprint for life
If you know one that wants to talk I am happy to. In the meantime it is being put to practical use today.
r0ze-at-hn··on It's time to admit that genes are not the blueprint for life
For those old enough to program on punch cards you could say that is closer. We load the program into ram and then the env can and often does modify the program on the fly and we do dumb thing like use the current line number to save a byte because dividing by 17 is “good enough”. Most cards are functional and many cards do double or triple duty to save space. So a bug in one card can subtly break three wildly different spots. Analogies break down of course as in biology it all executes at the same time which is why the micro services or lamdas that can be scaled up or down have been my go to. And you can even inject external events into your lambda systems.

And for anyone familiar with lisp, code is data, data is code. For modern coders you can think that it has a billion feature flags you can also flip on and off rather than rewriting the code on the fly

r0ze-at-hn··on It's time to admit that genes are not the blueprint for life
There has been some research mostly into gay men. But honestly the transgender data set is much richer. At the end of the day it is a minority that is being politicized so not exactly being investigated, but once you figure it out it is like shooting fish in a barrel there is so much easy research. Before this it was (simplifying but not) brain scans for the most part. It was mostly unknown.
r0ze-at-hn··on It's time to admit that genes are not the blueprint for life
Been interviewed by a medical news journal and this has all been done in the public over the last year so there was never a “release date” or anything. Honestly at the start I was just another person with a guess.

There are some scary implications such as in some cases we have had sexuality and gender changes once we knew how to “inject into the system”

I guess when you get down to it, it wasn’t actually that note worthy by itself as most cases are simply minor versions of already well documented conditions. It is only when you combine them that they add up.

And lastly given that I have not paid to get it peer reviewed and published formally it isn’t news yet. Again no school affiliation. Just now mostly helping treat a bunch of those common conditions I mentioned.

r0ze-at-hn··on It's time to admit that genes are not the blueprint for life
To be clear this is/was a hobby project. Getting access to DNA files is required yes, but sequencing wasn't really the limiting factor. It started with simply poking around my DNA file and then some friends many of which were only done on 23andme. Most of the time was spent reading countless papers and making hypothesis, trying to invalidate them and iterating. Constantly seeking out new ways to look at the problem and going from there. Every time I got a new DNA file from someone I could see how their dna fit into the current hypothesis. Because every DNA was different it was a great way to test them. It anything it made my job easier. I wasn't looking for a single snp, but common patterns.

Sometimes this has involved using nebula and their whole genome sequencing dna test to get much more accurate data, but more often than not the cheap dna tests most people do were good enough.

As for actual programs, I did write some quick and dirty scripts to scan dna files for specific snps, but mostly I would just read them as the parts I needed were not that long.

There is a fair amount of phenotype data to start with. What ultimately started this was knowing 1) that there was a number of conditions that are seen in statistically weird numbers in the LGBT and 2) sex hormone levels in the LGBT are not exactly what you would expect.

My goto fun question when talking with someone in the LGBT is if they have hypermobility. A good percentage do. In one specific example those with classical like EDS will have 21-OHD and thus POTS and elevated 17-OHP, backdoor DHT production (aka PCOS for women) etc.

The real question I have been pondering is what exactly do I do with this as this is just a fun puzzle, not my job, I don't work for any school etc.

r0ze-at-hn··on It's time to admit that genes are not the blueprint for life
I have given a few genetics talks this past year to technical groups and I start the talk by saying

"This is no more difficult to understand than any event based system" [insert image of the Netflix micro services architecture]

This gets a laugh.

DNA is like an executable file written in assembly. Most of the time it makes a bunch of pure functions (but not always) and it is self modifying, lol. For most of the work I do I can presume that gene X produces a "pure function"

At the next level up you have a bunch of functions that can take some arguments and spits out some stuff. The question is does that function work etc?

At the next level up you have systems thinking. If I have 100 lambda servers that are all executing from a queue and then I have 20 lambda servers that are all reading from those 100 you can guess where the data is going to pile up.

I am radically over simplifying, but hopefully you see the parallels to binary, code, application logic

In our "designed" software you can almost never go and change one line to modify the behavior of a program. Instead you have dozens if not millions of functions that all interact depending on the lens by which you want to look. Usually it is contained in on "area" with code that matters the most, but that isn't always the case. Is it any surprise that biology is even messier?

The article mentions the 300 genes related to schizophrenia. This is like me mentioning that my random Go service also uses a bunch of Go standard library code when it is executing.

Debugging stuff like this is what our careers are made of.

For a long time scientist were looking for a single gay gene. Poking around once I knew what to look for it only took around 6 months to figure out the whole LGBT, but in nearly all cases it involves more than just one gene. You simply have to apply debugging logic at each layer to figure it out. It is handy to understand all the layers, but depending on the problem not always required.

r0ze-at-hn··on Researchers uncover potential non-opioid treatment for chronic pain in mice
On #2 I have seen low dose naltrexone work really well which is amusing given its counterintuitive nature as an opioid antagonist. This was a fun puzzle to think about.

My current best guess on how it work starts with the fact that when taken in low doses that only last a few hours it results in upregulation of the opioid receptors. A high level pathway you have for pain and turning off the pain would be:

Pain stimulates nociceptors => increased substance P => increased cytokines, chemokines, etc => increased T-lymphocyte => increased β-endorphins => inhibit substance P

So with LDN less β-endorphins is needed to "turn off the pain" and you now get a shorter pain on / pain off cycle or really a shorter substance P cycle.

It's obvious first use is when the opioid receptors have been down regulated, but it has lots of extra benefits for instance, the immune response is time limited to the necessary duration of pain, reducing the likelihood of autoimmune complications. Additionally, diminished cytokine levels result in less hypothalamic activation, mitigating excessive appetite (not to mention better TRH response). This helps many with fibromyalgia may struggle with weight management. Numerous other secondary effects have been documented over time (last 40ish years), underscoring the multifaceted impact of low-dose naltrexone.

However, I agree that it is crucial to acknowledge that while this can effectively alleviate symptoms, it may also mask underlying issue(s). That could be something as simple as Zinc deficiency (due to diet or genetic predisposition) or more complicated such as classic like EDS.

r0ze-at-hn··on Genetic variants for male bisexuality, risk-taking linked to more children
Sorry if you were looking for a single SNP or something simple. If that was the case this would have been found long ago. Same goes for a b vitamin. Giving vitamin b wont "cure them all". This is complex and happy to discuss over phone / email if you are serious about understanding it.
r0ze-at-hn··on Genetic variants for male bisexuality, risk-taking linked to more children
It is all pre-print stuff at this point.

Here is a presentation that I gave last summer. Slightly out of date with some details given what has been learned since, but the main aspects are all there. The presentation focus's primarily on explaining the gender dysphoria aspect the second half touches on the rest of the LGBT. https://docs.google.com/presentation/d/1PdGQlNfY39JX9iPowsBh... Overall it is complex with many possible variants.

Given the sensitive nature I am not rushing to publish, but working on getting it right. Once the key aspects were figured out there is a ton to investigate in this area.

r0ze-at-hn··on Genetic variants for male bisexuality, risk-taking linked to more children
Sure, email me (my email is in my about)
r0ze-at-hn··on Genetic variants for male bisexuality, risk-taking linked to more children
It is not uncommon in the transgender community when someone transitions they will do a "full 180 switch". And of course this is never motivated by religion.

This was actually one key point in helping me understand and figuring out the biology and genetics behind gender dysphoria and the rest of the LGBT.

r0ze-at-hn··on Ask HN: What's your "it's not stupid if it works" story?
When I was younger I learned that Sed was turing complete. So I did was any young woman would do. I build an entire search engine in Sed. But it wasn't like a useless little search tool that provided bad search capability for a website, no, nearly every page (minus a few like the about page) of a site was nothing more than a presentation on top of the search query results. Several thousand hardcoded "known" pages and infinite possible pages depending on user searches. Because it was the foundation of the site, search worked unlike most websites searches of the era (~2005). This site happily ran for about a decade with surges of traffic now and then before a server migration and too little time prevented its continued existence.

Adult me is both horrified and impressed at this creation.

r0ze-at-hn··on Bjarne Stroustrup's Plan for Bringing Safety to C++
Option 3) Most businesses have a lifetime, most software has a lifetime, and one day they are run for the very last time. The same will happen for code written in C++, most of it will simply die. Some might live on in a GitHub repository, never to be compiled again.

Option 4) The business core is turned into a library. Everything from the command line tools to UI all wrap this in other languages. Everything that is not the core is deleted.

With the C++ committee after the last two decades I am firmly in the I'll believe [shiny feature] when I see it camp.

r0ze-at-hn··on Breast Milk Alternative Boosts IQ and Executive Function in Kids
hmmm, well looking at lactoferrin specifically we could flip it to say to get your iron/copper/zinc levels as an adult checked. Many of the smart geeky adults I encounter have a zinc deficiency. This often shows up as a minor eczema such as types of dyshydrosis and hidradenitis suppurativa.
r0ze-at-hn··on Dating, education, and sex ratios
or

many men who program have an avoidant attachment style?

r0ze-at-hn··on Google discontinues Google Glass for enterprise
> Google plays in a field where maintenance costs are a rounding error. You can basically freeze a product and keep it running forever for pennies, and these products get embedded in our daily lives, which is why killing it looks so bad

That would be nice if it was true, but that is not how it plays out at most tech companies.

I have specifically targeted this in my career, thinking about engineering productivity and even spent a number of years working at a company that provided software for manufacturing and explicitly learning about lessons learned in that field.

What usually happens is maintenance costs are not taken into account when building a product and a team is not disbanded after building something. They continue to run the larger teams/orgs until one day some VP looks at the expenses and decides to simply kill the entire product.

So in a world of having hiring freezes, having someone come in to help reduce total costs, from AWS to headcount is a way to free up people and get "new hires" without additional cost.

Some companies and individuals seem to get this instinctively, but many are happy to not make waves and try to improve the system. For some in management, adding value without headcount doesn't mean anything for them individually so they wont.

Increasing the total value over total costs of teams and orgs is my jam. I can take over products that have high maintenance burden, but are valuable, dramatically reduce the maintenance burden, then turn around with my free headcount and go and do it again and again growing the total value produced. This is the 10X-100X game.

r0ze-at-hn··on The End of Love
She does say that she has an avoidant attachment style. When someone gets close they pull away. I did notice they didn't really follow up on that thread, working to become a more secure person. Maybe one day.
r0ze-at-hn··on BioGPT: A language model pre-trained on large-scale biomedical literature
Ask it “is” questions and not “how“ questions help immensely. For example:

“Is C17orf69 related to cholesterol”

Vs

“How is C17orf69 related to cholesterol”

How questions by their nature can be lies. Been using chatgpt daily for medical questions but then I verify _everything_ it says via sources. It feels like 1998 Google in a way.

A dozen questions can save me tons of time. “My drunk college friend” who knows a lot but likes to boast that they know everything. Great for brainstorming, not great for fact checking.

I would absolutely love to try this model.

r0ze-at-hn··on Pandora says laboratory-made diamonds are forever
> we asked virtually every local jeweller to create something with a lab-created diamond (or even a different shiny rock entirely) and all of them -- to our astonishment -- refused.

ooooo now there is a signal. Putting in the time and effort to find/get a jeweller to make me a custom ring with a lab-created diamond when no one will. Unique, expensive. Not something he can just order from the internet.

Because lets just cut to the chase. The diamond is all about the story, the signal and what it represents, not what it is.

r0ze-at-hn··on Computer Scientists Break Traveling Salesperson Record
Looking at the BOTW solution is doesn't seem to take into account the fact that a straight line is not the fastest solution. Climbing is incredibly slow, swimming is slow and perilous, in some places such as the dark forest you can only enter/exit in one place, not randomly, you can travel faster on roads.

I guess later in the game one doesn't mind randomly walking right by the castle just because it is the shortest path, just going to eat some time dealing with each guardian of course.

Same for swimming across a the river twice around a bend rather than just following the coastline.

Also there are 226 waypoints, the linked map is missing a lot...

I am not sure what it is trying to show. Was this the waypoints you had not done at the end of the game?

r0ze-at-hn··on Hidden costs of constantly shipping new things
Worse than the fact that those holding the fort would leave, the best of those would leave (either to another company or just as often to the exciting new projects) leaving behind those that can't leave and very rapidly you end up with a not that great group which management doesn't notice or deal with.
r0ze-at-hn··on Google Doesn’t Want Staff Debating Politics at Work Anymore
Nobody should be having that discussion at work, but sadly that discussion does occur. It mostly occurs behind the back of "Alice" so if you ever hear that type of talk it is your job to report it to HR who can investigate. No one should have to fear for their safety when they come to work.
← PreviousPage 3 of 4Next →