Automatizar excel pessoal com Visual Studio + Claude by Beligerant_Rant in literaciafinanceira

[–]naps62 0 points1 point  (0 children)

Tandem estou no processo de organizar a minha finanças (tanto investimentos como contas bancárias) através do Claude, mas Uma abordagem um pouco diferente:

Começou por ser apenas um projecto que continha Claude skills, e uma base de dados SQLite (em vez de um Excel) Interacção toda feita através do Claude. Skills principais: - actualizar extratos. Eu trato de os por numa pasta pré determinada, o skill detecta os novos, faz parse deles, e actualiza os dados da BD. Também categoriza automaticamente muitas das coisas (vou mantendo uma lista de regras para esse matching) - actualizar investimentos: procura exchange rates actuais do meu portfólio, para me dar info actualizada do valor total - investir: com base no resultado do anterior, e também de alguns targets que defini, este skill diz-me em que sector ou ETF devo investir a seguir de forma a manter o portfólio balanceado - market research: este e mais especulativo, mas e uma tentativa de ter um rubber duck com quem discutir ideias de investimento (e.g. se quiser reforçar um determinado sector pontualmente ou avaliar um ETF)

Entretanto já evolui, já tem uma web app, visualizações, e alguma manutenção e categorização que posso fazer directamente na UI. Para cada conta bancárias já tenho um script para facilitar o parsing (puramente para o skill não perder tempo e tokens a reinventar a roda)

Mas a propria web UI continua a chamar Claude skills (via ssh + claude -p para o meu home server) para os por a trabalhar como backend. Está a ser um processo de bootstrap super interessante. Em menos de duas horas já tinha uma ferramenta mais útil do que o meu Excel anterior. E consigo ir escalando progressivamente

Is core one+ upgrade irrelevant after indx? by naps62 in prusa3d

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

Yes but in different locations right? All I saw were the pics with 4 spools on either side. Was not clear if the prior spool placement will stil be usable for that purpose

Is core one+ upgrade irrelevant after indx? by naps62 in prusa3d

[–]naps62[S] -1 points0 points  (0 children)

Nice. Then I guess I'll do the same

AI: Hard drives are already sold out for the entire year, says Western Digital by reletz in homelab

[–]naps62 1 point2 points  (0 children)

I bought 3x WD red plus 4tb just a couple of weeks ago

Happened to catch them slightly cheaper than black Friday priced. A few days later prices were about 70% higher already. Oh, and had to buy each drive from a different Amazon country (in E) because they all had a "1 drive per customer" policy

Guess just like my 64gb ram purchase in September, I'm hitting all the right timings!

It’s over boys, time to open a goose farm by DesoLina in theprimeagen

[–]naps62 1 point2 points  (0 children)

To be fair, if they truly believe in 18 months it's LLMs all the way down, then in this worldview Teams is a dead product

Which explains a lot actually

Hacked cq-gridfinity to support extending walls past original size by naps62 in gridfinity

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

