Hacker Newsnew | past | comments | ask | show | jobs | submit | raamdev's commentslogin

I've been using Ledger for years now and with thousands of entries a year. I track investments, income, expenses, and budgeting. For mobile entry, I keep my ledger file on Dropbox and use the Drafts app and TextExpander on my iPhone to quickly append properly formatted ledger entries to the file from my phone, the moment the expense occurs. Every two to four weeks, I spend 10 minutes and use ledger-mode in Emacs to reconcile accounts with online bank / credit card transactions. It works really well and I love the flexibility and long-term portability of keeping my ledger in plain-text.


Can you share some more details on how you are using Drafts and TextExpander?


Sure! Here's what I do to add an expense from my phone:

1. Open the Drafts App on my iPhone.

2. Type "lfood", which triggers TextExpander with my ledger food expense snippet [1]. I make use of the TextExpander fill-ins feature [2] to automatically set the current date and to give me a list of dropdowns that I can use to change the account, but usually I just leave the default and only fill in the expense amount.

3. Enter the expense amount, select the credit card that I used from a dropdown if it's different from the default.

4. Trigger the 'Save to Ledger' action [3] that I created within the Drafts app [4], which appends the ledger entry to my ledger file on Dropbox.

I created a short gif [5] showing this entire process in action.

[1] https://i.imgur.com/NXEimql.png

[2] https://textexpander.com/learn/using/snippets/advanced-snipp...

[3] https://i.imgur.com/LNDJNGi.png

[4] https://docs.getdrafts.com/actions/

[5] https://ibb.co/vk45Kb7


Fantastic, thanks for this!


News Minimalist:

> It uses AI (ChatGPT-4) to read the top 1000 news every day and rank them by significance on a scale from 0 to 10 based on event magnitude, scale, potential, and source credibility.

https://www.newsminimalist.com/


Most of the articles in top 10 seem to be about Ukraine. I understand the war is significant, but 5 articles in Top 10 ?

3 articles in Top 20 about Israel ?

They should work on how exactly is the significance determined, and significant for whom ?


Author here. I plan to add a "how it works" section, but the basic idea is that each news story is rated on several parameters:

- scale is the number of people affected by the event described in the news story. - magnitude is the strength of the effect. - potential is the likeliness of the event to lead to other, more significant events. - source credibility considers how trustworthy is the source, and what is its track record.

Then these parameters are combined into a single score.

Also fair criticism re: repeats. I plan to solve this by clustering similar news, so one event is only given one title.


Significance is obviously subjective, but you can definitely make an argument that "major world power is trying to take over a country" is significant. It's been going on for a while which makes it harder to feel like it's so important, but it really is.


Hey, author here.

That was the initial idea. Significant events don't stop being significant once we get tired of hearing about them.

But there's definitely a problem of duplicates. When separate news sites post about a similar event it get rated relatively similar by ChatGPT, which creates clusters like we see today.

I want to solve this soon by combining similar stories into single block with one title.


That's another problem I had noticed from a bit of a play (similar problem with boringreport), so I'm glad you're already on it! I've signed up for premium.


Thank you so much! Hope to fix it soon.


Sea anchors can be used to steer a sailboat in some situations in the event that the rudder is lost, as one guy demonstrated when he lost his rudder 1609km (1000mi) from Hawaii:

https://www.youtube.com/watch?v=1AZXXKj0p0s


You can also use them to pull you. I used to work deep sea in the merchant marine, we had them in lifeboats/liferafts. Part of the training had us sitting in a liferaft, in a pool, throwing a sea anchor, and then hauling on the line to pull us through the water. Useful if you are trying to rescue people.


Many sailors also use them for speed-limiting if they are in bad seas, specifically a Jordan Series Drogue, which is a really long line of drogues such give you a lot of drag despite the howling wind.


In the mid-ninties, around the time I had just become a teenager, I remember walking down the back corridor of a mall where my parents were leasing a space for their business and hearing a song playing overhead on the mall speakers that really caught my attention. I had no idea what the song was called or who made it, but I really liked it. I remember wishing I had some way to quickly find out, before the song ended, the name of the song and the artist. I remember thinking, "wouldn't it be great if this cell phone in my pocket could somehow tell me the name of this song?"

A decade later I discovered Shazam, and even today, more than a decade after that, Shazam still has a place on my home screen, quickly within reach, helping me discover hundreds of great artists and songs overheard from as many different places. The magic of the experience, and the appreciation for the technology, stem from the memory of that moment in the mid-nineties when I stood under a speaker listening to a song that I might never hear again.


Given the irregular distance between holes and the different angles of the holes, I'd guess something organic. There's still a lot we don't know about even well known fish like sharks, what to talk of fish or marine life that we have yet to discover. Seeing the raised ridge along the entire set of holes makes me wonder if they're from some kind of eggs that hatched after being embedded in the seabed.

It's amazing that there are still so many mysteries like this on Earth.


> Given the irregular distance between holes and the different angles of the holes,

They say the exact opposite in the video: "One of the things we're interested in is how almost perfectly aligned these are and the regularity of the spacing of the holes and the size of the holes themselves. And the shape of the holes, the angularity, the rectangularness."


They are pretty regular, but not perfectly so; and in the vid they are sorta straight but do curve a bit. Biological regularity it less rigid than physical regularity.


1:02, they look to be about +/- 40%. 1:22 looks like about +/- 30%. For what an oceanographer usually sees, sure, but I can't imagine it's a wheel.


I’m surprised to see that the iTerm2 dedicated hotkey window hasn’t been mentioned. It’s essentially a system-wide terminal window that you can open with a hotkey, similar to the old Visor app, and you can configure it as a floating window that appears over other apps' full screen windows. https://www.iterm2.com/documentation-hotkey.html


I always loved that feature -- you can map it to tilde (~) and set it to a full-width, top-docked window to emulate an old Quake-style terminal.


Yeah - I use this workflow and love it. cmd + esp (with caps lock remapped to escape) to toggle a full screen terminal from any application. Means don't have to cmd + tab and hunt for it, it's always one shortcut away.


Agreed this is the most important feature for me. I use it in the same way.


I just discovered this last night! Such a cool feature.


I built a WordPress theme called Independent Publisher that’s intended to focus on the writing and get out of the way of the reader. I was reminded of it while reading this blog, so it may be of interest to you. It’s open-source and maintained by the community on GitHub—suggestions and feedback are always welcome: https://independentpublisher.me/


Very cool, thank you. I will try it out.


Brain Rules for Baby by John Medina, because it made me a better father; Why We Sleep by Matthew Walker, because it taught me of the importance of something that I’d occasionally dismiss as a nuisance; Pain Free and Pain Free at Your PC by Pete Egoscue, because it completely changed the way I understood posture, pain, and how repetition influences my body; and Letters to a Young Poet by Rainer Maria Rilke, because it taught me how despite big changes in technology and society and way of living, very little changes when it comes to our personal struggles and concerns; Man’s Search for Meaning by Viktor Frankl, because it helped me realize that in any situation, my attitude is what I always have control over; and 7 Habits of Highly Effective People by Stephen Covey because it greatly contributed to my mental framework for how to be productive and for this quote, which is probably my favorite of the past decade:

“In the space between stimulus (what happens) and how we respond, lies our freedom to choose. Ultimately, this power to choose is what defines us as human beings. We may have limited choices but we can always choose. We can choose our thoughts, emotions, moods, our words, our actions; we can choose our values and live by principles. It is the choice of acting or being acted upon.”


Re: Why We Sleep by Matthew Walker, this critique of the book is worth a read: https://guzey.com/books/why-we-sleep/


Thanks for sharing. Very informative. Especially this quote gave me pause:

> I wanted to drop you a line to thank you for all the time and effort involved in debunking Matthew Walker’s book. As someone who works with individuals with insomnia on a daily basis, I know from firsthand experience the harm that Walker’s book is causing.

> I have many stories of people who slept well on less than eight hours of sleep, read Walker’s book, tried to get more sleep and this led to more time awake, frustration, worry, sleep-related anxiety, and insomnia. …


Disappointing... That book has been highly recommended ad infinitum on HN, to the point that it was sounding like gospel. Maybe that should've been a hint, heh.

Has Walker responded to that critique?



This may constitute a response, but it’s not clear if the original author wrote it in response to Guzey’s claims, or if it was the author or just an imitator. The writing style strongly suggests it’s the author, and it uses the author’s twitter handle and website name as the subdomain: https://sleepdiplomat.wordpress.com/2019/12/19/why-we-sleep-...


Glad someone posted this. This book gets so much praise. But like any popsci book, there are huge incentives for the author to exaggerate and manipulate to produce a clear and marketable message. Just consider that if there was no interesting story to tell about sleep, of course there would be no book.


Funnily enough, there's also a completely different book by the very same name, written by a German sleep researcher. And this one's actually really good (imo). [1]

[1] https://service.randomhouse.de/paperback/Why-We-Sleep/Albrec...


What a great critique. I'd like to see a similar treatment of Jason Hickel's "The Divide", which feels both terribly important and very biased and sloppy.


Agreed, I would pay something for a feed of critiques like this, would save me time dodging poorly constructed literature, I like books, they are like the internet but usually a little more refined.


I'd like to give this a more thorough read, but so far this critique strikes me as done in bad faith. I read the book. I'm also in the middle of a biophys PhD, so I like to think my opinion is "extra super special". Here are my comments:

Point 1: the chart bottoms out at 7, which falls within the range the book recommends. I'm fairly sure he recommends 7-9, and that the required amt varies from person to person. Another thought I had: metabolism and longevity go hand and hand. I mean, I just read a brand new paper from George Church's Harvard lab, showing that they reversed several chronic ailments in mice by inserting FGF21, which regulates glucose levels. And sleep absolutely regulates metabolism. Personally, I'm keeping my ears perked up when it comes to metabolism/circadian rhythms/homeostasis, etc.

Point 2: Depression is an incredibly complicated topic. It is a psychological construct, the net result of thousands and thousands of genes, filtered through a modern technological world, and then filtered through inventories, interviews, and assessments. For this reason, I am not at all surprised that Guzey was able to find studies that suggest that sleep deprivation might have some benefit for some people. I would HIGHLY recommend this new, open-access Nature review paper covering the genome wide studies on depression: https://doi.org/10.1038/s41398-019-0450-5. Its almost not worth pitting a complex phenotype like depression against another complex behavior like depression. But what the hell, let's brush with broad strokes: the significant genetic variants associated with depression have to do with regulating homeostasis (eg sirtuins). So I would not be surprised if good sleep is at least correlated with low levels of depression.

Point 3: I know almost nothing about FFI, but we have kept mice awake, and they do eventually die. I'm pretty sure humans would die too, but ethics precludes us from performing such a study.

Points 4&5: This is just fussing about Walker's writing and WHO. I'll have to agree with Guzey that Walker's citations and consistency are often weak. And I honestly couldn't care less about WHO. But I'm pretty confident that sleep quantity has declined with time across the world. I remain curious about the connections between light and circadian rhythms (I think retinal cells go straight to the superchiasmatic nucleus, the circadian rhythm controller). Also, sugar is a thing in the modern world.

So yeah, I'm just frustrated by his nitpicking, and his seeming lack of appreciation for sleep as an open biological question. We don't know why we sleep, really. If anything, the title is the worst part of the book. But at least the contents respect the question. This criticism does not. Nonetheless, I am a sucker for obsessive bloggers (eg slatestar, gwern, cowen, etc), so I will definitely be checking out Guzey's other writing. It looks interesting.


A couple of follow-ups here: Andrew Gelman has, I think, the best commentary on Guzey's critique.

https://statmodeling.stat.columbia.edu/2019/11/18/is-matthew...

https://statmodeling.stat.columbia.edu/2019/11/24/why-we-sle...

To my knowledge, Walker hasn't responded to Guzey's criticisms. The other issue that has emerged in the weeks since Guzey published his critique is that Walker seems to be using the erroneous claims in his book in his papers. Relevant exchange here: https://statmodeling.stat.columbia.edu/2019/11/24/why-we-sle...


Hi, I'm the author of that critique.

>Point 1: the chart bottoms out at 7, which falls within the range the book recommends. I'm fairly sure he recommends 7-9, and that the required amt varies from person to person. Another thought I had: metabolism and longevity go hand and hand. I mean, I just read a brand new paper from George Church's Harvard lab, showing that they reversed several chronic ailments in mice by inserting FGF21, which regulates glucose levels. And sleep absolutely regulates metabolism. Personally, I'm keeping my ears perked up when it comes to metabolism/circadian rhythms/homeostasis, etc.

