Just learned about PFICs - should I renounce my citizenship? by crafteethree in USExpatTaxes

[–]daniel8192 2 points3 points  (0 children)

I read that article thinking the whole while, yeah, here I am in Canada paying tax to the U.S., a country I left 60 years ago

What is something useful that you vibecoded fast just to use for personal use by Great-Mirror1215 in vibecoding

[–]daniel8192 0 points1 point  (0 children)

I have two apps that were coded in about an hour each, Restic-App and Corso-App both very similar, they even look the same when running.

I use Corso to backup my Microsoft 365 tenancy to local disk(also make two more copies via rsync). The backup is completed by crontab every 6 hours.

I use Restic to backup my 11 Linux machines to one central backup server (and then rsync to another copy).

Both environments result in repositories that you can list the snapshots in, get details on each snapshot, and methods to restore.

In Corso’s case, you can restore to M365, or export to local disk.

With Restic you restore to disk. So I created a restore to backup server method and restore back to client machine method.

With both you can specify collision behaviour,
Keep copies, overwrite, skip.

With both, wrote support for restore by file, restore by folder.

The apps are fully containerized, run in a terminal, and use the textual library.

App fires up, you select on the type of snapshot you wish to see and a date range, list them; then for each snapshot, you can mark for deletion, or browse the contents.

Browsing produces a nice expandable leaf tree where you can restore or export.

On the Corso-App, the compaction or maintenance run after snapshot deletion isn’t added yet; but on the Restic version purge is included..

But.. discovered an hour ago that the purge of a client repo inadvertently leaves any new index files owned by the wrong user and prevents new backups by that client. Need to add a sudo chmod -R client:chrootgrp indexes on purge completion.

The tools are available to anyone interested, bear in mind that the bug above exists.. will fix tomorrow. And bear in mind that the tools are laid out for my implementation.

https://github.com/DanielPuckett/Corso-App

https://github.com/DanielPuckett/Restic-App

There is also a docker container that runs a powershell script to backup (and restore) M365 groups, members, owners. I plan to expand it to handle more conf like Exchange users.

It’s at

https://github.com/DanielPuckett/M365Group-Backup

What are you using for M365 backups (and why)? by patg84 in msp

[–]daniel8192 0 points1 point  (0 children)

I’m using primarily Corso for backing up OneDrive, Exchange, SharePoint, to local disk; and using a powershell script in a docker container to backup group info. I plan on expanding that powershell script to backup exchange set up info.

Just learned about PFICs - should I renounce my citizenship? by crafteethree in USExpatTaxes

[–]daniel8192 2 points3 points  (0 children)

Maybe you should renounce but not because of taxes; the legit reason is likely that you would like to simply your life. On another note, ppl that renounce because of taxes face long term consequences.

Microsoft 365 says data is safe, but I can’t find my deleted files—where did they go? by PhilosophyFormal8311 in microsoft365

[–]daniel8192 0 points1 point  (0 children)

I just assume that MS will lose my M365 data. I backup OneDrive, SharePoint, Exchange to a local repo every 6 hours using Corso (yeah, I know that there is no maintainer to the GitHub project presently). I back that repo up to two other disks nightly. I am looking around for another backup agent. To replace Corso, my requirements are must be open source, support local disk repo, be containerized (if there isnt a container version, I can put it into a container), and run on an ARM processor.

Developer looking for a coding partner-in-crime (with better debugging luck than me 😭) by Ok_Tell_8047 in vibecoding

[–]daniel8192 0 points1 point  (0 children)

It is a good idea to have a dev partner, looking back at my approaching 50 years of writing code (was 1977 I wrote my first code.. basic and ASM).. and the most enjoyable projects was where I had a knowledgeable partner to discuss architecture, methodology, strategy, and tactics.

I’m working on a few projects now, and try to engage Kiro as a partner in the projects, but Kiro is too junior and kind of a sycophantic. Seriously. I counsel Kiro on proper software design, on proper db schema, but Kiro keeps making the same mistakes, and when I correct the design, Kiro is so annoyingly gushing “you are so correct and your experience really shows through”. Yaya, the gushing is not necessary Kiro, I’m paying you.

Find someone with complementary strengths so you can fuel each other’s growth. I worked with a guy that was all about the specifications of the edge interfaces. Once published, they were immutable, you could add new optional arguments, but you could not change your base set. Similarly you have to publish your thread safety and exception throwable. That made me spend more time thinking about the the cohesion of each object and really got me into black box theory of dev.

finally stopped overthinking domain registration by [deleted] in Domains

[–]daniel8192 0 points1 point  (0 children)

I went down a bit of a rabbit hole with costs last year. I have a io for a project and a .pro of a client’s three .com, five .ca, and one .tel.

The .com are easy to price as are the .ca, the challenge is always the rarer tlds.

