HNHacker News
TopNewBestAskShowJobs

charlysisto

170 karma · joined September 14, 2011

submissionscomments
charlysisto··on The worthlessness of Vitamin D is mildly exaggerated
Yes magnesium seems to be quit a common deficiency because the heavy use of fertilizer depletes the density of minerals in the food chain. Also magnesium is a very important co-factor in the use of Vit D, so supplementing with a magnesium deficiency might not be of much use. Sadly this seems overlooked in most studies
charlysisto··on Solving Every Sudoku Puzzle (2006)
Probably a joke... nevertheless I had the same reaction ! It exercises your deduction, binary thinking, also stochastic vs systematic methodology (first look around randomly find the most obvious before going number by number). Getting to discover all the tricks and reasoning in various "dimensions" is very satisfactory as well. But above all sudokuing puts you in a sort of meditative state : focusing your mind on this micro deductive world gets rid of all the noise and can be very relaxing between 2 pomodoros :)
charlysisto··on Mitochondrial signal transduction (2022)
Yes I remember Dr Bikman saying that and it make sense since it is a form of uncontrolled electrical storm in the brain analagous in that sense to epilepsy.

The main theoretical idea behind mitochondrial dysfunction is that it is a root cause of many mental health issues : depression, bipolar syndrome, migraine, alzheimer (aka type 3 diabete)... even schizophrenia. And the reason given is you have those neurone networks with impaired mitiochondria that are over or under excitable. These are not dead neurone so it is reversible if you can bring back healthy mitochondria... Part of it is done through mitophagy and mitogenesis induced by fasting/ keto therapy.

charlysisto··on Mitochondrial signal transduction (2022)
Apparently they play a critical role in neurones (which can have millions of them) not only because the brain is the most energy hungry organe but also because they play numerous parts in how they work : neurotransmitter transporters and regulators, stress modulator, epigenetic "signalors"... the list goes on. No wonder ketones can have an impact such as healing epilepsy just by the effect they have on mitochondria. It is quit a fascinating domain of research and the potential it is unravelling is huge IMHO.

- https://www.youtube.com/watch?v=Y6iJMDhLmLc

- https://www.youtube.com/watch?v=_XTOKo99Ohg

- https://www.youtube.com/watch?v=o7sftaJThk8

charlysisto··on Pilot study shows ketogenic diet improves mental illness
Chris Palmer, Harvard Psychiatrist has written a book called "Brain Energy" about the potential effects of Ketogenic therapy. The crux of his theory relies on Mitochondria's health which play essential roles (serotonine dopamine regulation, epigenitic signaling...) apparently a lot more than just providing ATP. And you have millions of them in each neurone so trauma, addiction, chronic stress, malnutrition, brain insulin resistance... may have compromised those organelles and the neurones therefore become over or under excitable. Ketones provide a relief for Mitochondria (only alternate energy source for the brain, mitophagy of damaged cells, protection of healthy ones through uncoupling). It is a lot more than just basic common sense for good health - although getting all the essentials nutriments may be part of it as well !

Anyway in his book (or podcasts) there are many anecdotal but nevertheless fascinating cases of hopeless patients in total remission after a couple of months on keto therapy. It seems a lot of research is underway as well

charlysisto··on Man Allegedly Raped in Jail After AI Wrongly IDs Him as Suspect Despite Alibi
I agree and think that's the main point of the story not AI, however questionnable it's usage may be
charlysisto··on Biohacking Lite (2020)
Evolution indeed gave us fat storage which is one of those traits becoming unnecessary in the post industrial world of abundance. The problem is our body is more adapted to the too little rather than to the too much. E.g: fasting comes with a flurry of benefits (autophagy, mitophagy, ketones, microbiome reset, inflammation control....) in the absence of which our overall metabolism slowly poisons itself - you know the story, obesity, diabetes and so on.

BTW keto (fast mimicking) diet was invited in the 20s in the Mayo clinic to cure epileptic children. I encourage people to have a look at the fascinating "Brain Energy" book from Chris Palmer (or watch him on youtube) to see what's underneath it and how metabolism and brain efficiency are linked

charlysisto··on TDD Doesn't Force Good Design
I heard this a few times in the ruby community by some well known figures like Sandy Metz. Simple example : time related tests can be cumbersome to setup, but if you inject time in the method, test becomes easy, incidentally improving your design by not relying on globale objects...

But I am sceptical this can work without knowing and practicing good design principles (SOLID) independently from tests !

However I believe tests are super important for refactoring, wether the design is good or not. My 2 cents : if the design is bad, (spaghetti and all) tests should be done more at the functional level, when your confident design is getting good then rely more on unit test

charlysisto··on Everything must be paid for twice (2022)
And maybe we should mention the elephant in the room : the environmental price
charlysisto··on The Role of Diet on the Gut Microbiome, Mood and Happiness
I don't know much about the gut microbiome, but it is pretty well established now that the ketones produced by fasting (or diet mimicking it like keto) have a powerful effect on the brain : as an alternative to glucose for fuelling neurone, and a signaling molecule to mitochondria for mitophagy (the cleaning up of the damaged ones) and mitogenesis. These processes can reactivate and repair group of neurones compromised by oxydative stress or insuline resistance and thus heal the mind.

See Chris Palmer book : "Brain Energy" or Bikman's : "What makes Us Sick" or Gundry the "Keto Code"... All saying the same thing although with different perspectives. Yes the Brain is just another organ and we're starting to discover ways to trigger self healing processes which can leverage and/or take over the common chemical oriented cures mimicking neurotransmitters...

It started 100 years ago at the Mayo clinic were they cured epileptic children with strict keto diet. Quit fascinating !

charlysisto··on Who Blew Up Nord Stream? Investigators Focus on Mysterious Passengers on a Yacht
You have a point but that would mean Russia cares about contractual ramifications - not sure about that !

On the other hand blowing up the pipe means giving up on :

1. blackmailing the europeans if they don't comply to some demands. 2. A huge revenue - because BTW there's no way it can be repaired.

So I don't think contractual ramifications weighs much in that context

charlysisto··on Who Blew Up Nord Stream? Investigators Focus on Mysterious Passengers on a Yacht
> Russia because they could put pressure on Europe. That doesn't really hold because they could just turn off the tap
charlysisto··on RailsCasts Retrospective Part 1: The Fuel
I can only join the chorus and sing the praises of Ryan Bates. Railscasts was a blessing, I checked his videos almost every day. Sad when he left - spoiler alert, some sort of burnout I understood at the time... Ironically I now work for a startup helping employees cope with their work environnement. Very curious to finally hear Ryan spill out the whole story... and happy to hear about him again !
charlysisto··on What Is Social Cooling?
Makes me wonder if you have the corollary concept : Social Heating... my feeling is social media has a multiplicative effect on both sides of the thermometer
charlysisto··on The Stages of a Twitter Storm (2018)
"that article pretty much nailed it" comment would probably be somewhere in its 29 steps :)
charlysisto··on What is energy, actually? (2011)
Very impressed to find Jancovici here. I've been watching his intervention for 6 months and I found he has one of the most rational approach to our coming world. It is bleak but not desperate, although his main message is : technology/economy (based on our consumption of fossil fuel) will not have time to catch up on the coming catastrophies and the inevitable pic oil. We have shaped the world to our convenience now we have to adapt to it and the illusion of infinite resource needs to end or it will end us.
charlysisto··on Environmentalist Says Only Nuclear Power Can Save Us Now
on the long term probably, the idea (I have heard from diverse sources) is that only nuclear power can ensure the transition from carbon to sustainable energy in order to avoid to avoid a catastrophic++ climate change
charlysisto··on I hate telephones
Phone for me is an intrusion when it's not very close people. I tend to hate phone as well but if the conventions around phoning changed like, you'd systematically agree through messaging on a certain moment to call etc I guess I could reconcile with the dreaded instrument.
charlysisto··on I hate telephones
Excellent idea, there's a huge market for new phone management apps it seems, what are we waiting for
charlysisto··on Ways to paginate in Postgres (2016)
I wrote nexter (https://github.com/charly/nexter) a few years ago without knowing I was applying the keyset principle (it's not pagination though but a next page library). It works well on a consistent data set but often falls short with Nulls, too many associations and whenever I aggregate stuff. Also it generates so many ANDs & ORs you do feel safer using Offset & Limit. I find it frustrating there's no easy solution provided by DBs for such a universal and simple need...
charlysisto··on Flipped Iceberg (2014)
Did that Iceberg rollover when it heard the news today ?
charlysisto··on Someone forged my resignation letter
I am biased because I read HN daily and kind of assume everybody does - including the author of the story. Which is silly...

Nevertheless I strongly believe in the presumption of innocence, even outside of court, as a general moral rule we owe to others.

Outrageous might of been a little strong though :)

