braxtons12

u/braxtons12


r/rust•

Vague background: potentially starting a new project at work soon-ish and am trying to push for Rust as the language we use. Said project will likely be utilizing Kafka for inter-service queueing, so I'm looking into what crates are available.

Is rust-rdkafka the only production-ready solution we have right now?

I was hoping to find a Rust-native implementation, so that linking to rdkafka wasn't required, but haven't seen anything in my search so far.

29

r/woodworking•

Title says it all.

I grew up in northern Oklahoma where basically the only option was the chain store (in that case, Lowe's). Now I'm older (no longer helping my dad in his shop), less wise, and living in NW OKC, where I know there are options, but have no idea which of them are worth a damn.

If any of you live in the OKC metro area (bonus points for the northwest side), where do you buy the materials for your projects? Do you deal with the sadness that is Home Depot, or is there a good lumber yard that sells to the public?

If it helps, I'm not interested in anything fancy and/or exotic. Vast majority of my projects would be in hardwood plywood, pine, or maybe maple.

17

r/homeworld•

Back before HWRM was a thing, there once was a shader model 3 mod for HW2. Kind of like Cnlpepper's shader model 2 shaders included in the "Ultra High Graphics" mod, but even more improved.

Do these still exist, and if yes does anyone have a link to these? They were getting hard to find a decade ago (man that makes me feel old), and now with all the buzz about HW3, searching for anything "homeworld" with the number 3 included isn't exactly fruitful.

20

r/cpp•

(No?) Thanks to layoffs, over the past few weeks I've had a lot of time to break up, clean up, and otherwise improve on a long-term project of mine that I had to put on the backburner for the past year. This is one of the first results of that.

https://github.com/braxtons12/hyperion_mpl

I'll try to avoid repeating the README too much here. hyperion::mpl is a C++20 metaprogramming library focused on a value-oriented approach. It tries to make metaprogramming (comparatively) simple and easy, and much more like writing "normal" C++ code than the traditional (often recursive) class template based approaches.

Example:

#include <hyper
3312

r/cpp_questions•

Backstory, writing a metaprogramming library, and trying to write a concept/trait requiring that a type has a member variable defined as: `static constexpr /** Type **/ value = /** value **/;`
This concept would be a building block for defining what valid metafunctions/predicates/etc.s are.

I know how to test for a `constexpr` member _function_
I know how to test for the existence of a member variable.
I just can't figure out the right technique(hack)for testing for a `constexpr` member variable.

614

r/diablo2•

Just bought and installed the game. Now when I try it play it (launching from the battle.net client, while online), I get to the title/"Press Any Key To Begin" screen, do so, and then get "You have not been online in the last 30 days. Please start the game while online to check for any login agreements".

How the hell do I get past this? I've tried :

  • deleting blizzard's files in AppData
  • logging out/back in
  • restarting
  • adding everything blizzard/d2 related to firewall exclusions
  • probably something else I've forgotten
113

r/neovim•

I feel like everyone here probably knows what NeoTree is. Barbecue is basically a plugin that works with nvim-navic to add breadcrumbs to your winbar.

My question is, have any of you gotten NeoTree's source_selector to display correctly when using Barbecue (or some other winbar plugin) and if yes, how?

As is, the source_selector will only show up when a normal buffer is focused (but not the initial buffer opened when opening neovim) and disappears when I try to focus the NeoTree or click a source.

I've tried adding "neo-tree" to barbecue's exclude_filetypes, but that doesn't change anything.

13

r/cpp_questions•

Expecting I might not get any traction here, but hoping someone might have an answer as it's pretty much the only thing blocking me from using xmake as the primary build system for personal projects.
I've asked on the project's github discussions already, but haven't gotten a relevant answer (I think due to language barrier or misunderstanding).

Working with xmake (https://github.com/xmake-io/xmake) and trying to setup a project that is dependent on another.

Basically:
If
(1) I have a project setup like this:

project("MyProject")

add_requires("conan::fmt/8.1.1", { alias = "fmt"})
add_requires("conan::boost/1.79.
05

r/neovim•

Hi!
I'd like to share this weekend project of mine, blame_line.nvim:
https://github.com/braxtons12/blame_line.nvim

blame_line.nvim is a neovim 0.7+ plugin that shows git blame information (configurable) as virtual text for the current line, written completely in lua.

There were already a handful of git blame plugins out there, but AFAICT they all suffer from different problems, either:

  1. not working on all platforms
  2. just not working? or
  3. working, but introducing flicker because too slow
  4. some combination of the above

So, I wrote my own!
It's really similar to [https://github.com/APZelos/blamer.nvim](https:/

156

r/neovim•

How can I get the vim.lsp.buf.hover to show on CursorHold, without triggering its second call and jumping into the hover float?

Currently I've found the below, but this only works once and then never hovers again.

vim.api.nvim_create_autocmd(
    "CursorHold",
    {
        pattern = {"*"},
        callback = function()
            if not require("cmp").visible() then
                local hover_fixed = function()
                    vim.api.nvim_command("set eventignore=CursorHold")
                    vim.api.nvim_command("autocmd CursorMoved ++once set eventignore=\" \" ")
                    vim.lsp.buf.hover()
                end
                hover_fixed()
            end
    
22

r/neovim•

Is it possible to add syntax highlighting to the entries in the completion menu? Not like the PMenu background/selected colors, but actual syntax highlighting?

I'm using coc.nvim if that's important (yes I know, builtin LSP is better these days, but I started using coc before it was a thing and I just haven't cared to learn how to set the builtin up)

22

r/skyrimmods•

Hey all, TIA.

Reinstalled from scratch today and started rebuilding a new modlist. Running 1.5.97 downgraded with the full patcher, latest skse, engine fixes, USSEP, etc. MOST of the mods I have so far are texture/mesh mods, but there are a variety of others like RWT, Obsidian Weathers, NSUTR, SoS, ELFX, etc.

Unfortunately, I get a CTD when trying to start a new game. I get the load screen and then when (I'm assuming anyway) the load finishes it immediately CTDs.

Here's the crash log:https://pastebin.com/YFVcK8n9

and here's the papyrus log, if it helps:https://pastebin.com/xbkiQDri

I've been trying to make sense of the cr

513

r/AskElectronics•

Hi all,

I'm restoring an oooold Fischer stereo receiver and need to replace a few power BJTs. Specifically, I need 2 matched pairs of D600k and 1 matched pair of B631K.

Could anyone point me to what the equivalent parts would be today?

TIA!

24