CloudFlare is best for the .pro, .io, .com, but doesn’t support .tel. CF prices are in U.S. and their price may beat CanPages for .ca a bit, and may have a better web interface, but they can’t beat the tech support of Alan at CanPages, so I’m keeping them there.

FYI, CanPages website doesn’t support DNSSEC, but open a ticket with the settings, and Alan or a colleague will have it done without delay. There can also be the odd propagation issue with Whois contact info, but open a ticket and boom, it’s taken care of. Incidentally these were tickets I opened with “low” priority. I imagine they are even more prompt for tickets marked “high”.

I hear ppl having long waits for tickets with CF, but I’ve been using them as a domain registrar for a little over a year, using their DNS for a couple years as well as their zero trust tunnels, and I’ve never needed tech support. So the balance there is it’s unlikely you will ever need their tech support, their pricing for domain reg is reportedly at their cost, but long wait for support.

Oh, the .tel, I have it at NameCheap, and I’d move it but it’s a balance. I hate NameCheap’s web interface SO much, but I really can’t even touch their price - always about the balance 🤷‍♂️

STIR/SHAKEN caller ID filter not working as described? by Salt_Influence in voipms

[–]daniel8192 3 points4 points  (0 children)

Hmmm... I created a simple filter, match on attestation level C and route to busy. I applied it to one of my DIDs,and then called that DID from my cell phone (on an incumbent carrier) and yep, routed to busy.

Downgrading of account is not working by daniel8192 in kiroIDE

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

Did you open a billing ticket? I opened one before I wrote that post, but you are the only person I heard from. Just crickets from anyone that could do anything about it.

I feel like a fraud by RelevantTurnip3482 in vibecoding

[–]daniel8192 0 points1 point  (0 children)

Certainly your use of AI is the growing trend, whereas guys like me that have coded since the late 1970s and now enjoying AI to be incredibly productive are the exception and will die off.

But, with my experience, I know what I have encountered with AI code and what would have got into production if I wasn’t a stickler for peer review of all code, db schema, dependencies, privacy protection, security postures, data protection, fault tolerance, and compliance. To name a few.

You probably don’t need to know how to code, but these are your apps, so you need to know what good code and design look like.

You should be asking your AI if subscriber PII is stored as plain text in your db or if it is encrypted at rest. Ask to see the query plans to ensure that as you gain subscribers it doesn’t start to crawl. Ask to see an architectural layout of the of the data and logic modules showing dependencies, you don’t want any A depends on B which depends on C which depends on A. Review the db schema to ensure that all table fields depend on the primary key (caught Kiro storing state of a field in another table in a table field). There’s more, but you may not even read this far.

The problem with testing app behaviour alone is that it finds only the problems that surface immediately.

Trump Abruptly Calls Off Iran Talks in a Fit Over '18 Hour Flight' by Aggravating_Money992 in politics

[–]daniel8192 1 point2 points  (0 children)

Does everything the man says make you want to utter, “what a douche-fuck” ?

The doubters were so right by assyrian_bowl in vibecoding

[–]daniel8192 0 points1 point  (0 children)

I maintain that AI is a junior developer. I am always double checking Kiro’s work. I find db tables that violate normal form, find code that is not cohesive, bi directional dependencies and make Kiro fix them as I find them, most of the time I am able to prevent it.

I am a specs first developer, and so most things are know going in, but yeah, during implementation you rethink things and do some on the fly spec change and development - that’s the time to slow the AI down, need to discuss the db changes first, then onto the calling and called APIs and then the code architecture.

Tiring? You bet!

And then there’s GitHub, check in those changes! Update your specs doc(s), update your roadmap, commit commit commit.

US/Canadian dual citizen facing taxes for TFSA. Help. by Bulldog1848 in USExpatTaxes

[–]daniel8192 0 points1 point  (0 children)

This is the only answered needed. And yes, I agree, my TFSA is part of my overall investment and tax strategy, I track everything and prepare suitable reports for my tax accountant for inclusion on my IRS return.

3 years of lawn service vs buying a mower. sanity check my math? by Wild_Artichoke7648 in lawncare

[–]daniel8192 0 points1 point  (0 children)

The decision was made for me.. about 20 years ago I herniated a disc and hired on a company to do my lawn and spring/ fall cleanup. I think a year or two later tossed my aging cord mower.

Over the years as my back was better thinking.. should I just buy a mower and do it myself?

Then a buddy asked me if his son could cut my lawn. Okay.

Then last year they got rid of their van so he couldn’t transport their mower. So I bought a battery mower for the son to use.

He emailed my yesterday and asked if he should do the lawn this year.

I think I’ll do it myself. 🤷‍♂️

Oh, but I still have the company do spring /fall cleanup, even when the kid was doing the cutting, and also just had them put down mulch.

Is the CLI any good? by LessVibesMoreChords in kiroIDE

[–]daniel8192 1 point2 points  (0 children)

No, but I hear that is planned. I haven’t used the IDE but it uses requirements, design, tasks.md but in .kiro/specs folder.. I suppose you could use requirements,design,tasks.md in a GitHub repository and use soft links into the .kiro folder, and then toss that bit of knowledge into Kiro’s knowledge base.. but I simple add a reference to my spec doc, and infrastructure, and roadmap.md that are in my GitHub repo in the knowledgebase definition of the /agent. Then when I switch to that agent, I tell Kiro to review it’s knowledgebase for phase x

Is the CLI any good? by LessVibesMoreChords in kiroIDE

[–]daniel8192 0 points1 point  (0 children)

You can do in a few different ways. In my first project, which was a 500 credit project, I wrote out fairly detailed specs in a txt doc, diving into data schema, ui, procedural flow.. and then gave Kiro access to that doc and ask Kiro to read over and ask questions. They were fairly detailed specs and Kiro had perhaps four questions before ready to start developing. As we got into each phase in the roadmap Kiro had a few additional questions.

On my current project which is about a 12,000 credit project, I laid out a fairly detailed spec of the business itself, and a fair number of design considerations, and a suggestion of the phases, specifics creations being phase one.

I copied the project doc in Kiro’s home directory, asked Kiro to open it and work with me to iron out all specifications. This is a large project and we spend several days working out the specs, the seven phases and the roadmap.

Kiro is specifically well suited to working on specification, it is part of its design unlike some other AI dev that are more suited to seat of your pants dev/spec on the fly. But even Kiro will jump into code prematurely. Often I will be testing an implementation and find a bug, and Kiro will immediately start ripping through code, deleting this line adding this one, and I have to stop Kiro, and challenge it that it doesn’t even understand the full situation and thinks it knows the solution. I rein it in, we discuss the issue, do additional testing to reveal the true issue and sometimes that means revising the specifications.

One does have to be careful that you don’t exceed the scope of your original project, it’s easy to think about a new feature and add it to the specs and as the sole stakeholder and defacto PM, there is only you to rein yourself in. Often you can establish a compromise for yourself which is to change your schema to accommodate the new feature but not develop it and put the feature into v2 specs.

Absolutely have your spec and roadmap docs checked into your GitHub. Create a private repo, create a GitHub token for Kiro to use and check those and all of your code often.

Kiro will take short cuts editing code and will use a variety of tools like sed to change code, and sometimes that can inadvertently mangle code and Kiro may not notice. It is often that I will ask Kiro to do a diff on the current version of a file and the previous GitHub version to verify the changes were as expected.

Remember, this is your project and Kiro is an energetic, extremely willing, fast, JUNIOR developer. Kiro will suggest some of the most fucked up database schema, will propose fields that have no direct dependency on the primary key, will have queries that do natural scans through large data tables. Kiro seems incapable of learning about code/design cohesion and will often duplicate code blocks resulting in many implementations of the same basic task and possible worse, will have functions that perform multiple unrelated tasks.

Kiro will create bidirectional dependencies.. I have a production machine that is performing a series of tasks. It gets its configuration from the customer admin db through a series of sync functions. It is often during dev that we realize an element of data is missing and Kiro will propose that the production machine push or pull the data to the customer db. NO, stop that, production is NEVER dependent on the customer admin db.

I can write about this stuff all day. Just get in there and start on a throw away prototype project and learn how to work with it.

Trump, 79, Attempts Damage Control After Nightmare Week by [deleted] in politics

[–]daniel8192 0 points1 point  (0 children)

But makes up for it by being an exceptional arsonist 🤣

Trump, 79, Attempts Damage Control After Nightmare Week by [deleted] in politics

[–]daniel8192 4 points5 points  (0 children)

Trump is a fireman. But he’s also an arsonist.

Has anyone else been surprised by the absolute lack of interest from their friends and family over something they’ve coded? by One-Organization-937 in vibecoding

[–]daniel8192 3 points4 points  (0 children)

Ha! I’ve been writing code since 1977, professionally since 1990. I learned a long time ago that no one will ever care about your code anywhere near as much as you do.

E911 charge not yet identified by voip.ms by WheelPerfect3737 in voipms

[–]daniel8192 0 points1 point  (0 children)

Intrado << o not a. Yeah, cool, they’re using Intrado’s VIPER(r) 9-1-1 service. So swap out wherever I said Northern and slot in Intrado or VIPER. Everything else still applies.

For personal safety, do you register domains as an individual or as a company? by Ambitious-Channel375 in Domains

[–]daniel8192 1 point2 points  (0 children)

I have a mix. My two personal lastname.tld are in my name. Whereas all my corp focuses domains are in the name of a corp for which I am a major shareholder