meese712
Re:Windows NT on 600MHz machine opens apps instantly. What happened?
on Friday July 07, 2023 @01:47AM (#36627695)
I'm pretty sure the original comment was referring to both types iirc. But regardless of that they are most definitely not unrelated both are providing a virtualized layer for things to run in. Interpreted language VMs are running code for a fictional machine and system VMs are doing the same thing for real hardware which is why they are called the same thing.
Re:Jest not recommended to be used in Node.js due to instanceOf operat...
on Friday June 30, 2023 @11:01PM (#36545991)
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.
Re:Windows NT on 600MHz machine opens apps instantly. What happened?
on Friday June 23, 2023 @07:51PM (#36453795)
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!
Re:Roblox intentionally blocking Linux with Wine in their new update
on Monday April 24, 2023 @02:00AM (#35684150)
If they have the ability to detect wine usage wouldn't they have the ability to conditionally disable telemetry for wine though?
Re:How Did the Chess Pieces Get Their Names?
on Saturday April 22, 2023 @02:05PM (#35669329)
What is a knight? Did they mean horsey?
Re:A Senior Engineer's Guide to the System Design Interview
on Thursday March 02, 2023 @11:41PM (#35005900)
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.
Re:A Senior Engineer's Guide to the System Design Interview
on Thursday March 02, 2023 @11:01PM (#35005645)
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.
Re:First UK child to receive gene therapy for fatal genetic disorder i...
on Friday February 17, 2023 @05:55PM (#34841749)
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 :).
Re:First UK child to receive gene therapy for fatal genetic disorder i...
on Friday February 17, 2023 @05:40PM (#34841608)
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)
Re:First UK child to receive gene therapy for fatal genetic disorder i...
on Friday February 17, 2023 @05:24PM (#34841445)
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.
Re:Cut the Cutesy Errors
on Wednesday February 15, 2023 @09:48PM (#34814352)
Tho it should be a crime
if the signs don't rhyme
Re:Live Briefing on Alaska Aerial Object Shoot-Down
on Friday February 10, 2023 @07:35PM (#34748119)
I checked, looks like they'd probably fly into China right now (maybe Hong Kong) if released from Taiwan
Re:Ask HN: Laid off folks, are you getting hired?
on Thursday February 09, 2023 @03:49PM (#34731204)
"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 :-)"
Re:Yahoo to lay off more than 20% of staff as it shrinks ad biz
on Thursday February 09, 2023 @03:01PM (#34730466)
Yahoo is somehow the ninth most visited website. I guess people still use their (well Microsoft's) search.
Re:GitHub to layoff 10% and closing all offices
on Thursday February 09, 2023 @01:13PM (#34728516)
Could be worse, could be Google Chat
Re:Why does 0.1 and 0.2 = 0.30000000000000004?
on Wednesday February 08, 2023 @10:32PM (#34719419)
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.
Re:Why does 0.1 and 0.2 = 0.30000000000000004?
on Wednesday February 08, 2023 @10:22PM (#34719364)
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.
Re:
on Friday January 13, 2023 @12:50PM (#34371238)
> 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.