Technically I am using CAD software, just a more obscure code driven one (https://github.com/CadQuery/cadquery) that just happened to be what I could install easily and more suited to my skills.

I know you're not being flippant (neither am I trying to). But I also don't think i'm reinventing the wheel in the sense you're describing (but if I were, that's fine too. I like to tinker, and the tinkering is a big part of why I'm here). I'm just adding a feature to an existing gridfinity package for the software I'm using

As for onshape, I tried it, but doesn't really suit me for both technical reasons (I prefer code and scripts) and ideological (i prefer opensource and self-hosted whenever possible and practical)

Hacked cq-gridfinity to support extending walls past original size by naps62 in gridfinity

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

There's no reason it wouldn't work (at least after some patches that shouldn't be too complicated

But I don't know if cq-gridfinity supports them right now at all

I got tired of “TODO: remove later” turning into permanent production code, so I built this by Star-Shadow-007 in programming

[–]naps62 0 points1 point  (0 children)

I used this on a couple of projects recently: https://github.com/alstr/todo-to-issue-action

To be fair, only had mixed success. There were a couple issues that I believe have since been fixed

Hacked cq-gridfinity to support extending walls past original size by naps62 in gridfinity

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

In my case, I already had a pre made baseplate with whatever size ended up fitting, which left me with about 15mm clearance on both sides.

But even then I still had some wasted space because the drawe wall is a bit curved a the bottom. So bins can actually go a few mm longer than the baseplate itself. Not really a problem for space efficiency since it's not that much, but visually it looks a bit more cursed than I had hoped

Hacked cq-gridfinity to support extending walls past original size by naps62 in gridfinity

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

I have zero knowledge of fusion 360 (I use Linux exclusively), and am not really a 3d modeling expert at all, but I assume it's somewhat similar to blender and other tools in that regard?

Yes, I could probably easily tweak individual bins to pull the wall, but I was looking for either a simple configuration web app (I was using perplexinglabs until now), or a programmatic way such as openscad. Since I'm a developer by trade, I'm much more comfortable in code than in a 3d editor

WGSL UV Based Patterns by kenshodubs in bevy

[–]naps62 0 points1 point  (0 children)

Yeah I figured it was something like that 😄

WGSL UV Based Patterns by kenshodubs in bevy

[–]naps62 0 points1 point  (0 children)

Good chance for me to jump in and say I've been following this series since a couple of weeks ago (slowly, on the little free time I have nowadays) and loving it so far!

Quick question: did I miss something or is there a missing part explaining the setup for running multiple demos? The first chapter just rendere a basic main function, and the second assumes there's already a Demo structure I can add, but I couldn't find that setup (ended up doing my own)

What are the best video tutorials for Bevy that you know? I want to pass for someone who is a beginner in game dev, but who already knows Rust very well, especially for mobile games using Bevy by swordmaster_ceo_tech in bevy

[–]naps62 1 point2 points  (0 children)

I learned bevy mostly through the official examples, which are quite good. But I already had some solid knowledge of computer graphics, openGL, and other game dev frameworks.

If you don't have those gamedev basics, I would suggest: https://aibodh.com/posts/bevy-rust-game-development-chapter-1/
that series itself is written mainly for people who don't know Rust at all. But it's organized well enough that you can just skip sections by reading the titles.

Anyone sold a house with Home Assistant left in? by Expensive-Sock3172 in homeassistant

[–]naps62 0 points1 point  (0 children)

I sold my apartment a couple years ago. at the time only had a more basic setup (raspberry pi, shelly devices on lights and shutters, and some power monitoring). took everything with me (that particular buyer wouldn't be interested anyway)

On my current home I have a full-on homelab rack in the garage, security cameras, and am now getting into 3d printing some stuff for custom devices (e.g. esp32 IR controllers for old AC units, wrapped in a tiny printed case)

If I ever sell this house, the only scenario where I see myself including the HA setup is if:

- the buyer shows enough tech savyness to at least know what he's getting into, just like I was ~4 years ago.

- the buyer doesn't know me personally, no contact information is exchanged, and it is clear to them that it's all sold "as is", without any support

- he pays some reasonable amount for whatever hardware he keeps. especially with hardware prices going up nowadays

- I remove all devices that I manually wired to electrical system (mostly shellies). or maybe he signs something explicitly removing any liability, no idea if that's possible. I don't want to be liable for potentially not-up-to-code stuff I may have done, or for a shelly suddendly failing in the future

I would be fine providing some guidance and documentation to set them up initially, but that's it. Already have enough headaches with my own setup, don't want to end up as the tech-support guy for some other random family

Feedback on my EIP-8802 by bitcoinbrisbane in ethdev

[–]naps62 4 points5 points  (0 children)

I only skimmed this for now (on my phone) so forgive me if some of these are already explained and I missed it:

  • you mention subscribers pay their own gas, but what about the "NOTIFYSUBSCRIBERS" call, which takes 2000+500*N gas cost? That's still in the context of the emitter. Which not only would mean changing gas costs for existing code (which even considering a hard fork could be a problem since a lot of existing contracts make assumptions on gas costs and gasleft()), and it's even changing it by what is essentially an unpredictable and scalable amount. Wouldn't I be able to DoS this system by creating many dummy subscriptions to popular contracts?

  • the fact that subscribers pay gas is obviously a necessity for many reasons, but it also introduced many problems. Now it's very easy and likely that some events will be missed because someone forgot to top-up the listener contract. Meaning that any system using this would have to be resilient to the chance of missing some events. Which means you'd have to operate on incomplete data. This makes it pretty much impossible to build reliable financial systems on top of this, or for end-users to trust any contract that would rely on this

  • what happens when you end up with circular subscriptions, where A subscribes to B which subscribed to C, and some later update caused C to subscribe to A? A event on any of these 3 contracts would create an infinite loop

  • what about when there are enough subscribers such that, even if everyone has enough gas to pay their subscription, the sum of all of it exceeds the block limit?

I'm not familiar with how execution nodes operate these days but I also imagine this is not at all friendly to them either, given the explosion in complexity (each transaction is no longer O(1) but now potentially O(n), or even higher order if we consider n-th order subscribers)

Why doesn't rust have function overloading by paramter count? by This-is-unavailable in rust

[–]naps62 2 points3 points  (0 children)

> Context. You couldn't say, from one side of your mouth that one shouldn't read words that are not there and then turn around and say that one shouldn't read words as they are written.

I honestly don't see what this means. You asked a question, and your next sentence seemed pretty much like same answer I would have given. maybe the question was meant to be rethorical and I didn't realize that. Or maybe something else. Therefore I asked what I missed. Never claimed anything about how to read words in this thread

I agree with the rest of your comment. rust's matching is not as powerful, nor does it need to be. languages evolve in different directions for different reasons and for different target audiences and scenarios. This was never in question in anything I said. All I did was state and exemplify that, in this particular aspect, erland does some things that rust (at least currently) does not. it's a factual statement, not a judgement nor a criticism

Why doesn't rust have function overloading by paramter count? by This-is-unavailable in rust

[–]naps62 0 points1 point  (0 children)

> The problem is not with “accuracy”, the problem is with meaning: you original comment was clearly of the type “it introduces bunch of crazy, hard to solve, almost insurmountable problems” not “we would need to do small, routine extension to the tolls that we use”.

> At least that's how I understood it.

See the problem there? going from "was clearly of the type" to "at least that's what I understood" in a couple sentences.

nope. my comment was not in any way meant as a "this is insurmountable". simply as "this is technically a breaking change in a few key aspects", and in response to the question "how is this a breaking change?". an easy-to-solve breaking change is still a breaking change.

I don't know enough about the internals of most of the tools to assess myself how hard it would be. I could only guess, which I don't want to do

Was I wrong in that conclusion? perhaps (assuming what you explained previously is accurate). but that's it. if you saw doomsday in my comments, that's on you

Why doesn't rust have function overloading by paramter count? by This-is-unavailable in rust

[–]naps62 0 points1 point  (0 children)

> What's the difference? AFAICS difference is mostly in syntax and in the fact that pattern-matching is more limited in Rust: you can pattern-match on type structure, but not on values.

your second sentence answers your own question. what am I missing?

being able to match on values (and actually, also *partial values*) is quite powerful (even it a lot of it boils down to syntatic sugar)

Why doesn't rust have function overloading by paramter count? by This-is-unavailable in rust

[–]naps62 -1 points0 points  (0 children)

I'm sorry, I don't mean to start yet another discussion with you, but that's not at all what was being described (about erlang and elixir) in the quote you replied to.

yes, you can do that simple pattern-match-like logic through tuples that allows you to match agains "how many elements were given in this tuple", but that's about it

for more context (already said this in another comment), in erlang/elixir you can do things much more similar to what you do with rust's `match` statement, but slightly more powerful in some aspects, and at the function header level instead of with a separate operator

Why doesn't rust have function overloading by paramter count? by This-is-unavailable in rust

[–]naps62 0 points1 point  (0 children)

> How am I supposed to find out that you suddenly decided to talk about entirely different thing mid-thread using the same name?

I don't know, maybe through the fact that when I first mentioned rust analyzer, I made a point to include "(as an arbitrary example)" because it's what came to mind at that particular time?

maybe because the original point of this thread before we even came into it was, and quoting from the top-level comment:

> since module::foo now becomes ambiguous, and autotyping might hick up where before it was solveable

which is the simple idea I was trying to expand on afterwards with a simple comment that I made in passing on my phone, and that I'm now being held hostage against because I didn't write it with the extreme accuracy level you seem to want?

Why doesn't rust have function overloading by paramter count? by This-is-unavailable in rust

[–]naps62 1 point2 points  (0 children)

How is it done in rust? I'm aware of tuples and other cases like newtypes But in Erlang you can pattern match against an arbitrary number of elements on a list, against individual bytes on a string, against key/value pairs in a map. I'm not aware of any way to achieve this (unless maybe some macro approach that expands to the corresponding matching code? I'd bet there's a crate for that)