31 Matching Annotations
  1. Last 7 days
  2. Aug 2025
    1. What is it about you that they love? Can you do more of that? Where can you find more people who love that sort of thing?

      Very insightful questions that help discover weak / strong parts of your business and directions in which you should develop it.

  3. Jul 2025
    1. gitfs is useful in places where you want to keep track of all your files, but at the same time you don't have the possibility of organizing everything into commits yourself

      May be useful for kbn

    1. NpmNix includes a very simple Golang parser, parser.go (~70 lines of code), that parses the package-lock.json and generates the complete Nix expression.

      Gist of dynamic nature of this feature

  4. Jun 2025
    1. It is heuristically known that content which has not been updated for a full year will not be updated for some time after that. Therefore, the client stores this response (despite the lack of max-age) and reuses it for a while. How long to reuse is up to the implementation, but the specification recommends about 10% (in this case 0.1 year) of the time after storing.

      Browser has it's own heuristics for caching even if max-age is not set.

    1. <# .SYNOPSIS Adds a file name extension to a supplied name. .DESCRIPTION Adds a file name extension to a supplied name. Takes any strings for the file name or extension. .PARAMETER Name Specifies the file name. .PARAMETER Extension Specifies the extension. "Txt" is the default. .INPUTS None. You can't pipe objects to Add-Extension. .OUTPUTS System.String. Add-Extension returns a string with the extension or file name. .EXAMPLE PS> Add-Extension -Name "File" File.txt .EXAMPLE PS> Add-Extension -Name "File" -Extension "doc" File.doc .EXAMPLE PS> Add-Extension "File" "doc" File.doc .LINK http://www.fabrikam.com/extension.html .LINK Set-Item #>

      Notice that you have to enter a new line after keyword otherwise it won't work. For instance: .EXAMPLE Add-Extension

      But .EXAMPLE Add-Extension won't work. Only some keywords like PARAMETER expect something on the same line.

  5. May 2025
    1. an excess of planning - really just another type of procrastination

      Be careful when planning something to not fall into trap of procrastination (planning instead of doing something). Always measure if something worth planning: if the thing is 5 minutes to do - just do it. If there're a lot of such things and you're scared of loosing track of them - write them down but don't dive into planning them too much. Sometimes it's much easier to just outline what you want to do - and this list of things to accomplish will just come into mind.

  6. Apr 2025
    1. Formatting requests are tricky. But formatting is handled very well by conform.nvim also for injected code via their injected formatter (example from my config: link).

      Formatting injected languges

  7. Mar 2025
  8. Feb 2025
    1. Determining the return on investment (ROI) for AI initiatives is difficult: The savings may not be immediate, and some of the benefits, such as freeing up employee time to perform more value-added work, are indirect.

      Estimation techniques play important role in long-time initiatives like AI.

  9. Jan 2025
    1. Make sure everyone on the team understands that in the case of an acquisition, any emails and meeting notes will transfer to the new buyer.

      Be considerate when writing mails to your colleagues. They may not be private even if the person you're writing to is very considerate of your feelings.

  10. Aug 2024
    1. specific element in the document which is an ancestor of the element

      So it doesn't work with elements in different stacking contexts (for example, rendered via react portals).

  11. Jul 2024
    1. // const authors = _.map(  //   authorIds,  //   id => await authorModel.fetch(id));

      Насколько помню, без использования lodash в обычном map такое сделать нельзя.

    1. It's common to have logic directly in components, such as making an async request in a click handler or a useEffect hook and then processing the results.

      Meaning we can get around without thunks: just use actions in .then and .catch, for example.

    2. const dispatch = useDispatch()

      Just react hook to get dispatch of the store to replicate the same functionality as in the first code snippet: call store.dispatch(…).

    1. Snippets

      Nice snippets but need to be converted to LuaSnip. Also some of them (such as code block) are better derived from markdown plugins aka mkdx. Some are even better implemented in a non-snippet plugins (images, tables)

  12. Jun 2024
  13. Apr 2024
    1. People will come to hold a deeper mutual respect for each other.' --What a big fat lie. It amounts to nothing but loss, after all, for someone to perceive pain at times when they are not the one in pain themselves. Nor does it make pain go away from the person who is the source of such feelings...

      Issue in comprehension of a problem: we don't have enough compassion bot because we don't understand people but because we don't hirt ourselves (including by understanding then)

    1. Another options is to add an additional URL to the origin: git remote set-url --add origin git@github.com:<USERNAME>/<PROJECTNAME>.git When you push to origin it will push to both the original origin (gitlab) and the one added above (github).

      Painless way to maintain several remotes synced without Premium.

  14. Mar 2024
    1. t’s been a running joke for a long time that we have more email groups than employees. But we’ve been careful to organize the groups, for example identifying different types by prefixes to their names (t- is a mailing list for a project team, d- a mailing list for a department, l- a more open mailing list, r- a mailing list for automated reports, q- a request list, etc.) And for me at least this makes it plausible to remember what the right list is for some mail I want to send out.

      Use prefixes for chats and group them this way. You can have 3 or even more chats with the same name like 'shepherd' but with different prefixes. This helps naming things.

    1. with time I couldn’t recall the conditions of the studies any longer and wasn’t confident in using those notes. Nowadays, I always write down what the actual study design was.

      Always provide context to the note contents.