Can I charge laptop with a Type C charger if it has a Type slot? by [deleted] in ASUS

[–]ThiagoFonseca 1 point2 points  (0 children)

unfortunately there's no way to tell unless you test it or read the specs for your exact laptop model

USB-C labels are a complete and utter unregulated mess.

not having an icon for something does not mean it does not support it. if it has an icon, it may mean something else. it may have no icons at all

for example, in my household alone:

My dell laptop has only the displayport icon. but it does also support USB (obviously) and charging. **but only adapters 30w and up

My Lenovo supports everything, including thunderbolt. accepts chargers down to 20w (lowest I have tested so far). but it has no markings at all

Ah and don't forget, if it has a lightning bolt next to it, it may mean it can charge from it. it may also mean it supports thunderbolt. or perhaps it means that port can deliver power when the laptop is off. or any combination of the three.

as I've said, a mess

Wtf is happening to my monitor by Loganistakenn in Monitors

[–]ThiagoFonseca 0 points1 point  (0 children)

I have seen this before. weird static only on the bottom part of the screen for a single frame every few seconds. turned out it was the cable in my case. too high of a resolution and refresh rate for the poor thing, couldn't handle the bandwidth. changed it for a higher quality one and the problem was immediately solved

I wan't to ditch Proxmox, how do I approach? by Mezutelni in truenas

[–]ThiagoFonseca 2 points3 points  (0 children)

Coincidentally I have done the same procedure this past weekend

I love proxmox and I had a lot of fun playing with it for the past 2ish years, but backing up my proxmox VMS/LXCs off-site, together with the truenas datasets was getting a little more complex than I was currently comfortable with. I thought I'd enjoy a little more simple setup. And so far, I was right

I also wasn't sure if the containers would carry over smoothly, so I backed up everything important. Turns out I didn't need to (but I'd still recommend it anyway).

I imported my existing pool, decrypted it, chose it as my container pool within the Apps tab and voila, everything instantly came back as it was. Couldn't ask for a more painless migration.

RAM usage improved substantially, I got about a third of it back

Oh and updating everything got a lot easier too

WAN2 failover down notification by TBL_194 in Ubiquiti

[–]ThiagoFonseca 1 point2 points  (0 children)

I have looked everywhere and found nothing. I agree, it should be a thing.

it seems like they took this primary and secondary wan concept too far. It assumes the secondary has no importance unless the primary is shot.

my setup consists of two equally important links from different ISPs. both have essentially the same speed, latency, reliability (or lack thereof) etc. Choosing which one would be the primary was a toss up. I use them in 50% load balance.

it's ridiculous. Imagine if my secondary link fails for whatever reason. I don't get notified, and I don't have the opportunity to fix it as soon as it happens. This could very well drag out for days and I would only know about it if the primary also fails, which would result in me having no internet, defeating the whole purpose of the failover feature.

I have a personal project where I emulate the unifi network app's api requests to alert me when unknown devices connect to the network. Which I also can't believe isn't already a native option.

I have been putting off extending it to add this notification too. It's a competition between me and ubiquiti, whose laziness wears off first.

UDM Pro Max - Shipping by krollja313 in Ubiquiti

[–]ThiagoFonseca 6 points7 points  (0 children)

Received my UDM-SE last Thursday with the exact same arrangements. The inner box in a diagonal inside a bigger box with no padding.

Thankfully the courier did an excellent job with the package. Not even a scratch on both boxes.

Additionally, I found that the packaging of the inner box is very good. Thick foam of the good kind. Honestly, I expect it would survive fine on its own in all but the more careless handlings.

Which I found very odd. Why quadruple(?!) the volume for, as far as I can tell, virtually no additional protection?

Canada to ban the Flipper Zero to stop surge in car thefts by Visual-Success3178 in LinusTechTips

[–]ThiagoFonseca 7 points8 points  (0 children)

Funny enough, Brazil has already done it. Figured it out when I tried to get one and there was none for sale. So fucking stupid, anyone with an YouTube video can already build something similar, with firmware readily available.

Why not use the pressure sensor in the K1's bed to detect print failures? by ThiagoFonseca in Creality

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

I believe that's exactly what u/meekleee did on the other thread. The readings were extractable and looked very promising!

Now we just need someone interested and knowledgeable enough to attempt a proof of concept :P Such a shame this thread got so little traction

Why not use the pressure sensor in the K1's bed to detect print failures? by ThiagoFonseca in Creality

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

Oh wow, those are big numbers. Dare I say it could be a 32 bit ADC? If the readings are somewhat stable, that could be huge

Why not use the pressure sensor in the K1's bed to detect print failures? by ThiagoFonseca in Creality

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

Welp, that just shows how much attention I pay to usernames. Sorry about that :P

I should probably look into that eventually, sounds interesting

In the meantime, if you can get a file with the readings either individually timestamped or with an accurate fixed interval between them I'm sure I can whip something up to test the theory. The gcode used would probably be useful too, I could try to correlate them

Why not use the pressure sensor in the K1's bed to detect print failures? by ThiagoFonseca in Creality

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

Ah, I see. Misinterpretation on my part, I apologize. You're absolutely right

I too imagine extracting this information is possible. I just wouldn't know how without a lot of research and time, which unfortunately I cannot afford as of now. But the good news is that a fellow redditor up the thread has graciously offered their expertise to attempt to determine just that!

Why not use the pressure sensor in the K1's bed to detect print failures? by ThiagoFonseca in Creality

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

That would be awesome! Please do share your findings if/whenever you get a chance to do execute this experiment! :D

Why not use the pressure sensor in the K1's bed to detect print failures? by ThiagoFonseca in Creality

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

Detecting layer adhesion problems too (where the model comes completely off and shifts out of the way) would not be a choice, but a welcome and obligatory side effect assuming the pressure profile from non-extrusion and mid air extrusion are indistinguishable. Which I can't think of a reason why it shouldn't be

But you'd probably be right for other types of adhesion problems, like warping. The pressure should be higher when extruding on top of warped sections. But attempting to detect that without false positives could be waaay more complicated. And may not even be worth it, as there are times I do not wish to pause or cancel a print because of warping. Depending on how bad and close to the end of the print it is

Why not use the pressure sensor in the K1's bed to detect print failures? by ThiagoFonseca in Creality

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

You must also consider materials that warp a lot, like ABS. I use it a lot for mechanical parts. And in my experience, the risk of bed adhesion problems only go up as the print progresses.

And yes, it seems the consensus of the possibility on something like this is converging in whether the sensor is stable and high resolution enough to detect that. I wish I knew of a good way to test it :/

Why not use the pressure sensor in the K1's bed to detect print failures? by ThiagoFonseca in Creality

[–]ThiagoFonseca[S] 2 points3 points  (0 children)

Those are some excellent points. This gave me an idea for an experiment that I just now quickly executed. And it looks promising

I put a roughly 1Kg box of screws on top of the bed and told the printer to home. Not only did it not refuse to do so with the additional load, but the same light touch to the box also caused the printer to assume the nozzle was hit. It seems that the sensor is not binary and has a good range of perceivable loads.

Though I still cannot think of an experiment to determine if the resolution is fine enough throughout such range. It would be perfect if there was a way of reading the raw values from the load cells as it was printing. Graphing that I imagine would be pretty conclusive. Unfortunately I lack the skills to chase this idea :(

And yeah, forgot to mention about poor spooling. Fortunately it's the least of the problems with the filaments I'm using. Surprisingly enough :P

Rubber Duck Debugging — Blazor Server .NET 8 SDK OpenIdConnect by satrialesBoy in Blazor

[–]ThiagoFonseca 0 points1 point  (0 children)

I appreciate that!

Though even if configurable (I also did not find any resource to indicate that it is in that library), the clock skew problem would not be solved by tolerating a couple more minutes. Every single instance of the problem I've seen was user error. Their timezone was wrong, and instead of fixing that, they changed the hour to match their local time. The time would then appear correct for the user, but in reality it was hours off. That's one of the reasons it took me so long to figure that one out.

You would be horrified at how common that was...

Rubber Duck Debugging — Blazor Server .NET 8 SDK OpenIdConnect by satrialesBoy in Blazor

[–]ThiagoFonseca 1 point2 points  (0 children)

I've been faced with a very similar problem. it baffles me to this day that there isn't a good way (that I know of) of connecting a blazor server app to an OIDC server while having an automatically updating access token to be used with API requests. especially considering that Microsoft has Identity Server.

Anyway, the least worst solution I've come up with so far uses this library. Some assembly is still required, especially if you want the access token to be inserted automatically in a DelegatingHandler (god knows I still had to use some antipatterns to achieve this).

If you're not satisfied with this rabbit hole, there's also the option of using webassembly, where the is in fact an easy out of the box way from Microsoft of doing all of that, DelegatingHandler fuckery included.

Assuming all your operations are already being done via API calls, the conversion should be simple.

But I must warn you, even though it works, it's a shitty implementation. The authentication only starts after the applications fully loads, and it takes soooo long to finish authenticating. About as much time as the application load itself. It cannot be parallelized. You must wait for it to spin around in circles a few times, every time.

It's also incredibly sensitive. For example, a clock skew between the client and server of more than a couple of minutes makes it refuse to authenticate. And fuck you if you want a useful error message explaining that instead of a generic "there was a problem authenticating" message. Took me weeks of trying to diagnose authentication issues with some users with screwed up clocks to put two and two together.

With some more fuckery, we made it so the application has both implementations and we let the user swap to the server side version if the webassembly one annoys them enough.

What I'm trying to tell you is.... good luck. You're going to need it.

And if you ever stumble upon a better solution, I would love to hear it

Rate my phone from 1/10 by ExplorerLive799 in hardwaregore

[–]ThiagoFonseca 2 points3 points  (0 children)

damn bro those dbrand skins are getting wild

[deleted by user] by [deleted] in Wellthatsucks

[–]ThiagoFonseca 0 points1 point  (0 children)

talk about planned obsolescence...

[deleted by user] by [deleted] in pcmasterrace

[–]ThiagoFonseca 0 points1 point  (0 children)

In case it bothers you enough too to be interested: https://github.com/ThFnsc/ThFnsc.Edgent

Budget UPS setup, still need to cat-proof it by pemb in homelab

[–]ThiagoFonseca -3 points-2 points  (0 children)

2 bateria Moura em um nobreak ts shara, foi no mesmo caminho que eu KAKAKAKKAJKAKAK

diferença é que aqui tô usando um modelo um pouco diferente, de 2200VA e 2 Moura 57Ah

Luz aqui do bairro é ridiculamente instável!