[-] otto@programming.dev 1 points 2 months ago

By UV 3000 you probably don't mean the ultraviolet lamp that is the first page of Google is full of when searching with this term..? I doubt UV - whatever it is - is a common approach.

2
submitted 2 months ago by otto@programming.dev to c/sysadmin@lemmy.world

What are your strategies when a MySQL/MariaDB database server grows to have too much traffic for a single host to handle, i.e. scaling CPU/RAM is not an option anymore? Do you deploy ProxySQL to start splitting the traffic according to some rule to two different hosts? What would the rule be, and how would you split the data? Has anyone migrated to TiDB? In that case, what was the strategy to detect if the SQL your app uses is fully compatible with TiDB?

[-] otto@programming.dev 1 points 2 months ago

You mean ollama? There are so many options, any favorites?

22
submitted 2 months ago by otto@programming.dev to c/opensource@lemmy.ml

I’ve been exploring MariaDB 11.8’s new vector search capabilities for building AI-driven applications, particularly with local LLMs for retrieval-augmented generation (RAG) of fully private data that never leaves the computer. I’m curious about how others in the community are leveraging these features in their projects.

I’m especially interested in using it with local LLMs (like Llama or Mistral) to keep data on-premise and avoid cloud-based API costs or security concerns.

Does anyone have experiences to share, in particular what LLMs are you using when generating embeddings to store in MariaDB?

-59
submitted 11 months ago by otto@programming.dev to c/technology@lemmy.world
5
submitted 1 year ago by otto@programming.dev to c/security@lemmy.ml

The XZ Utils backdoor, discovered last week, and the Heartbleed security vulnerability ten years ago, share the same ultimate root cause. Both of them, and in fact all critical infrastructure open source projects, should be fixed with the same solution: ensure baseline funding for proper open source maintenance.

80

The XZ Utils backdoor, discovered last week, and the Heartbleed security vulnerability ten years ago, share the same ultimate root cause. Both of them, and in fact all critical infrastructure open source projects, should be fixed with the same solution: ensure baseline funding for proper open source maintenance.

91

The XZ Utils backdoor, discovered last week, and the Heartbleed security vulnerability ten years ago, share the same ultimate root cause. Both of them, and in fact all critical infrastructure open source projects, should be fixed with the same solution: ensure baseline funding for proper open source maintenance.

88

Having smart people with a lot of knowledge results in progress only if information flows well in the veins of the organization

48

In this post, I share 8 principles I believe in:

  1. Less is more
  2. Start with the solution or the ask
  3. Show the facts, with examples
  4. Always quantify
  5. Include links and references
  6. Explain why it matters
  7. Ask feedback from one person
  8. Sleep on it

As engineers and developers, we often focus heavily on technical skills while neglecting the importance of clear, compelling writing. But the reality is, our ability to communicate effectively can have a major impact on our careers.

-23

There is more to it than just knowing Ctrl+T - see tips to boost your productivity

[-] otto@programming.dev 4 points 1 year ago

I just prefix all my git aliases with g-. So for status I type g-s<tab>.

[-] otto@programming.dev 2 points 1 year ago

You need bisect only as a last resort. Effective use of git blame, git log -p -S <keyword> etc has always been enough for me. Also, the projects I work with take 10+ minutes to compile even when cached, so doing tens of builds to bisect is much slower than just hunting for strings in git commits and code.

[-] otto@programming.dev 4 points 1 year ago

I had the same feeling until I started using gitk. I always have a gitk window open and press F5 to reload, so it shows me the state of everything after I've run git commands. Now I grasp everything much better.

91

As aliases

alias g-log="git log --graph --format='format:%C(yellow)%h%C(reset) %s %C(magenta)%cr%C(reset)%C(auto)%d%C(reset)'"
alias g-history='gitk --all &'
alias g-checkout='git checkout $(git branch --sort=-committerdate --no-merged | fzf)'
alias g-commit='git citool &'
alias g-amend='git citool --amend &'
alias g-rebase='git rebase --interactive --autosquash'
alias g-pull='git pull --verbose --rebase'
alias g-pushf='git push --verbose --force-with-lease'
alias g-status='git status --ignored'
alias g-clean='git clean -fdx && git reset --hard && git submodule foreach --recursive git clean -fdx && git submodule foreach --recursive git reset --hard'
[-] otto@programming.dev 1 points 1 year ago

Only product from Microsoft I actually like using and trust. Quality from 1998, and still going :)

[-] otto@programming.dev -1 points 1 year ago

One is enough if it is very big

58

🚀 Dive into the fascinating world of Linux containers! Most devs use #Docker or #Podman, but do you really understand what's happening under the hood? 🧐 Let's demystify #Linux #containers in simple, concrete terms. Just a 12-min read! 🕰️📖

32
Pulsar, the best code editor (optimizedbyotto.com)

Pulsar (former Atom) is still the best code editor in my opinion. It is easiest and fastest to use, has all the nice productivity boosting plugins and is overall great for all the same reasons the Atom was great. 🚀

See also !pulsaredit@lemmy.ml

[-] otto@programming.dev 1 points 1 year ago

Try again tomorrow, seems it got popular today

[-] otto@programming.dev 1 points 2 years ago

We just need specific portals for sharing that remember your homeserver. See for example https://mastodonshare.com/.

view more: next ›

otto

joined 2 years ago