HN user

laex

1,129 karma
Posts96
Comments93
View on HN
monaspace.githubnext.com 1y ago

An innovative superfamily of fonts for code (2023)

laex
84pts15
aws.amazon.com 3y ago

Amazon Linux 2023

laex
2pts0
jsperf.com 5y ago

Array Concat vs. Spread

laex
4pts1
codeplayground.app 6y ago

Corona Virus Source Code

laex
2pts0
webrtc-security.github.io 7y ago

A Study of WebRTC Security

laex
4pts0
raw.githubusercontent.com 7y ago

The Design of the Unix Operating System [pdf]

laex
2pts0
tbaggery.com 7y ago

A Note About Git Commit Messages

laex
1pts0
medium.com 8y ago

I Lost 20 KG with Intermittent Fasting and Strength Training

laex
1pts1
news.ycombinator.com 8y ago

Ask HN: Any advanced react/redux tips you'd like to share?

laex
4pts3
gist.github.com 8y ago

Flatten-array.js [ gist ]

laex
1pts0
infourminutes.co 8y ago

Crypto white-papers in four minutes

laex
3pts0
solidityx.org 8y ago

SolidityX: Secure-by-default programming language that compiles to Solidity

laex
2pts0
github.com 8y ago

Show HN: Awesome Essays – Listen to Paul Graham's Essays Via. TTS [OS X]

laex
1pts0
poseidon.it.usyd.edu.au 8y ago

Red Belly Blockchain Consensus [pdf]

laex
1pts0
www.engadget.com 8y ago

Google might launch a reborn Chromebook Pixel and smaller Home

laex
1pts0
www.cs.utexas.edu 8y ago

Validating SSL Certificates in Non-Browser Software [pdf]

laex
2pts0
www.coindesk.com 9y ago

Goldman Sachs Granted 'SETLcoin' Cryptocurrency Patent

laex
2pts0
adiabat.github.io 9y ago

Discreet Log Contracts [ BITCOIN ] [pdf]

laex
2pts0
www.smartdubai.ae 9y ago

Dubai Blockchain Strategy

laex
2pts0
www.w3.org 9y ago

10.4.3 402 Payment Required

laex
2pts0
lambda-the-ultimate.org 9y ago

On the Importance of Turing completeness

laex
1pts0
imgur.com 9y ago

Reddit is down

laex
7pts3
www.paulgraham.com 9y ago

What happened to Yahoo ( 2010 )

laex
3pts0
github.com 9y ago

Show HN: Djangobot – Make authenticated requests to a Django server

laex
2pts0
robertheaton.com 9y ago

How does HTTPS actually work?

laex
3pts0
about.me 9y ago

About Vitalik Buterin

laex
3pts0
rosettacode.org 9y ago

Golang Y Combinator ( Anonymous Recursion )

laex
2pts0
easythereentropy.wordpress.com 9y ago

Understanding the ethereum trie

laex
4pts1
github.com 9y ago

Dev Humour: Allow configuration via a config file #3332

laex
1pts0
www.reddit.com 9y ago

Calculating BMR/TDEE for transgender people?

laex
1pts0
htmx 3 years ago

Can HTMX be used with static site generators, such as Hugo, to create interactive documentation websites?

Agreed. Creating bridging modules aren't that complicated. For anyone interested, I've linked a sample of a bridging module from my open-source project, for both IOS and Android. See [0] & [1]

The bridge creates an interface between an embedded webserver to react native.

Things to note:

1. Always dispatch bridging methods to their own threads. On IOS you can do this via. dispatch_async. On Android, you can utilise native threads or some kind of task management library. I like Bolts [2].

2. Always create bridging methods that resolve promises. This makes it easy to utilise async / await paradigm on the JS side.

[0] Android: https://github.com/hemantasapkota/react-native-web-server/tr...

[1] IOS: https://github.com/hemantasapkota/react-native-web-server/tr...

[2] Bolts: https://github.com/BoltsFramework/Bolts-Android

I thought Levon Arakelyan was a true hacker. I can relate this to my own side-projects. Most of them start with a simple "what-if" question in my head. Once I've started writing code, I won't stop until I have some kind of prototype ready. That aside, agreed that for digging tunnels it could be dangerous.

What made you adopt this habit?

For losing weight. If you're obese to begin with, this regime will give very good results at the beginning which also helps with the motivation. Note: Fasting + Strength training is superior to justing fasting. Why ? Because fasting decreases your metabolism. Strength training does the opposite.

It does seem counterintuitive to everything I have read and heard throughout my entire life.

Yes, I'd say so.

What sort of improvements, if any, have you noticed from adopting this style of eating versus the standard 3-4 meals per day?

1 ) Increased mental alertness - I've noticed how quickly the alertness disappears once food enters my body & digestion begins. Not sure If I should attribute this to increased insulin sensitivity or something else.

2 ) Increased productivity - It's amazing how much you can get done when you're not thinking of what & when to eat. I spend most of time writing code, learning new guitar riffs, & planning my workouts.

3 ) Prolonged workday: Related to (2). You can effectively prolong your daily work hours easily from the standard 8, up to 12 - 16 hours. This is because of (1) and (2). Heck you can also go 24 hours+.

4 ) Better quality sleep: On multi-day fasts (24+ hours), I get good quality sleep. I do believe they're of "good quality", because of an interesting effect I've noticed - you don't get the usual grogginess when you wake up. It's non-existent.

A tactical question: Do you load up all of your daily calories in that one meal e.g. if your usual intake is 2500 per day, do you have all of that at once or do you eat less?

Yes - All calories in one meal. However, this is not optimal for muscle growth. For athletes, it'd be ideal to spread out protein intake across two meals, at the least.

Productivity 8 years ago

The world just feels unbelievably quiet.

This is what I sense when my fast crosses 18+ hours.