The point you're making has nothing to do with the point I'm making in the relevant section. I take issue with Walker writing "the shorter your sleep, the shorter your life span". You seem to have missed this part entirely. If you say that the book recommends 7-9, feel free to quote the book because it definitely seems that he strongly advocates at least 8 hours. Example: as I showed in section 5, Walker takes 7-9 hours recommendation from the National Sleep Foundation and then falsely claims that they recommend 8 hours of sleep.

>Point 2: Depression is an incredibly complicated topic. It is a psychological construct, the net result of thousands and thousands of genes, filtered through a modern technological world, and then filtered through inventories, interviews, and assessments. For this reason, I am not at all surprised that Guzey was able to find studies that suggest that sleep deprivation might have some benefit for some people. I would HIGHLY recommend this new, open-access Nature review paper covering the genome wide studies on depression: https://doi.org/10.1038/s41398-019-0450-5. Its almost not worth pitting a complex phenotype like depression against another complex behavior like depression. But what the hell, let's brush with broad strokes: the significant genetic variants associated with depression have to do with regulating homeostasis (eg sirtuins). So I would not be surprised if good sleep is at least correlated with low levels of depression.

You missed the point I was making entirely. Walker wrote that there are no biological functions that do not benefit from a good night's sleep. I point out that this is false, as sleep deprivation therapy is a safe, effective, and a very-well studied treatment for depression.

>Point 3: I know almost nothing about FFI, but we have kept mice awake, and they do eventually die. I'm pretty sure humans would die too, but ethics precludes us from performing such a study.

You missed the point I was making entirely, again. Walker wrote that FFI demonstrates that lack of sleep kills people. I pointed out that saying that is completely false. What relation do mice have to the point I was making?

>Points 4&5: This is just fussing about Walker's writing and WHO. I'll have to agree with Guzey that Walker's citations and consistency are often weak. And I honestly couldn't care less about WHO. But I'm pretty confident that sleep quantity has declined with time across the world. I remain curious about the connections between light and circadian rhythms (I think retinal cells go straight to the superchiasmatic nucleus, the circadian rhythm controller). Also, sugar is a thing in the modern world.

Points 4&5: this again has very little relationship with what I was writing. In section 4, I pointed out that Walker has seemingly invented a sleep loss epidemic and attributed it to the WHO. This is not just an issue with citations. In section 5, I pointed out that Walker misrepresents National Sleep Foundations sleep guidelines, saying that they recommend 8 hours of sleep, while in reality they recommend 7-9 hours of sleep.

For readers of this exchange: if you're still unsure how serious my concerns with the book are, the clearest example is provided in section 18, where I show deliberate data manipulation by Walker. He simply edited out the part of the graph that contradicted his argument in the book: https://guzey.com/books/why-we-sleep/#appendix-what-do-you-d...


Hey Guzey, thanks for hopping in. I like your blog.

Walker's book is sloppy. The graph you mention last is egregious. No disagreements here. Honestly I agree with you at least partly on all of your points.

So why did I miss your points? I was trying to give better evidence/info relevant to the topic of each point. My hope was people would read it and continue to respect sleep as an open and very interesting biological question. Maybe it came off as ignoring the points. I understand that. But honestly I don't care about Walker that much - I care about sleep. Its really weird, and we don't understand it.

Out of curiosity, what is your current stance on sleep?

EDIT: after re-reading this comment, I realized it might seem a bit disingenuous, because I did criticize your arguments as bad faith. Clearly I care a little about your take-down of Walker.

I said this because you found claims in Walker's book, found errors in his evidence, and then denied the general claims in your bold-font headings. It seemed like you were dismissing the putative importance of sleep along with dismissing Walker the author. I felt this was uncharitable to the topic, so I gave you the "bad faith" charge.


Got it. I apologize if my tone was too harsh. I do stand by all of the bold-font headings, but yes, primarily the post is directed at Walker.

My current stance on sleep is that we don't know much about it and we don't know much about how much exactly we need to sleep. I'm collecting some notes on sleep (very preliminary so far) here: https://guzey.com/sleep/


Oh its alright, I didn't feel attacked.

If you're curious, here's another GWAS open-access paper on sleep: https://doi.org/10.1038/s41467-019-08917-4. Its self reporting, but its tricky to do EEG or some other technique on half a million people. Also this associated portal is cool: http://sleepdisordergenetics.org/home/portalHome


Thank you for all your work, which must largely be a thankless task.


Thank you.


'Point 2: Depression is an incredibly complicated topic. It is a psychological construct, the net result of thousands and thousands of genes, filtered through a modern technological world, and then filtered through inventories, interviews, and assessments. For this reason, I am not at all surprised that Guzey was able to find studies that suggest that sleep deprivation might have some benefit for some people. I would HIGHLY recommend this new, open-access Nature.....'

All of this is completely irrelevant to Guzey's point, which is that sleep deprivation is a known treatment for depression. You are going off on a tangent about the genetics of depression, while failing to engage with the topic under discussion.


This is also a very strange claim to make. I am pretty sure that you should be surprised - the anti-depressant/sleep thing is well known in part because it's so unique: I've never heard of even a single study finding sleep deprivation to be a striking temporary treatment for schizophrenia, autism, bipolar disorder, psychopathy, etc, all of which are influenced by 'thousands and thousands of genes, filtered through [etc]', the way it is for depression to the point of being meta-analyzable. (And if they exist, I don't recall them being mentioned anywhere in the sleep/depression papers.) It's a really strange finding!


If I completely buy Guzeys citation, sleep deprivation works for half of people temporarily. So, kinda useful but not sustainable. It also ignores memory and other effects sleep has on mood.

The point I am making is we can keep throwing new treatments at depressed people, or we can finally recognize the immense heterogeneity of depression, in both its genetic & environmental causes, as well as its many phenotypes (there are lots of ways to hit the inventory threshold). This fact is why this argument over sleeping or not is even happening. It’s not a tangent, in my opinion. This is the central problem.


>If I completely buy Guzeys citation, sleep deprivation works for half of people temporarily. So, kinda useful but not sustainable. It also ignores memory and other effects sleep has on mood.

You'll be interested in reading this study: "How to preserve the antidepressive effect of sleep deprivation: A comparison of sleep phase advance and sleep phase delay" https://link.springer.com/article/10.1007/s004060050092 and googling the keywords from that study

Also, you again ignored the point I was responding to in that section.


I also loved 7 Habits -- before reading it I had kind of brushed it off as just another wishy-washy self help book, but it exceeded all expectations.

However, what I took away from it was nothing about productivity, but rather how to live a good life. Habits 1-3, 5, and 7 are all solid advice that have broad application far outside of the narrow domains of the workplace. The mental model in Habit 1 about the "circle of influence vs. circle of control" has been one of the single most effective contributions to my mental health.


When new parents ask my advice, “Brain Rules for Baby” is the one and only book I recommend. Everyone has told me later they loved it.


Egoscue was a paradigm shift for me. I had never considered posture as a critical factor in health, and since reading his books, I've gone down the rabbit hole of posture and myofascial therapy, and I'm appaled at how ignored this domain is in society. Most of us are walking around with so much energy trapped in the tension of our bodies, and our knowledge work further disembodies us. To anyone reading this, I highly recommend buying The Egoscue Method of Health Through Motion, it's like 6 bucks on Amazon, and will change your life.


+1 for Why We Sleep. It's one of those books that really changed my outlook on a fundamental aspect of life that too many of us take for granted.


Great suggestions. Your post reads like the first part of Meditations by Aurelius.


If you like Rilke, you'd also really like James Hollis' The Middle Passage (1993). As for as books from the past decade go David Brooks' The Road to Character was pretty good. His follow-up The Second Mountain would have been better if he didn't recycle so much from the previous work. Sam Harris' Waking Up was pretty eye opening as Harris is a very lucid thinker.


Mans Search For Meaning affected me in a way that very few books ever have. You grow up knowing about the holocaust, you see the imagery, but it's all impersonal. You understand why it's a horrific deed, why hitler was a horrible human being, and why we as a society should never allow that to happen again.

But there's just something about Frankl's descriptions, at least for me. It personalized it in a way I had never really experienced before. That book horrified me in a way that none of the other material on the holocaust ever had.


Distributed.blog is a new podcast series by Matt Mullenweg (co-creator of WordPress and CEO of Automattic, a fully-distributed company of nearly a thousand folks). The podcast explores distributed work, the future of business, and what it means for the global economy. https://distributed.blog/


Great resource, thanks


The macOS YubiSwitch app solves that problem nicely. https://support.yubico.com/support/solutions/articles/150000...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: