Readit News logoReadit News
gikkman commented on Getting a Gemini API key is an exercise in frustration   ankursethi.com/blog/gemin... · Posted by u/speckx
jacquesm · 4 days ago
For the last decade or so I get a second $0.85 monthly bill from google. Nobody at google knows why, but they recommend to leave it because who knows what could be disabled if I block those payments. Interesting detail here is that this is on a bank account that we stopped using in 2017, so the only reason we are keeping that account alive is for these stupid google payments. In the cloud environment there is an invoice for the amounts, but no way to change the billing info to our current account and also no way (not by us, not by google support) to figure out what these payments are actually for...

Calling it kafkaesque is giving it too much credit.

gikkman · 4 days ago
I recently got an email saying a project I got is at the risk of being disabled because my payment information is invalid. But the card I got registered for it is the same I've had the last two years, and it's still valid cause I used it yesterday. Also, there is no amount due as far as I can tell. I haven't done anything with the project for 6 month, it's just sitting there. No API usage, nothing.

So I got no idea what to do to address it. I feel my best option is wait for it to get disabled and try to address it afterwards.

gikkman commented on Tinnitus Neuromodulator   mynoise.net/NoiseMachines... · Posted by u/gjvc
WarOnPrivacy · 2 months ago
> Ear tube surgery

Almost certainly. My Dr feels mine created a weakness that enabled tinnitus to develop 4 decades later.

gikkman · 2 months ago
Yeah, thanks. Didn't know the English term. I had them for years, and I've been told by my doctor that's the likely cause to me having it for as long as I can remember.
gikkman commented on Tinnitus Neuromodulator   mynoise.net/NoiseMachines... · Posted by u/gjvc
gikkman · 2 months ago
I've had tinnitus since I was a child. It's probably due to a procedure they used to do around here an children with ear infections. Nowadays, I rarely notice it. But I remember in my teens, it sometimes was absolutely excruciating because I had no way of coping or tuning it out. This is very interesting. I might consider trying it. If there's something I'd really want to experience at least once, it's that "absolute silence" so many mention when being out in the forest it country side.
gikkman commented on Python type hints may not be not for me in practice   utcc.utoronto.ca/~cks/spa... · Posted by u/ingve
joeyagreco · a year ago
> After the code has stabilized I can probably go back to write type hints [...] but I'm not sure that this would provide very much value.

I think most developers who revisit their projects 6+ months later would disagree with the second part of this statement.

My typical flow for "quick scripts" is:

on first pass I'll add basic type hints (typing ":str" after a func param takes .2 seconds)

for more complex data structures (think a json response from an api), dict (or typing.Dict) work fine

if you want a Python project to be maintainable, type hints are a requirement imho.

gikkman · a year ago
This is my approach too. A kind of "relaxed" typing I often call it. Just knowing what a function expects and returns helps a lot, what each element of a tuple is, or what a list contains. Before type hints, I used to not enjoy Python at all, but these days I find it fun. The few times I spend time pondering about how to type things are greatly outweighed by the time saved of not having to research what type a particular variable is.

u/gikkman

KarmaCake day9September 16, 2024View Original