Better HN
topnewbestaskshowjobs
Log inSign up

charlysisto

171 karma · joined Sep 14, 2011 (15y ago) · 106 submissions

Submissions

comment 4w ago · link · parent

I started writing a novel recently - in french. I have a clear view of each scene by this I mean not exactly what happens but the general motion, its objective and where it should land. But only when I start writing does it come to life and so many things I did not anticipate pop up and give depth to the characters and sense to the overall plot. Never would the AI give me that, however good the result may be

comment 5mo ago · link · parent

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

comment 1y ago · link · parent

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 :)

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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

comment 2y ago · link · parent

I agree and think that's the main point of the story not AI, however questionnable it's usage may be

comment 3y ago · link · parent

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

comment 3y ago · link · parent

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

comment 3y ago · link · parent

And maybe we should mention the elephant in the room : the environmental price

comment 3y ago · link · parent

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 !

comment 3y ago · link · parent

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

comment 3y ago · link · parent

> Russia because they could put pressure on Europe. That doesn't really hold because they could just turn off the tap

comment 3y ago · link · parent

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 !

comment 5y ago · link · parent

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

comment 6y ago · link · parent

"that article pretty much nailed it" comment would probably be somewhere in its 29 steps :)

comment 6y ago · link · parent

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.

comment 7y ago · link · parent

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

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

Excellent idea, there's a huge market for new phone management apps it seems, what are we waiting for

comment 9y ago · link · parent

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...

comment 9y ago · link · parent

Did that Iceberg rollover when it heard the news today ?

comment 9y ago · link · parent

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 :)

comment 9y ago · link · parent

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 !

25.

An exciting new idea in Basic Income(medium.com ↗)

2 points · by charlysisto · 10y ago · discuss

comment 10y ago · link · parent

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

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

Business is a part of society, not the other way round.

comment 10y ago · link · parent

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.
1234