Hacker Public Radio Hacker Public Radio
-
- Technology
-
Hacker Public Radio is an podcast that releases shows every weekday Monday through Friday. Our shows are produced by the community (you) and can be on any topic that are of interest to hackers and hobbyists.
-
HPR4105: My story how I found a cure for my obesity
I have been struggling with my body weight since I was 35, and I’m
now 60.
I know that not all listeners are familiar with the kilogram as unit of
measurement, but we can use the BMI (Body Mass Index) formula to discuss
this. It should be somewhere between 22 and 25 and mine has been 33 for
a long time. A very long time. No matter what I tried.
Yes, I tried some diets but they only work if you keep doing them. So
if something does not become normal or easy than at some inevitable
point you will stop and gain weight again.
Yes, they talk about changing your life style but any change that is too
drastic is bound to fail in the end.
And then recently I read this book. This absolutely changed my life
and that is why I am so motivated to tell you all about it.
Book obesity code, Jason Fung, a Canadian nephrologist (kidney
specialist).
He is also a functional medicine advocate who promotes a
low-carbohydrate high-fat diet and intermittent fasting. But we come
back to that later.
Not another diet hype. That is an industry on its own.
This is scientific stuff. With lots of links to research papers.
With large groups and thoroughly peer reviewed.
And this does not mean that this story is for everyone.
There exist other medical reasons why people gain weight.
But, assuming most people start out in life being healthy, then most
people gaining weight are not ill.
So, if you gain weight, consult your doctor first to rule out any
medical reasons.
Jason Fung noticed that practice didn't match with theory.
Everybody who is given insulin gains weight.
Even diabetes type 2 people.
There are even several scientific studies that proves this. Give people
insulin and they will gain weight.
So what if insulin is the culprit for gaining weight?
Insulin is a hormone. Its job is to send signals through the body.
Its use is to allow body cells to absorb nutrients in the blood
stream.
Every time you eat the insulin peaks and subsides normally three
times a day.
Body process called gluconeogenesis. Making fat in the liver for one
day storage.
If you eat the body makes insulin. That is normal.
If you eat more, the body makes more insulin.
Body cells adjust to the higher level and become tone deaf to insulin:
Insulin resistant.
This means next time the insulin level needs to be higher.
And higher levels of insulin mean you will gain weight.
If you eat sugar, it is so easy to break down that it goes
immediately into storage, e.g. body fat.
The thing is, wheat is chemically a long string of sugars. So the
body will break it down into sugar and send that too to storage.
And almost any food we buy these days contains sugar.
Except unprocessed foods like vegetables.
How to lose weight? Well, the body needs to access the fat in
storage. So we need to extend not eating until the liver has run dry of
the daily dose of liver fat.
This is very easy. Just extend the daily period that you do not
eat.
When do you not eat? When you sleep. So, skip breakfast. The name says
it all, you are breaking your fast.
Drink some coffee (no sugar of course), or tea, or water and try to
start eating later in the day.
And another word for not eating is fasting. But it is a voluntary
fast!
So I tried this for one day. Skip breakfast and try to eat it at
noon. I mean, what could possibly go wrong, right? The next day I had
lost some weight. And it was sooo easy! I could say 300 grams but again,
your mileage may vary or you have no clue what one gram is, let alone
300. But that is not the point. The point is that I lost weight! And to
me this has been super easy.
So the solution turns out to be:
extend the time your insulin levels are low. 16, 24 or 36
hours.
eat as little sugar as possible.
Which b -
HPR4104: Introduction to jq - part 1
Introduction
This is the start of a short series about the JSON data format, and how
the command-line tool jq
can be used to process such data. The plan is to make an open series to
which others may contribute their own experiences using this tool.
The jq command is described on the GitHub page as follows:
jq is a lightweight and flexible command-line JSON processor
…and as:
jq is like sed for JSON data - you can use
it to slice and filter and map and transform structured data with the
same ease that sed, awk, grep and
friends let you play with text.
The jq tool is controlled by a programming language
(also referred to as jq), which is very powerful. This
series will mainly deal with this.
JSON (JavaScript Object
Notation)
To begin we will look at JSON itself. It is defined on
the Wikipedia page
thus:
JSON is an open standard file format and data
interchange format that uses human-readable text to store and transmit
data objects consisting of attribute–value pairs and arrays (or other
serializable values). It is a common data format with diverse uses in
electronic data interchange, including that of web applications with
servers.
The syntax of JSON is defined by RFC 8259 and by
ECMA-404.
It is fairly simple in principle but has some complexity.
JSON’s basic data types are (edited from the Wikipedia page):
Number: a signed decimal number that may contain a
fractional part and may use exponential E notation, but cannot include
non-numbers. (NOTE: Unlike what I said in the audio,
there are two values representing non-numbers: 'nan' and
infinity: 'infinity'.
String: a sequence of zero or more Unicode characters.
Strings are delimited with double quotation marks and support a
backslash escaping syntax.
Boolean: either of the values true or
false
Array: an ordered list of zero or more elements, each of
which may be of any type. Arrays use square bracket notation with
comma-separated elements.
Object: a collection of name–value pairs where the names
(also called keys) are strings. Objects are delimited with curly
brackets and use commas to separate each pair, while within each pair
the colon ':' character separates the key or name from its
value.
null: an empty value, using the word
null
Examples
These are the basic data types listed above (same order):
42
"HPR"
true
["Hacker","Public","Radio"]
{ "firstname": "John", "lastname": "Doe" }
null
jq
From the Wikipedia page:
jq was created by Stephen Dolan, and released in October
2012. It was described as being “like sed for JSON data”. Support for
regular expressions was added in jq version 1.5.
Obtaining jq
This tool is available in most of the Linux repositories. For
example, on Debian and Debian-based releases you can install it
with: -
HPR4103: What's in my bag?
Laptop:
Estarer
Messenger Resistant Briefcase Computer Grey
Power bank
INIU
High Speed Flashlight Powerbank Compatible -
HPR4102: Re:HPR 3133 More MPV Quick Tips
MPV resources
Awesome mpv resources on
Github
MPV folder history on
Github
My github
MPV History using Lua on
my Github page
hpr3133 ::
Quick tip - Using MPV with Youtube links
I give a quick tip on shortcut keys for watching Youtube or other
video sites in MPV
hpr3133 :: Quick tip - Using
MPV
My MPV History excerpt
My MPV History excerpt -
HPR4101: A I O M G
https://docs.google.com/document/d/17z3i5VlRzEn2tYPfb-Cx0LYpdKkbL-6svIzp7ZQOvX8
Resume Update Tips
I use Kagi.com pro $300 / year but you get access to much more
Search+AI but not plugins like ChatGPT so if you MUST have ChatGPT
plugins you will need OpenAI Premium account but if you don't I high
recommend Kagi.com Pro account with access to Assistant Beta !!!
Land a Job using ChatGPT: The Definitive Guide!
https://youtu.be/pmnY5V16GSE?t=192
Extensive Resume Notes
https://drive.google.com/file/d/1zeYIG7tTE0BUqbRM7-hpk3VdTRc35ZkL/view?usp=sharing
Ripped cybersn
https://rmccurdy.com/.scripts/downloaded/knowmore.cybersn.com_20220811.txt
Perfect ChatGPT Prompt
https://www.youtube.com/watch?v=jC4v5AS4RIM
Summary
There is a formula consisting of 6 building blocks that can help
generate high quality outputs from ChatGPT and Google Bard: task,
context, exemplars, persona, format, and tone.
The order of importance for the building blocks is task first, then
context, with the others being optional but helpful.
The task should clearly articulate the end goal using an action verb
like "generate" or "analyze".
Context provides relevant background information to constrain
possibilities.
Exemplars like examples or frameworks included in the prompt can
improve output quality.
The persona allows specifying who ChatGPT should be, like a job
recruiter.
The format specifies how the output should be structured, like an
email or bullet points. Tone provides keywords to set the feeling, like
"friendly" or "serious".
Example
You are a senior product marketing manager at Apple and you have just
unveiled the latest Apple product in collaboration with Tesla, the Apple
Car, and received 12,000 pre-orders, which is 200% higher than target.
Write an email to your boss, Tim Cookie, sharing this positive news. The
email should include a tl;dr (too long, didn't read) section,
project background (why this product came into existence), business
results section (quantifiable business metrics), and end with a section
thanking the product and engineering teams. Use clear and concise
language and write in a confident yet friendly tone.
Example 2 ( mine )
I want you to act as a cyber security specialist for a leading
consumer products company and you want to relay the importance of people
understanding their data and have some idea what they want to do with it
before we spend hours for the onboarding effort. Write an email to your
boss, Joey , sharing this critical component of the SIEM. The email
should include a tl;dr (too long, didn't read) section, example
of how the team can spend many cycles onboarding data only to find the
requester has no idea what they want to do with the data or it does not
satisfy their use case. Use clear and concise language and write in a
confident yet friendly tone.
Response Subject: Streamlining SIEM Onboarding with
Clear Data Objectives
Hi Joey,
I hope this email finds you well. I wanted to touch base on a
critical aspect of our Security Information and Event Management (SIEM)
process that could significantly enhance our efficiency.
TL;DR: We need to ensure that stakeholders understand their data and
have clear objectives before we initiate the SIEM onboarding -
HPR4100: Charleston, South Carolina
Charleston, South Carolina is a classic Southern city which had a
past as a wealthy city, in large part due to slavery, and was active in
the American Revolution before becoming the starting place of the Civil
War.
Links
https://flic.kr/s/aHBqjAvQKR
https://flic.kr/s/aHBqjAvQY6
https://flic.kr/s/aHBqjAvS82
https://www.palain.com/travel/rv-trip-2022-2023-southeast-us/charleston-south-carolina/
Customer Reviews
Love this idea
Keep it up
This is real Open Source
With a different host every day, you get people's once every few month bit of tech awesomeness every day, not oh no we have to do a show, let's throw something together. Great job on this show community. Way to go open source podcasting.
Mixed bag, at best
Some of it is moderately interesting from time to time. But after just listening to a guy (probably drunkenly,) ramble about installing an SSD and 16 gigs of RAM into a decade old MacBook for 18 minutes straight, I can't recommend. (Real hacker stuff, that...) There's plenty of better podcasts that are more consistent and technology-focused out there.