Hacker Newsnew | past | comments | ask | show | jobs | submit | more KuhlMensch's commentslogin

I don't know if you are correct, but this is closest to how I think about it

Mechanically, a const dictionary, or a string union might achieve the same.

But semantically, an enum (sometimes) reads better.


   enum Method {
      Get = "method/GET"
      // ...
    }
The string value can be very helpful for the reader - be it a human or log ingestor


This me.


Doing a bit of low-stakes monitoring of webpages lately. It started (as I'm assuming it often does) with right-clicking a network request in Chrome and selecting "copy as curl"

Then graduated to JavaScript for surrounding logic e.g. data transformation

I had assumed I'd quickly give up and move to a headless browser, BUT I can't bring myself to move away from tiny CPU utilization of curl.

Throwing together a "plugin" probably takes me less than 20 minutes normally.

I'll probably have a look at using prowl to ping my phone.

And if I get more serious I'll look at auto authenticate options on npm. But I'm not sure if the overhead of maintaining a bunch of spoofy requests will be worth it.


I use it ~6 times a year.

My luck is mixed:

* ~33% - It works

* ~33% occasions - I mess up syntax and give up

* ~33% - I mess up syntax, but believe it SHOULD be possible, and push much longer than I untended. Until finally settling on a partial solution, and wishing I knew more - but also recognising I should used a different tool e.g. excel


"Roll over to corporate" is one take.


In this case I assume "AI" referring to the fact it is an "artificial" influencer, and no AI was used in its creation.

Feels like a trend I could see continuing: https://wwd.com/eye/people/shudu-digital-fashion-model-avata...


Interesting. Remeber where you read the though experiment?


I don't remember where I read that, sorry. On the general topic though I can recommend Ray Dalio (a retired guy who founded the largest hedge fund), who has some pretty good free stuff online that isn't too jargon heavy.

For example his video at [1] is a pretty time efficient introduction to country-level debt dynamics (and it's endorsed by some high level people like the Khan Academy guy), and he also has a free book [2] that goes into detail for bunch of historical cases.

[1] https://economicprinciples.org/

[2] https://www.principles.com/big-debt-crises/


I'm quite niave in the ways and make up of financial instituations. But from what I can tell - many of the US regulatory bodies seems to be private (but not ostensibly for profit) companies.

Infact the US Federal Reserve is not a government entity - its a private (and public somehow).

https://www.stlouisfed.org/in-plain-english/who-owns-the-fed...

This contrasts (as far as I can tell) with Australia, where the central bank is 100% state-owned.


I wonder what the average age of an E-Ink Tablet purchaser is vs a purchaser of a traditional tablet (traditional tablet being an iPad, not a wax-covered slate)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: