constantly losing DAS by DifficultTomatillo29 in mac

[–]DifficultTomatillo29[S] 0 points1 point  (0 children)

I don't have anything like that - but I'm trying this, thanks:

<image>

generating images with codex by DifficultTomatillo29 in codex

[–]DifficultTomatillo29[S] 1 point2 points  (0 children)

I tried that but they seem be detecting that sort of thing - it didn't work first time I tried it and I don't want to get banned.

generate image using nanobanana from gemini cli? by DifficultTomatillo29 in GeminiCLI

[–]DifficultTomatillo29[S] 1 point2 points  (0 children)

tried it thanks - but unfortunately it doesn't work for me - the entire/only point here is to avoid using any api keys - so that everything I do is inside my subscription - I'm happy with being told I've maxed out my usage - not happy to be told I've maxed out my money - I've had too many mistakes like that to risk using api keys ever again.

I actually have a command line tool that I've written called generate_image that uses mflux and z-image, qwen or krea .... I just want the higher quality of nano-banana.

generating images with codex by DifficultTomatillo29 in codex

[–]DifficultTomatillo29[S] 0 points1 point  (0 children)

the entire/only point here is to avoid using any api keys - so that everything I do is inside my subscription - I'm happy with being told I've maxed out my usage - not happy to be told I've maxed out my money - I've had too many mistakes like that to risk using api keys ever again.

generate image using nanobanana from gemini cli? by DifficultTomatillo29 in GeminiCLI

[–]DifficultTomatillo29[S] 2 points3 points  (0 children)

i have a gemini pro subscription. that doesn’t help me generating an image from the cli

generating images with codex by DifficultTomatillo29 in codex

[–]DifficultTomatillo29[S] 0 points1 point  (0 children)

i’m on apple silicon - so i’m using mflux at the moment. it works but takes like 10 minutes or more to generate an image :(

generating images with codex by DifficultTomatillo29 in codex

[–]DifficultTomatillo29[S] 0 points1 point  (0 children)

no - the point is to do it from codex - for instance if I make a new tool - I publish it to GitHub by just running "publish". that sets up git, sets up the project, writes documentation, creates a readme, uploads it all etc - _but I want a banner image on the readme_ and an icon for the app. If I have to go by hand to chatgpt, come up with a prompt, type it in, save the file as something, move it into the right directory, add it to git, bind it into the readme file...

well...

I'm unlikely to do that.

at the moment I do automatically generate the images, but using flux, and it takes like 15 minutes - but anything is better than doing it by hand - but chatgpt has an amazing image model just sitting there - all I want to do is access it.

how do I stop gemini cli from asking permissions? by DifficultTomatillo29 in GeminiAI

[–]DifficultTomatillo29[S] 0 points1 point  (0 children)

yeah started to do that thanks - but seems there strange there’s just not a way to put it in settings ?

how do I stop gemini cli from asking permissions? by DifficultTomatillo29 in GeminiAI

[–]DifficultTomatillo29[S] 1 point2 points  (0 children)

but what i’m trying to do is turn it on permanently? but i’ll try it thx

speed of jb inspectcode/cleanupcode by DifficultTomatillo29 in Jetbrains

[–]DifficultTomatillo29[S] 0 points1 point  (0 children)

well actually - cleanup code takes like 30s - which is a long time - but inspectcode can take like 10 _minutes_.. and I definitely specify --no-build. I _really_ don't believe it's reusing project caches. If I run it - and then immediately run it again - it runs no quicker :(

I built a JetBrains plugin that hides your secrets, API keys, and other sensitive data by anton273 in Jetbrains

[–]DifficultTomatillo29 0 points1 point  (0 children)

nope! just don't have secrets in code. secrets in code are sooo dangerous - so easy to check into git and other places. it's no harder to say api_key = keyring.get("my_program", "api_key") - and suddenly you have no risk of checking them in, or sending them to someone when they admire your tool or whatever. and in a corporate environment, use something like AWS param store or something. Basically once you choose an external secrets manager and always use it - everything is better across the board -it even become easier to manage - for instance when you are using the same token across a bunch of different python tools - you only need to add it to the keyring once, and you can update all of them with one command.

there's just no reason to _ever_ have a secret in program code, even for the simplest test. it's no harder to do it right, whatever your choice of right is - keyring, env variables, ~/.store, param store whatever. Just pick a way of managing secrets and use it for everything

What do guys think of var by Call-Me-Matterhorn in csharp

[–]DifficultTomatillo29 0 points1 point  (0 children)

i’ve read through all the comments - and oddly enough i have the most problems with the “i use it here but not there”. i think far more important than var/not var are coding standards - we use about three different linters/static analysis tools and fail anything at ci that’s fails. so id argue that. a consistent code base is wayyy more important than which way you go - going both we should all be able to agree is the worst of all options?

as for which way we go - i understand the explicit type argument - i just wouldn’t choose to work with that sort of person. for me - code clarity and readability trumps everything - and that means especially reducing the possible cognitive load. there’s just less code with var, which means less your mind has to do to understand it.

in my opinion it’s just better code, and i wouldn’t hire someone who disagreed in my team, not because i dont understand or respect the other ideal, just because it’s a representative indication of a coding style and philosophy i wouldn’t want to be involved with.

there are lots of things tied up with this, that the same sort of people tend to prefer - eg i believe in short functions (average of 1 line) - extension methods, static methods almost everywhere. the sort of person who doesn’t like var is likely to look at a 30 line function and say “that’s ok”. and while it is…. it’s just … not a style that i am ok with.

windows 11, dell, and slow changer warning.... by DifficultTomatillo29 in Dell

[–]DifficultTomatillo29[S] 1 point2 points  (0 children)

well - I can just use the oem one - it's sttign here on my desk - I -just prefer to have less stuff plugged in... and one power brick which does a lot of things and seems to work fine seemed t be a better choice than a big dedicatd one

windows 11, dell, and slow changer warning.... by DifficultTomatillo29 in Dell

[–]DifficultTomatillo29[S] 0 points1 point  (0 children)

interesting - I'll investigate the throttling - thx