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

I made a version of this also bare gmail API -- not that I can't use imap but I often have emails related to tasks I want to keep open. But if I have many GMail tabs open, it kills my ram.

I also habitually want to open a new GMail tab to check for new email, but waiting for the heavy webapp to load takes forever. So a simple client-side only app which calls the gmail api for the top 20 emails and allows to search (so find the email and then leave that tab open) works great


also the nice thing about making personal apps is I can make it entirely keyboard shortcut oriented and harcode the vimium like navigation (f, then modals pop up, then click to go to that email). I got the loading down time to feel instant

Exactly! Love it! Is yours on GitHub? Would love to check it out

Not yet I'll post later, need to make sure I didn't hard code anything

I need to talk to claude and read the oauth docs, but when I kept it entirely client side, I had to reauth/re login with gmail every ~ hour. Did you run into that?

I feel like I ran into this in the past and need to have my server renew the token? Or use the service worker? I'll read your code to see how you did it


yea I didn't read it super closely, but I think setting it up as a test user keeps the oauth token for ~7 days. let me know what you find!

This is niche and HN is full of these back and forth comments. One thing which a particular type of crowd will appreciate is being able to apply simple patches to constantly-up-to-date packages.

For an example, I love atuin but it, by default, skips commands starting with space. Currently it's not configurable and while I wait for time to submit a PR or for the issue to be resolved, make a single line `patch` which just removes the part of the `if` statement which checks if it starts with space. So easy, took 5 minutes (also had to comment out 1 test).

And now on home-manager debian or nixos server, I get up to date atuin with that one patch. It downloads rust, etc, compiles, and then that's garbage collected away


I'm just curious what your motivation for the patch is, because I too use atuin and see the space-prefix as a feature. It's been around for a while (longer than atuin) to keep certain commands out of my history on purpose, like when running some one-off command with credentials as an arg.

Other than that I very much agree, patching stuff is wonderful in nix-land! Especially when things in nixpkgs-unstable break.


Same but with kernel. What lead me to nixos: company gave me a laptop with iGPU that wasn't supported by any released linux kernel. There were patches waiting to be merged, with nixOS making an installer image that supports my machine was simple.


ooh so nice


For intersect I also wonder if you add a filter that the books are within the top rated. Like if I give my favorite books and want to find someone who has my same taste, it doesn't help if they hated (all/most/some) of those books. Tricky in that not all users give star ratings


Oh no! What field? Are you going to more industrial jobs


Physics - still trying to target pharma DS/ML but may have to contract


Keep in mind that default Gmail allows webhooks for any changes (email received but also changing labels, etc), for free using Gmail pubsub. I use it a lot because it's the only way of getting programmatic notifications from credit card purchases (turn on purchase alerts to all cards, send to Gmail, have a filter archive but capture the reception in webhooks. Parse with simple regex)

Super fast low latency very satisfying. Pubsub scales well and free :)


Totally hear you. We think Gmail works great for individuals. We are solving the challenges of scaling email to thousands of agents per tenant.


Good to know. I use a simple forwarder to a personal slack email which gives me the notifications via slack.


That workflow sounds amazing. How do you set that up? Got any code for it that we can look at?


Is that true? I have no perspective but it's relied on by diabetics and if since they can't regulate it themselves, if the readings are off and they gave themselves insulin, they would know it is wrong. Maybe the OTC ones is different than the diabetic one but I didn't think so


Stelo is basically just a consumer packaged version of the Dexcom G6, and in both cases they warn you to use a finger stick to verify unexpected readings. But finger sticks can be really inaccurate, too. For many diabetics it's not a life-or-death matter (only 1 in 4 type 2 patients end up using insulin), and the important thing is the trend over time.

I've personally found my CGM to be really useful in understanding the effect of diet, sleep, stress, etc. on my blood glucose, like the OP says, but you definitely get some weird readings sometimes. Yesterday a new unit told me that my blood glucose dropped below 70 for 2 hours. It definitely didn't! After a while it got itself straightened out in time to scold me for eating some corn chips.


As a diabetic having alarms is the most important thing. Measurements are not that accurate (neither is the finger prick method: If sometimes get a difference of 20% comparing two measurements from both hands). But also the "ok" range of 3.8 mmol/L to 10 mmol/L is quite large and levels can rise/drop 20% in minutes. So it is still quite helpful.

With the CGM there is also an additional delay of about 15 minutes in the measurements. Mostly you want to be triggered when something strange happens and then you do a manual measurement to confirm.

A false alarm of low blood sugar is annoying, but it is a lot better than collapsing. You can relax a lot more if you know you will get an alarm.


Most T1Ds I know use a CGM now as they are much more accurate than they used to be. But they are expensive so insurance generally covers for T1D but not T2D. You can always double check with a finger stick though as that uses blood instead of interstitial fluid. My friend uses a Tslim which uses a CGM to adjust her insulin automatically.


They're not any different. CGM's have issues- sometimes need to be calibrated against a finger stick (officially, they always need to be)

In the end though- it's still a bit of fungal extract painted onto an electrode, and an ADC that reads the value every so often. Like any other glucose monitor.


This is a hack but I still found it helpful. If you do want to force a certain version, without worrying about flakes [1] this can be your bash shebang, with similar for nix configuration.nix or nix-shell interactive. It just tells nix to use a specific git hash for it's base instead of whatever your normal channel is.

For my use case, most things I don't mind tracking mainline, but some things I want to fix (chromium is very large, python changes a lot, or some version broke things)

```

#! nix-shell -i bash -p "cowsay" '(import (fetchTarball { url="https://github.com/NixOS/nixpkgs/archive/eb090f7b923b1226e8b..."; sha256 = "15iglsr7h3s435a04313xddah8vds815i9lajcc923s4yl54aj4j";}) {}).python3'

```

[1] flakes really aren't bad either, especially if you think about it as just doing above, but automatically


and I've been using nixos on hetzner, nothing crazy but it's always worked great :-). A nice combination with terraform


would love support for linux, even if it required hacks or was not as seamless


I’d love to do that one day. Right now trying to find out if it’s interesting enough for 1% of Apple users to turn their heads.


Count me in too, for Linux, Android etc.

Also, would like a one-time lifetime pricing if that makes sense.


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

Search: