HN user

cjpb

29 karma
Posts0
Comments18
View on HN
No posts found.

I've tried Prisma, TypeORM and MikroORM and I'm certainly the most impressed with MikroORM.

It's simple and the use of identity map within a unit of work, tied to a request context (for example), is just brilliant.

The handling of relations (with configurable loading strategies) and other features such as Embeddables and Filters make it a real joy to use.

And if at any point I can't achieve something with MikroORM itself (which generally in my case is calling a PostgreSQL function), I can easily grab the underlying Query Builder from Knex.

It also has the tooling to generate a schema from your Entities, or generate Entities from an existing schema - so it's easy to get started on something new or existing.

I've been doing this for a few years now as I grew tired of video/audio getting removed without them leaving any trace of what the content was related to.

My current setup consists of several scripts on my personal server - basic CLI wrappers around "youtube-dl" (supports many sites, not just YouTube) - these scripts set my default preferences as well as the destination folder depending on the parameters passed.

Once the download is complete, the destination folder is just one of many paths scanned by my Plex instance. I can then pull up the video/audio on my television, computer or mobile device as I please.

You raise some good points.

I also believe personality types play a large part, for example I'm an introvert, and while spending time with others makes me happy - that can easily be negated if I spend too much time with others or don't have a chance to come up for air (e.g. some alone time).

Not to mention the personality types of others as well. I have introverted friends whom I can quite happily spend weeks at a time with (low energy, deep conversations, no awkwardness with silence), and on the other end of the scale there are friends who are extremely extroverted whom I cannot spend more than several hours with (high energy, shallow and constant changing of topics being discussed, a feeling of awkwardness when there is silence).

Also remember these cars are built with KERS/DRS:

"During braking, a generator at the front axle converts the car’s kinetic energy into electrical energy. In the split exhaust system, one turbine drives the turbocharger while another converts surplus energy into electrical energy. The braking energy contributes 60 per cent, with the remaining 40 per cent coming from exhaust gas. The recuperated electrical energy is stored temporarily in a lithium-ion battery and feeds an electric motor on demand. “On demand” means: the driver wants to accelerate and calls up the energy at the press of a button. In accordance with the latest regulation changes, the power from the combustion engine is just under 368 kW (500 HP), and the output from the electric motor is well over 294 kW (400 HP)."

I understand why the sugar industry does this, just fighting fire with fire. The meat, dairy and egg industries have far more to answer for in regards to the current health epidemic in the western world.

Do people really think it's the sugar in the soda with all the literature we now have on nutrition? What about the oil laden fries, and the burgers packed with cholesterol, fat and animal protein that seem to be so popular in the western world? Most westerners I know consume overt fat and excess protein at least 2/3 meals each day then wonder why they have health problems.

I've seen more obese patients than I can count eat nothing but refined sugar, white rice, fruit juice (The Rice Diet [1]) and come out months later weighing half their original weight while reversing most, if not all of their western disease. Yet the majority of medical professionals continue to ignore the literature and clinical results that work in the LONG term.

And I know this is anecdotal - but when I traveled rural Asia, all the leanest and healthiest people I met ate nothing but rice, fruit and vegetables - it's all they could afford (the poorest of the lot just eat rice). They also have bowls of refined sugar on the table instead of salt and drink cane juice/sugary drinks like it's going out of fashion.

I personally eat 3000-4000 calories of carbohydrates each day, whether I'm training or not (cycling) and I never put on weight - I'm certainly not scared of soda. Winter just passed here, I trained probably once a week due to rain and actually weigh less than before Winter when I was training daily - most likely due to Thermogenesis [2].

Note too that de novo lipogenesis is so severely inefficient in humans [3] (even when over feeding) that it's laughable to even correlate sugar with obesity or our current health epidemic - especially when the majority are eating excess fat and protein.

I for one certainly love having my glycogen stores packed full of ready to use energy and my body producing glucose derived ATP [4,5] on the regular. And I know when I start to conk out on my bike I can just whip out an energy gel (sugar concentrate) or drink some sugar water to keep rolling.

I also imagine most folks on HN use their brain for most of the day, so don't forget to get adequate glucose on the daily to keep it humming along optimally [6].

Sugar is your best friend if you haven't already damaged your pancreas. Just make sure to get some basic nutrients and minerals from plant sources and you're good to go.

[1] https://www.drmcdougall.com/2013/12/31/walter-kempner-md-fou... [2] https://en.wikipedia.org/wiki/Thermogenesis [3] https://www.drmcdougall.com/misc/2009nl/mar/passionate.htm [4] https://en.wikipedia.org/wiki/Carbohydrate_catabolism [5] https://en.wikipedia.org/wiki/Adenosine_triphosphate [6] http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3900881/