HNHacker News
TopNewBestAskShowJobs

agytvfr

44 karma · joined November 17, 2020

submissionscomments
agytvfr··on Why Zig when there is already C++, D, and Rust?
In Zig? It would allocate stack space for a new variable a, and add b and the d field of c together and insert that value into the memory location that a reserved. In D or Python or anything that allows for properties, it would be allocating a where-ever the language allocates stuff, then calling an infix function '+' which could be anything depending on the language including starting up a JVM in the background for god knows what reason, and calls it with the arguments b and the result of calling the property function d of the object c.
agytvfr··on Holiday Hacking – Tracking my heart rate while playing Call of Duty
> I’m curious what a non-animal heart rate looks like.

Most sources consider animals as separate from humans, so non-animal would mean human. In general poor treatment of animals is considered a lesser offense than one commited against a human, as an illustration of the separation of categories.

agytvfr··on Eric Engstrom, co-creator of DirectX, has died
Not a doctor and I wouldn't listen to medical advice from HN, but you can find a lot on this:

>Therefore, it may be beneficial to administer APAP(Tylenol) in combination with NAC routinely to reduce rates of liver failure and death. Because NAC's main role is to reduce the accumulation of APAP's toxic metabolites, the concomitant administration of NAC should have no impact on the efficacy of APAP as an antipyretic and analgesic.

From: https://clinicaltrials.gov/ct2/show/NCT01137591 .

agytvfr··on Eric Engstrom, co-creator of DirectX, has died
> How much Tylenol would a person have to consume over a two month period to permanently damage their liver

Liver damage can occur after a single incident. People have died from single time overdoses of paracetamol. There is a quick fix in an ER of giving NAC which can help eliminate most of the damage, but there is a small window(a day or two) where it is effective.

agytvfr··on An AI Girlfriend Seducing China’s Lonely Men
I very likely didn't, could you try explaining it in a way less subject to poor interpretation? I think, at least judging by a sibling comment, people are not understanding what you are meaning to say. English is not my first language, so I apologize for any confusion.
agytvfr··on Google is getting left behind due to horrible UI/UX
One thing I have always thought is odd, is that a multinational company that has ~billions of users would have a single UI. At Google or Facebook scale, it would seems like having a more localized UI per region would make more sense. It isn't like they don't have the money to do this, and most of the service is behind an API/server-side, so having a different front-end better localized to, say, Arabic users, doesn't seem like it would place an undue burden on them.
agytvfr··on An AI Girlfriend Seducing China’s Lonely Men
Thank you for this, I was wondering that as well. I thought it was a bit interesting that one of the metrics was "expected Conversation-turns Per Session". I would think most of the success in the chat bot comes from a proper metric for the goodness of a chat. It seems like this was the first paper where that measure was used, does anyone know more about this?
agytvfr··on An AI Girlfriend Seducing China’s Lonely Men
That seems like a weird dichotomy, Call of Duty is likely more fun in a going on an adventure way, where as chatting with an AI seems more like the old livejournal/90's blogging community(venting to someone about your feelings).
agytvfr··on An AI Girlfriend Seducing China’s Lonely Men
So you believe that modern men would prefer an AI girlfriend because modern women are unlikely to want to be a subservient best friend/are overweight?

I don't know that I would believe that to be true, especially in modern China where most women are of average/slightly under weight. Also we don't see much of a similar trend of women being drawn as much to some AI boyfriend.

agytvfr··on The Lady, or the Tiger? (1882)
> How many Buddhists does it take to change a lightbulb?

Zero, change is in the nature of all things. It is natural that the light bulb itself will change.

agytvfr··on Computer Graphics from Scratch (2017)
Thank you for taking the time to respond!
agytvfr··on Debugging Misadventures: Down the Rabbit Hole
This was a good read about explaining debugging to a sibling who isn't a programmer. I loved the illustrations and the way the author explained things.
agytvfr··on Yes! High level languages should be used to write systems software (1975)
This is actually about high level languages like C, from the abstract:

>Note that, by this definition, assembly languages occupy a position intermediate between machine languages and compiled languages.

And:

> Thus, I take the point at issue to be: “To what extent is it desirable for the system programmer to specify machine details?”

Basically this is an article about the importance of machine independent languages, and not about using Python for your userland or something similar.

agytvfr··on Ask HN: Who is reading? (December 2020)
I don't know if HN should know about it, but I have started trying to broaden my reading beyond the "Western Canon". Right now I am working on whatever works of Junichiro Tanizaki(https://en.wikipedia.org/wiki/Jun%27ichir%C5%8D_Tanizaki) I can find. My favourite so far was "Some Prefer Nettles" which aside from the puppetry bits seemed like a narrator who could have lived in our time. It felt very modern overall.
agytvfr··on Day 2: Perl is dead. Long live Perl and Raku
This was a pretty nice article on some of the rationale behind Raku, but I didn't really get this part of the end:

> -Ofun

. Which is apparently a meme for Raku:

> Audrey Tang coined the phrase that Raku is optimized for fun, short -Ofun.

from https://raku.org/fun/.

agytvfr··on Bits of DNA in ocean water can reveal white sharks swimming nearby
That is pretty interesting, I am surprised there is enough density of the genetic material in the water for them to find any.
agytvfr··on Computer Graphics from Scratch (2017)
Thanks so much for making the book available on the site.

Have you ever written about your game development company and how you managed to get the contracts to produce the Ghost Whisperer and other games?

agytvfr··on Randall Munroe is learning new things from Google
I for one welcome all the terribly sourced and miss-informed term papers this will bring.

This should make plagarism detection easier.

agytvfr··on macOS to FreeBSD migration a.k.a. why I left macOS
> I mean, wtf? With open source, there is at least discussion and education about something like this.

I mean Gnome3 has removed features pretty regularly that people liked without any real discussion. I don't think that is a closed/open source thing, more of a project communication thing.

agytvfr··on No excess deaths in Sweden compared to the last ten years
So comparing the year to date with previous years neglects the fact that they had almost no cases most of the year and do now. Of I count my weight before I was obsese until now I would not be obese