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

Yes but the heart contains a lot of neurons so it's an interesting theory.


Over half of all neurotransmitters, including 80-95% of seratonin, originates in the gut. I wouldn't be surprised to hear a microbiome-based theory of personality but cellular memory is a new one to me

Possibly related: it turns out horizontal gene transfer is way more common in humans than we could expect and we really don't have a good explanation for how it's happening

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5379729/


Over half of all neurotransmitters originates in the gut, but the barrier preventing the entry of neurotransmitters into the brain is very effective in healthy individuals.

Signals from the gut to the brain arrive via the vagus nerve and probably also the other cranial nerves.


Interesting! The way I've often heard it is that "over half of neurotransmitters originate in the gut" — making it sound like it's talking about the neurotransmitters already at the brain. Do you have any citations that could clarify this?


Neurotransmitters are used all over the body. A lot is centralized in the brain, but the periphery also uses neurons and neurotransmitters.

Neurotransmitters in general don't particularly imply they're being used in the brain. Some neurotransmitters travel through the body, but a larger fraction are produced locally by a cell and intended only for close neighbors.


I probably learned that fact from an episode of neuroscientist Andrew Huberman's podcast--more likely than not episode one:

https://youtu.be/H-XfCl-HpRM


TIL.

And Python uses RFC 4648


Python might say that, but as often it’s not really true: it really mostly works off of 2045

- the “default” encoder (“b64encode”) will pad the output

- although it will not linebreak (“encodebytes”) does that)

- the default decoder will error if the input is not padded

- the default decoder will ignore all non-encoding characters by default

Also both b64encode and encodebytes actually use binascii.b2a_base64, which claims conformance to RFC 3548, which attempts to unify 1421 and 2045. Except RFC 3548 requires rejecting non-encoding data, whereas (again) Python accepts an ignores it by default, in 2045 fashion.


Ai generated


Are you sure or are you just guessing?


This shit needs to die. I'll try to remember to ignore this blog in the future.


And nuitka.


Most newsletter servives provide rss.

E.g: you can read https://bitecode.dev from email or rss because substack supports both.


It's absolutely ok to have alpine handle a big form, you don't have to never use js with htmx.


Also the filtering, grouping, caching, pre-fetching and ordering contraints are unlikely to be the same.

Even worse if the json api is public, as it may need to restrict capabilities.


Most of us pay for a lot of services like netflix, spotify, etc.

We are ok with paying, but not:

- giving money to a user hostile company with a terrible moral track record

- giving money to keep being tracked anyway

- having to log in with a google account that can be locked down any time with no given reason, and will take over your entire android phone even from a single app

- being served ads from other unrelated services using data collected from google service we paid for


The snippets the article give are good to get an UTC datetime or timestamp now.

I'd like to add that if you have any fancy datetime manipulation to do in Python, pendulum (https://pendulum.eustace.io/) is probably your best bet.


>pendulum is probably your best bet

It is best until you work with Pandas DataFrame (https://stackoverflow.com/questions/47849342/making-pandas-w...)


Numpy and pandas are their own little island. It's not just dates and time, it's everything.

If you use numpy and pandas, you should also not use Python datetime, generators, most stdlib mathematical functions, the itertools module, random, etc.

It's the first thing you learn if you read any good pandas book, and the first thing I teach in my numpy/pandas trainings.

It has pretty much nothing to do with pendulum.

Basically, half the Python ecosystem is "well, except with numpy/pandas of course".


    from zoneinfo import ZoneInfo
    import pendulum
    import datetime

    def pendulum_to_datetime(pendulum_dt: pendulum.DateTime) -> datetime.datetime:
        return datetime.datetime.fromtimestamp(pendulum_dt.timestamp(), 
    ZoneInfo(pendulum_dt.timezone_name))
    
    # test 
    
    df = pd.DataFrame([[1, 2], [1, 2]], columns=['a', 'b'])
    df["time_column"] = pendulum_to_datetime(pendulum.now())
    
    print(df)
output

       a  b                      time_column
    0  1  2 2023-11-19 18:14:16.027777-05:00
    1  1  2 2023-11-19 18:14:16.027777-05:00


    >> df.dtypes

    a                                         int64
    b                                         int64
    time_column    datetime64[ns, America/New_York]
    dtype: object


BS, you can still make a deal with microsoft as a non profit, where the deal gives them an exclusive licence to use the result in exchange for financing.

MS doesn't care about how money it cost, they care about the fact it's their ticket back into the fight with google and apple.


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

Search: