Better HN
topnewbestaskshowjobs
Log inSign up

meese712

60 karma · joined Jan 13, 2023 (3y ago) · 20 submissions

Submissions

comment 3y ago · link · parent

Think the biggest slow down is from it running all the test suites in isolation in separate contexts (think that's the right word). I got frustrated with how slow our frontend tests were one day like 4 years ago and wrote a hacky jest runtime that reused the context unless it detected jest.mock or jest.spy or timer stuff in the file it was on. It speed it up by 2x with cache cleared. It was still pretty slow though...

There was also an existing issue opened requesting this to be built in by a lot of people and facebook said lol no.

comment 3y ago · link · parent

Here's a fun fact, most fonts have a font program written in a font specific instruction set that requires a virtual machine to run. There is no escaping the VMs!

comment 3y ago · link · parent

If they have the ability to detect wine usage wouldn't they have the ability to conditionally disable telemetry for wine though?

comment 3y ago · link · parent

What is a knight? Did they mean horsey?

comment 3y ago · link · parent

This is not trivia. For better or for worse truthy evaluation is a fundamental part of the language which is what this code snippet appears to be primarily testing.

comment 3y ago · link · parent

Don't see how you could consider the question they posed to be trivia for someone who knows javascript? Abuse of truthy evaluation is very rampant. All the JS codebases I've worked on are filled with `if (!myArray.length)` and etc. I would be very sad if anyone with a year of JS experience couldn't get this problem.

comment 3y ago · link · parent

I was getting at the article giving the impression this somehow cured the disease vs a BMT just slowing progression. I know the whole transplant thing sucks. I've had two transplants, thank you for being on the list :).

comment 3y ago · link · parent

Definitely true GVHD sucks. The article gave me the impression that they were saying it was somehow superior at stopping the disease because it said this "stem cell transplants, have sometimes been used to slow the disorder's progression in infants,"

(fyi a decent amount of stem cell transplant survivors do not have to take immunosuppressants for life)

comment 3y ago · link · parent

I'm confused how this would reduce disease progression compared to a much cheaper allo bone marrow transplant then if they are only modifying hematopoietic stem cells since a BMT is just doing the exact same thing except with someone else's non affected cells. BMTs are a horrific procedure though so this definitely has an advantage in that regard.

I would also have to imagine they would have to do myeloablative chemo or radiation to make sure the fixed cells propagate more than the diseased cell line.

Edit: read the study, they do give them the same chemo used for normal transplants.

comment 3y ago · link · parent

Tho it should be a crime

if the signs don't rhyme

comment 3y ago · link · parent

I checked, looks like they'd probably fly into China right now (maybe Hong Kong) if released from Taiwan

comment 3y ago · link · parent

"Sorry I missed your comment of many months ago. I no longer build software; I now make furniture out of wood. The hours are long, the pay sucks, and there's always the opportunity to remove my finger with a table saw, but nobody asks me if I can add an RSS feed to a DBMS, so there's that :-)"

comment 3y ago · link · parent

Yahoo is somehow the ninth most visited website. I guess people still use their (well Microsoft's) search.

comment 3y ago · link · parent

Could be worse, could be Google Chat

comment 3y ago · link · parent

irr? The library we use uses doubles https://github.com/eric-malachias/irr. We also use doubles for the amortization table and doubles for everything.

comment 3y ago · link · parent

Oh hey I work in mortgage! We use plain old doubles for everything and there's some rounds in there and occasionally an exotic round to the nearest 1/8th. Everything ends up matching fine where it needs to.

comment 3y ago · link · parent

> I find that the problem is solved before writing a single line of code. If that happens, then the actual part of writing becomes dull and mechanical - the problem has already been solved.

I can relate to this so much sometimes. Right now I'm putting off programming because the ticket I have I've already thought through in my head and now I'm sitting here goofing off on here and reddit because I just don't want to do the actual work part.