charlysisto··on Someone forged my resignation letter
Although some of these hypotheses are vaguely plausible I think it is outrageous to lay all the suspicion on a potential victim. I'm not saying we should be naive and take everything for granted in this story but the least we can do is assume he's telling the truth before advocating the devil - specially in regards of a mothers death.

Also :

+ if it was holidays or a child he wouldn't have left in a rush : those departure should arguably be prepared in advance

+ "Technological details" are very vague and sounds like something he overheard but didn't understand or know how to use.

+ the throwaway account means nothing and could very well plead in his favour : he's not sure he wants to spend time attacking his company so he stays anonymous before taking a rushed decision.

+ not checking his email is consistent with not having the dongle !

charlysisto··on React: Mixins Considered Harmful
I would argue that the more intuitive principle behind composition is the "Single Responsibility" one. Although it is correlative to the idea of 'program to an interface' (aka don't mingle with the state from the inside of an object that is not for you to do) I find it easier to grasp.

While i'm at it I'll add that the main reason SRP is so important is because it limits combinatorial explosions of state, so you can keep control, test and reason about it - incidentally the main idea behind the success of React.js

charlysisto··on React: Mixins Considered Harmful
It's funny to see in the life cycle of every new language/framework in the block the rediscovery of good architectural patterns that can be summed up in one sentence: - inheritance & mixin bad / composition good.

Good article nevertheless.

charlysisto··on My time with Rails is up
A simple formula to take a lot of AR's bloat away is to use it mainly as a read library (AR's great for generating complex queries in a simple & readable manner).

For write operations (aka user interaction) I use a combination of solnic gem (Virtus) with ActiveModel that way I remove a s*t load of responsibilities from AR and the controller : - params management (and strong params) - validations - nested associations - callbacks - And all the context management (like user vs admin...)

That way I only mildly part from the rails way and yet have a good separation of concern. Actually ActiveModel is used by ActiveRecord so having a form object relying on it is still very much rails compliant. The refactoring is minor (no hexagonal stuff) and the level of indirection very low.

charlysisto··on A Step Forward in Parental Leave at Etsy
Business is a part of society, not the other way round.
charlysisto··on Testing Rails applications in the life of a freelancer
This type of complexity should be covered by architecture (SRP & composition) not tests. The main value of test is revealing the flaws of your code, not making sure it works at all cost.
charlysisto··on Why React/Redux is inferior as a paradigm
Immutability, stateless function (or referential transparency), the ability to reason about state, the edge it gives to concurrency etc these are all valid, and objective arguments. It might not be the end of the discussion but at some point the churn is going to settle down and let a framework/lib/language mature in a rich and reliable ecosystem. I think the churn and js fatigue is a reason to have more of those conversation rather than less because we want to get there faster not later....
charlysisto··on Elm in the Real World
I don't know if my case is representative, but as a backend dev I'm still on the fence with javascript and at the same time eagerly wanting to step in the frontend realm, because, well Internet. And it seems that elm finally got the right combination of reliability (functional, immutable....) and friendliness (nice syntax, good docs...) for me to cross the rubicon.

Add to the mixture charismatic personalities like R. Feldman and E. Czaplisky and this could be the answer.

Page 1 of 4Next →