Better HN
topnewbestaskshowjobs
Log inSign up

code_biologist

1,557 karma · joined Aug 24, 2019 (7y ago) · 534 submissions

Submissions

comment 2y ago · link · parent

The really brutal thing is all of the code using Pandas written by researchers and non-software engineers running quietly in lab environments. Difficult to reproduce environments, small or non-existent test suites, code written by grad students long gone. If the Pandas interface breaks for installs done via `pip install pandas` it will cause a lot of pain.

With that acknowledged, it'll make life a lot easier on everyone if the "fix the API" Pandas 3 had a different package name. Polars and others seem like exactly that solution, even if not literally Pandas.

comment 2y ago · link · parent

I needed access to my home NAS and linux GPU box while visiting family last year over the holidays. I was in a rush. I spent 45 minutes trying to get Wireguard configured and working, then tried Tailscale and had the network I was looking for in 15 minutes. I'm not a homelabber. I hate network admin.

Is Just Works™ / being moron-resistant, with good first-party client apps, a bad reason to pick Tailscale?

comment 2y ago · link · parent

This is one of the golden applications of LLMs. You can see the variety of structured formats proposed in comments, the different use cases, and honestly it seems like a bad idea to privilege any single format. Instead, you as a data consumer can use LLMs to parse common language recipes into the structured format most appropriate to your needs. DAG or linear? JSON or XML? You decide!

comment 2y ago · link · parent

Blood donation. Menstruating women get some level of this for free. Not much otherwise.

https://pmc.ncbi.nlm.nih.gov/articles/PMC8994130/

comment 2y ago · link · parent

If readers of this thread aren't familiar with the Thiel connection, you need to hear the journalist Whitney Webb's work. She's brilliant.

https://www.youtube.com/watch?v=cMYdu-vTuPI - "The REAL Reason Behind J.D. Vance’s VP Pick; Marty sits down with Whitney Webb and Mark Goodwin to discuss the partnership of the private tech sector with the surveillance state."

It's a two hour interview. Discussion of JD Vance and Palantir connection is at 12:30ish. A lot of "tin-foil hat" things seem pretty real.

comment 2y ago · link · parent

If you're a fan of articles like this, you owe it to yourself to read The Vital Question by Nick Lane. He's a British biochemist working at University College London and the book offers a detailed hypothetical route to the eukaryotic endosymbiosis. The genetic and energetic evidence he provides is compelling. In 2015 he apparently commented on Ettema's research [1] mentioned in OP:

Ettema’s team argue that their finding helps bridge the gap between our cells and those of the typical prokaryotic organisms from which we are believed to have evolved.

Others are more sceptical. “We’re getting closer to an archaeal ancestor of the eukaryotes,” says Nick Lane of University College London. However, even though the Lokiarchaea are relatively complex compared with other known archaea, they lack the large genome and energy-producing mitochondria of true eukaryotic cells. “It’s a thousandth of the way towards the complexity of a eukaryote,” says Lane. So we can’t really call them an intermediate step or a missing link.

Lane believes the crucial step in the evolution of the eukaryotes was acquiring mitochondria, which would have provided the energy to develop more complicated cellular processes and acquire a larger genome. Ettema does not think the Lokiarchaea have mitochondria, but he says some form of intracellular transport may have evolved before our ancestors acquired their powerhouses.

[1] https://www.newscientist.com/article/mg22630204-000-microbes...

comment 2y ago · link · parent

I did try altering the URL and didn't have much luck! It would make a lot of sense if Atmo was only running the model for a smaller area to keep costs from running up. My friend races in SoCal (the Channel Islands and Catalina are common destinations) and the wind shadows and streams are complicated there too.

Your observation about navigation software is accurate in my experience too :)

comment 2y ago · link · parent

How do I use Atmo for locations other than the bay area demo linked on their website? I tried URL tweaking without much luck. I have a friend who does a lot of sailing races who would love this!

comment 2y ago · link · parent

Validating in multiple places doesn't mean 2x the code. You can validate on both the client and the server using the same code. One of the charms of server-side JS.

comment 2y ago · link · parent

Instead of joining tables and using distinct or similar to filter rows, consiser using subquery "columns", ie in SELECT list.

What does this mean? Running

    SELECT
      column1,
      (
        SELECT column2, column3, ...
        FROM table_b
        WHERE table_a.id = table_b.a_id
      )
    FROM table_a
Results in "subquery must return only one column" as I expected. You mean returning the multiple columns as a record / composite type?

Keep in mind GROUP BY clause usually dictates index use.

The reason for this wasn't immediately apparent to me. For those who were curious, this blog post walks through it step by step: https://www.brentozar.com/archive/2015/06/indexing-for-group...

comment 2y ago · link · parent

Heh, I think this is exactly why MS Teams hasn't taken that much business from Slack.

comment 2y ago · link · parent

As a startup founder, all growth startup founders need to be a bit delusional — I don't mean that in a bad way. The few hardware startup founders I've met have either been very dialed into their trajectory with a clear deriskable exit plan, or extra delusional. It's fun talking to folks like that, but from an investor perspective I can see why your risk evaluation skills need to be dialed.

comment 2y ago · link · parent

The first 25 pages of Steve Blank's Four Steps to the Epiphany (here's a PDF for some Stanford class [1]). Sounds very similar to The Mom Test, but presented from a much different angle. It diagnoses the startup failure mode of excessive focus on product over customer understanding. It hit me like a freight train after my first startup failed. His detailed examination of downstream consequences in other areas of the business, like sales and marketing, are just uncannily accurate to how they played out in my business.

Validate, validate, validate. "That's really cool" is not validation from a customer. "That's really cool. I want it. How much does it cost?" is validation from a customer.

[1] https://web.stanford.edu/group/e145/cgi-bin/winter/drupal/up...

comment 2y ago · link · parent

Heh, why the lucky stiff said that he taught "by fated appointment only" and I feel the same. Sharing knowledge is a lot of energy. I like sharing but my energy is limited.

I'm a great teacher on the topics I know, but I'd much rather teach an intern something in a moment of need rather than write a blog post or make a youtube video. I'm glad there are people who blog and make videos too.

At work, some junior frontend engineers were tasked with making major changes to our site color palette with very incomplete guidance from brand designers. I taught them about color spaces beyond RGB, luminance and perceptually uniform color, and palette design and structure with a few examples. I'm no expert and I shouldn't be teaching those topics on the internet, but the project got better results for it, and I'm happy there's more FE engineers in the world with better knowledge about color.

comment 2y ago · link · parent

Sleepy me tends to rip off things like headbands.

I have a beard and use GrifGrips sports tape to mouth tape. I've found the level of adhesiveness to be a perfect balance of strength and removability. Not the cheapest, but quality stuff.

comment 2y ago · link · parent

The views chart is wildly wrong and misleading in the context presented. The linked query [1] returns aggregate views by question creation date — when it should be showing aggregate views by view date. It's not surprising that earlier questions have racked up a lot more views.

[1] https://data.stackexchange.com/stackoverflow/revision/185820...

comment 2y ago · link · parent

Only some viruses work this way, HIV is an example. This is a good article on endogenous retroviruses [1], that is viruses that work by integrating themselves into host DNA (a retrovirus) and made it into germline cells (eggs and sperm, the endogenous part).

[1] https://www.bbc.com/future/article/20230519-the-viruses-that...

comment 2y ago · link · parent

The AI spyware Recall feature was the last straw for me, even as I mostly use Windows for games and had no intent to go beyond Windows 10. After that announcement and kerfuffle I updated my PopOS partition and got my games working via Steam/Proton. Mostly drama free. Valve is really doing god's work here.

comment 2y ago · link · parent

A common convention I've seen is using T at the start of a type parameter, [1] for example. TKey, TData, TError, TSuccessCallback, etc. I always liked T at the end, but I've not seen that as often.

[1] https://github.com/TanStack/query/blob/59a6d3df3035d6effeaed...

comment 2y ago · link · parent

For Django, django-simple-history [1] is killer at this. It doesn't track perfectly in the same way as temporal tables (if a DB operation doesn't trigger a save hook, it won't be tracked) but the ergonomics for Django work is pretty unbeatable. Great integration into the ORM + auth + admin. History tables automatically derived from model definitions with sane nullability defaults, sane migration strategy, and hackability where needed.

It's made "can we get an audit table / undo delete for XYZ?" feature requests really easy.

[1] https://github.com/jazzband/django-simple-history

comment 2y ago · link · parent

Though prior to Gelsinger, Youtuber and chip leaker / rumor monger "Moore's Law is Dead" mentioned that Jim Keller's stint at Intel was so short (April 2018 - June 2020) because of internal cultural toxicity. In particular, things like leaders of major groups in Intel trying to get employees of other groups fired, so as to make their own relative progress look better. Take with a pound of salt of course, but MLiD's sources have been pretty decent.

You only resolve that kind of badness by firing a bunch of SVPs and VPs and Gelsinger hasn't done that, for many possible reasons.

comment 2y ago · link · parent

I think you're largely right but man there's some gold in the jams. Here's a 1 minute synth jam video posted to youtube 17 years ago, it still blows me away: https://www.youtube.com/watch?v=F8Kiw4aoex4

Of course he's brilliantly talented and became Dorian Concept, to your point.

comment 2y ago · link · parent

I don't think you intend it, but your explanations read as pushing culpability to the end user. Running Chrome, webpack, and Docker at the same time will get me to maximum load. Am I at fault for that?

The YouTube channel Moore's Law is Dead has info from Intel leakers (grain of salt) that the ring bus is most sensitive to overvoltage and is what's failing. In addition, the leakers say that with Intel's poor earnings they've been under pressure to ship higher margin parts (like a 14900K over a 14700K), and that they've been relaxing the binning standards to ship chips that barely meet the standard as 14900Ks. This is one of reasons 900K parts seem to be most affected.

In the channel's analysis, this overbinning exacerbates the failure rate as more cores require more power/voltage delivered to the common power rail the ring bus shares. This is why disabling E cores seems to help stability. This also leads him to conclude that if ring bus failure is on this knife's edge, then those who haven't experienced it likely have golden samples that fully meet the binning standards.

All of this is to say: damage has little to do with the workload you've run, and everything to do with your silicon lottery luck on the chip you got.

comment 2y ago · link · parent

Those who pushed the limits physically

You mean everyone who owns a motherboard from a manufacturer that was given unclear guidance on power delivery from Intel, but also encouraged to make sure their boards benchmarked competitively (by providing enough voltage for clock boosts)? That's pretty much every enthusiast.

comment 2y ago · link · parent

I had high hopes for Pat Gelsinger too. I suspect most management expects the consequences of short-sighted corporate culture to manifest in products as maybe a 1% failure rate within 90 days of sale, not a 25%+ failure rate slowly manifesting over more than a year. The former is the cost of doing business, the latter is an existential problem. I suspect Gelsinger didn't know about it and lower management buried it thinking it was a <1% problem, and he's only found out about it as it's become clear what a massive problem it is.

All just speculation though.

comment 2y ago · link · parent

At risk of being excessively cheeky, I think you should throw it into xgboost and not worry about it.

I love Jeremy Howard, but if you're doing applied ML on tabular data, tweaking specifics of model construction probably won't get you anything beyond stock xgboost. The concerns highlighted by your sibling commenter jamesblonde end up eating most of your time in deployed ML products, not model construction.

If you're looking to learn about ML model construction I'm sure it's a great book.

comment 2y ago · link · parent

Definitely a "take it in the morning and maybe skip the coffee" kind of thing. The effects feel like methylphenidate. I wish it was further explored commercially, but the duration is a very obvious reason not to.

comment 2y ago · link · parent

Minuscule indeed. In the late 2000s I ordered a gram of desoxypipradrol [1] from a sketchy Chinese chemical company. A gram was the smallest unit they'd sell.

When it arrived we dissolved it in water at 1mg/mL so we could volumetrically measure 2mg doses accurately. Our first test doses were 500ug.

It took us so long to get though the jar that some mold started to grow on the solution, even though we kept it in the fridge! Not wanting to throw hundreds of doses down the drain we scooped off the mold, added Everclear (ethanol), redid our concentration math, and moved the jar to the freezer. Wild, innocent times.

Sadly, one of my friends in on the desoxypipradrol jar died from fentanyl contaminated dark web drugs a couple years ago.

[1] https://en.wikipedia.org/wiki/Desoxypipradrol

1
567
18