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

You can even go further and delete all your secrets from your env by creating wrapper scripts

Example : https://github.com/combostrap/devfiles/blob/main/dev-scripts...

It’s not completely full proof but at least gpg asks my passphrase only when I run the script


Nice.

I made a git exec command for that. It executes a command on multiple repos.

So to see the status of your local repositories cloned in the code directory of your home directory

´´´bash

export GIT_X_REPOS_FILE=~/code

git exec status

´´´

Code: https://github.com/gerardnico/git-x/blob/main/bin/git-exec

Doc: https://github.com/gerardnico/git-x/blob/main/docs/bin-gener...


You should give a better name in google oauth. I get

Google will allow project-316434798136 to access this info about you

Can’t wait to see if you extract the transcript on TikTok’s ?


Yes. I will fix the name and release the TikTok next week. Thanks for the feedback.


A good reminder that building software is hard.

And that you may fail even in your domain of expertise.

All the best to the core dns.io teams.

We all feel the pain.


Exactly, gradle is so slow that I ditch it into the ground. Just starting a blank project is so a bad experience. Nothing beat maven and a couple of shell script.


I am convinced if they hadn't got Google's sponsorship, when Android decided to move into Gradle during Eclipse to InteliJ migration, we would be talking about Gradle as much as Grails is still discussed at local JUGs.


Same, but also for Kotlin


Agreed.


I was looking a documentary in Netflix (night stalker) and men all transitions between scene were Ai generated.


Instead of creating a tag, you could add the time in your commit message as a footer key following the conventional commit spec.

https://www.conventionalcommits.org/en/v1.0.0/

Ie example of commit message

fix: prevent racing of requests

Desc

Time-spend: Z


I did look at modifying the merge commit message, but I couldn't figure out how to accurately detect a merge commit.

Having re-looked, I just found 'git rev-parse --verify MERGE_HEAD' which may help here. Time to do some testing. It would be good to clean up and standardise the commit msg itself too. Thanks.


cool.

The prepare-commit-msg hook is the one. One of the hook args is the type of commit (merge, squash, etc). And the merge commit msg files exist (SQUASH_MSG, MERGE_MSG) so my original logic all works.

  $ git log -1
  commit 735ce5f9998736c4066d63ab851df2023640dad5 (HEAD -> master)
  Author: Doug Bridgens <thisdougb@users.noreply.github.com>
  Date:   Tue Apr 1 22:31:22 2025 +0100

        test4 does some stuff
    
    Time spent on feat_test4: 0d:0h:7m secs=426


A framework is declarative. You declare what you want. Generally in a configuration file and you get an app.

A library does not impose any configuration. I don’t see any required configuration with React. You can use it wherever you want in your code as an addition.

My piece on that: https://datacadamia.com/code/design/library_vs_framework


Genuinely curious if you could point to some examples of actual "frameworks" by your definition then. Because from your description, Rails, Django, Laravel, Phoenix, Vue.js, and basically every other "framework" I've encountered aren't actually frameworks.


Slate is already document centric, man. There is also already a crdt plugin. https://docs.slatejs.org/walkthroughs/07-enabling-collaborat...

But yeah …


I made a direnv extension for that purposes.

It loads env files and call hashicorp vault if the value is a secret.

I find it pretty neat to have an env file that describes all environments variables.

https://github.com/gerardnico/direnv-ext


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

Search: