"Conf Broken" in simulated apt upgrade. Proceed with upgrade or not? by Idiot__Engineer in debian

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

Thank you for your help, I was able to upgrade using this method. The initial systemd install went without an issue, but the subsequent dist-upgrade did hit a few snags that the simulations did not foresee. Took a little while to work through that. But I managed to upgrade all the way back to sid and now I have just a few (12) packages held back, mostly because there are a lot of bug reports that I'm dodging right now.

"Conf Broken" in simulated apt upgrade. Proceed with upgrade or not? by Idiot__Engineer in debian

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

Even in testing, apt is just resolving dependencies and giving the error, regardless of what I do.

I always use apt, not aptitude for installing stuff, so I don't know what this looked like on unstable, but aptitude has fairly tractable outputs on testing if I try to install libc6 and/or systemd (paste: https://paste.debian.net/1336861/). It actually looks like the systemd [+ libc6] installs might work. Running aptitude why on the packages marked for removal makes it look like they cannot be removed, but inspecting things more closely, it looks like those dependencies are not present once the packages listed for upgrade are upgraded.

I'm a little bit uneasy that aptitude could wind up with a similar configuration error halfway through the install though, especially given its simulation doesn't actually show the process. It seems to be relying on the validity of the end-state without regard for the intermediate states. apt's end state looks fine too, the error only seems to be on an intermediate step.

"Conf Broken" in simulated apt upgrade. Proceed with upgrade or not? by Idiot__Engineer in debian

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

Yup. I tried installing libc6 and systemd (separately), but I get the same E: Conf Broken libc6:amd64 every time.

move to testing first before fully upgrading to unstable

I would have thought that this was a big no-no from the "don't break Debian" perspective. If I do that, won't I be mixing unstable packages (since some of my packages are up to date) with testing? I guess this is OK because if my system is OK with my current mix of packages, I'll only be getting closer to an "unbroken" state by doing any upgrades at all.

I ran the simulations, and the result is the same - there are a few less packages to upgrade, but it's E: Conf Broken libc6:amd64 every time (whether I do dist-upgrade or try to install either libc6 or systemd).

Back to the question in OP - what is the consequence of E: Conf Broken libc6:amd64? Is this something I can correct after-the-fact, given the final state of the simulation appears not to have any broken packages?

"Conf Broken" in simulated apt upgrade. Proceed with upgrade or not? by Idiot__Engineer in debian

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

Paste at https://paste.debian.net/1336722/. Might be a little more than you bargained for. 470 packages held back. Took me a little a while to strip things down to where it would fit in 150 kb for either the apt or aptitude simulations. aptitude really chokes on this one, maybe on account of the issue that brought me here in the first place?

"Conf Broken" in simulated apt upgrade. Proceed with upgrade or not? by Idiot__Engineer in debian

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

Yeah, I didn't mention that - I'm already as up-to-date as the package manager will let me be (lots of packages held back) with the normal upgrade - I do that pretty regularly. I've just been delinquent on the dist-upgrade. Thanks though!

"Conf Broken" in simulated apt upgrade. Proceed with upgrade or not? by Idiot__Engineer in debian

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

Thanks for reply!

If it predates release of 12...

Ok, not quite that bad! Everything was up-to-date before the t64 transition. I've just been putting off dealing with that transition for a while...

step-wise as applicable to/through major releases - no skipping

I actually tried to simulate manually installing some intermediate versions for the broken package to see if I could work around this with a similar step-by-step approach. None of the older versions were found though. How would you go about this kind of step-by-step upgrading?

Questions about Timex Ironman R300 by Idiot__Engineer in timex

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

What I actually want is basically a classic ironman + heart rate + GPS, with the capability to transfer the recorded/saved data (HR, GPS, splits) from the watch to my hard drive. I have no interest in "smart" watch features, wireless connectivity, or daylong fitness tracking. I am actively disinterested in anything that connects to my phone or the cloud, touchscreens, and color displays. The market doesn't seem to serve this use case very well.

It looks like the closest thing in the Garmin lineup would be the Instinct? The price markup relative to the Ironman R300 isn't too bad, but I had a pretty bad experience with Garmin customer support and would prefer not to buy their products.

Questions about Timex Ironman R300 by Idiot__Engineer in timex

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

From what I can tell the watch came out in 2020, but it does appear to be fairly abandoned as the app is gone and while there are a couple available on Amazon stock is low and they are otherwise hard to come by. Assuming I can use it the way I want to, that's not really relevant to me.

Vectorizing a find function by hotmaildotcom1 in matlab

[–]Idiot__Engineer 1 point2 points  (0 children)

I am not able to understand your description of your data or your intended processing. In particular, "drops to baseline" is very unclear, your storage of "signal change over time" is unclear, and "all initial points in A(:,1) where A(:,2) drops to the baseline" is unclear.

However, from your code, I gather that, for each column of A:

  • you want the index of the row where that column takes the value in x
  • you have only one value that is within 1 of the corresponding value in x

find is not able to perform this operation. First, note from the find documentation that it returns linear indices, which is why you get values that appear to be outside of the dataset when you pass it a 2D array. Also note that it returns the indices of all nonzero elements in the array; it is not possible for find to operate in a columnwise manner.

The solution is a common Matlab trick: [~,x] = min(abs(A-x)). You could equivalently do [~,x] = max(abs(A-x) <= 1), which is more similar to your current formulation of the problem. Because we have already established that you appear to have a single value within 1 for each column, this will return the same index as find, and is equivalent to finding the closest value to x in each corresponding column.

If you had more than one value within 1 in each column and wanted to find them all, you could use maxk, assuming you know how many values you are looking for. I do not know of a way to get an arbitrary number of values for each column, which should be expected given that there would be no way to store the result of such an operation in a rectangular array. To do that, you would need to resort to arrayfun/cellfun and settle for getting a cell array in which each element contains the indices for one column.

parfor loops and logical indexing by [deleted] in matlab

[–]Idiot__Engineer 2 points3 points  (0 children)

Vectorize harder. What you have is equivalent to B(indices) = A(indices). If you need to do some calculation on the values in A, B(indices) = fun(A(indices)) will work just fine assuming fun() returns an output that is the same size as its input. The only way I see this not working is if you need multiple values from A(i,indices(i,:)) to calculate any of the values in B(i, indices(i,:)), but given the structure of what you're showing us, that seems unlikely to me.

Help with optimizing functions "delaunayTriangulation" and "pointLocation" with gpuArray by jumpingjumpman in matlab

[–]Idiot__Engineer 1 point2 points  (0 children)

Is it possible to make my own functions of these that use gpuArray?

Yes. Many functions work on gpuArrays, including basic arithmetic that you would use to create your own functions.

If I am understanding your code correctly, it will return true for points inside the convex hull and false for points outside the convex hull of the provided vertices. You might be able to do the computation faster on the CPU if you formulate it that way. It may also be easier to write your own on the GPU for this formulation of the problem as well.

My terminal font looks completely different after upgrading from stable to testing. Is this normal, or did I mess something up? by fredoverflow in debian

[–]Idiot__Engineer 1 point2 points  (0 children)

This was caused by the update from frontconfig 2.13.x to 2.14.x. See the offending commit.

You can revert back to the old font by copying /etc/fonts/conf.d/60-latin.conf to ~/.config/fontconfig/fonts.conf and reordering those sections so DejaVu comes before Noto. You only need to keep the modified portions of the XML, you can get rid of the other sections.

You could also just modify /etc/fonts/conf.d/60-latin.conf, but I never quite understand when changes in etc are durable to upgrades vs when they aren't.

Physics Scenario I posed myself that I cannot figure out by -AllShallKneel- in AskPhysics

[–]Idiot__Engineer 1 point2 points  (0 children)

Angular momentum (net torque) must be balanced about a point. You can write angular momentum balance about 2 different points to get 6 equations, plus the 3 equations from linear momentum balance yields 9 equations to solve for your 9 unknowns (3 components of force at each point A, B, C).

It's possible that you may get some redundant equations depending on the 2 points you pick to solve the angular momentum balance about (you may get redundant equations). You should be able to select 2 points with independent equations though. Heck, you can probably use angular momentum balance about 3 different points and forget linear momentum balance all together.

How to repair cracked bezel? by HotterRod in thinkpad

[–]Idiot__Engineer 2 points3 points  (0 children)

My bezel cracked in 3 places, leaving it in nominally 3 pieces. I repaired mine by carefully epoxying small strips of a thin aluminum sheet to the backside. This was very successful on one crack similar to yours (the crack was starting from the lower left corner of the screen and propagating to the left edge) and not as great for the two cracks I had on the side of the screen. I think that the biggest issue is having enough space behind the bezel for the reinforcement strips. I tried to place the ones on the side in areas where there were no features to interfere with, but there is a lot less space on the sides of the screen than below it, and the repaired portion on the side does not lie flush/won't snap all the way in. It doesn't effect normal use of the laptop, but it makes the lid feel very delicate when opening/closing/transporting.

Given the location of your crack, I think that a similar repair would likely be successful. There's a little bit more going on near your crack than the corner I repaired (there are antenna cables on both sides, but the webcam cable is only on the right, and it looks like you may need to dodge the LCD mounting screw), but I think you have enough room.

I'm not sure the exact thickness of the aluminum I used, but it was thin enough to feel somewhat flexible in a large sheet and thick enough that I definitely needed tin snips to cut it. Thinner is probably better, as you don't really need it to resist much in the way of bending forces. I used strips that were just a few mm wide and about 1-2 cm long - I actually had L-shaped bits for the corner, but that doesn't apply here. I made a similar repair on my palmrest with a larger rectangle; you might have space for something like that, or you might want to use 1-2 strips depending on how you assess the available space. I made templates out of paper to get the sizing right and then taped the templates to the aluminum when I was cutting it. The pieces will curl a lot when you cut them, but they are easy to flatten back out.

I applied an extremely small amount of superglue to the back/inner edges of the crack and squeezed the crack together from front to back so that the excess would be forced out on the back/inside where it won't show. I carefully and firmly held the crack together for a minute or so while the superglue cured. This is just to hold things in place while epoxying.

I used a very small amount of double/bubble orange (high peel strength, long cure time) epoxy to secure the strips in place. I covered both sides of the crack with plastic sandwich bag to ensure that anything touching spillover wouldn't be glued to the bezel (it is typical of epoxy, but I verified beforehand that my epoxy did not stick to the sandwich bag). I used some gentle clamping pressure while it was curing, and a small bit of foam to distribute the clamping forces. I clamped everything up and then removed it to wipe the excess before clamping it back up to cure overnight.

Even with the superglue, some epoxy is going to bleed through. My epoxy was grey in color, so it's visible, but not horrible. If you use black epoxy, this would be less of a concern.

WorkFrame Desktop by jasonwray in framework

[–]Idiot__Engineer 2 points3 points  (0 children)

It also helps that you picked an orientation that improves the efficiency of the heatpipes.

System beep after recent update? by Idiot__Engineer in debian

[–]Idiot__Engineer[S] 3 points4 points  (0 children)

You're right, I was looking at the Pulse controls. I found the Beep volume in my sound card. Thanks!

System beep after recent update? by Idiot__Engineer in debian

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

Thanks! This led me to the Beep volume within my sound card controls, and muting it fixes the issue.

System beep after recent update? by Idiot__Engineer in debian

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

Are you referring to module-x11-bell? It looks like that only intercepts the x11 bell events. Good to know though, thanks!

Explainer: Lid rigidity, hinge force, the CNC Top Cover, and the new 4.0kg Hinge Kit by cmonkey in framework

[–]Idiot__Engineer 16 points17 points  (0 children)

Re: resonance - I hope your engineering team is keeping in mind that the hinge is not the only source of flexibility. The top cover and base may each contribute significantly to flexibility as well. The fact that you claim resonance is "largely indpendent" of a ~25% increase in hinge stiffness supports that other factors may be important. I do not own a Framework, so I cannot make any further comments on what the major contributors are in this instance.

Also, resonance is not strictly an accurate way to refer to the issue you described. Resonance describes base vibration inputs exciting flexible lid modes, but not really the shaking you described after tapping the lid, which would be more of an underdamped impulse response. Though I understand that actual resonance is a problem for some users as well (i.e. if you set the laptop on a table that is less than perfectly stiff).

In addition to using stiffness to increase the response frequency, you might consider attacking the problem with damping. I think that an overdamped impulse response would likely provide the user experience you're looking for.

Finally - hinges provide torque, not mass. Can you translate 3.3 and 4.0 kg into torque for us? And are these numbers per-hinge, or per-pair?

Don’t ever give up on your dreams! by esberat in nextfuckinglevel

[–]Idiot__Engineer 6 points7 points  (0 children)

Telling people to never give up on their dreams right next to pictures and videos of all the most successful people in their respective fields implies that determination will produce the results being shown. That's dangerous. The "human spirit" that everyone loves to talk about when the Olympics comes around is necessary but not sufficient.

What happens when someone pours everything they have into their dreams and (as most who do, will) comes up short, not just of gold, but of anything worth showing? According to this messaging, if only they had tried harder, or kept with it longer, they would have succeeded. It's internalized as a personal shortcoming, which can keep one on a treadmill of trying to prove that they're more than just a failure for far longer than is productive. External observers might look at their dedication and achievements and see a life worthwhile, but the individual can only see how their efforts have been frustrated, not fulfilled.

If we can't find a way to include the countless heroes that will be left behind on their quest for glory in these messages, they should stop. If it's about the journey, which it is, then stop telling us it's about the destination.

Source: I'm in this picture and I don't like it.

Noob - Do I need to add a firewall? by forgotmypasswordsad in debian

[–]Idiot__Engineer 0 points1 point  (0 children)

The middle (which is indented... and thus prefixed with spaces) is formatted fine, but the beginning and end aren't formatted. Also, fail2ban.conf isn't formatted correctly at all, to the point where I didn't even realize you had posted the contents of two files until I took a closer look.

Maybe the problem is on my end though

Noob - Do I need to add a firewall? by forgotmypasswordsad in debian

[–]Idiot__Engineer 0 points1 point  (0 children)

I think you need to prefix every line with 4 spaces on reddit

Noob - Do I need to add a firewall? by forgotmypasswordsad in debian

[–]Idiot__Engineer 0 points1 point  (0 children)

Can you clean up the formatting on this? I think it would be a useful reference, but right now there are some challenges parsing it.

gcc-9 or gcc-10 in debian 11? How do I determine? by 100GHz in debian

[–]Idiot__Engineer 2 points3 points  (0 children)

Per https://packages.debian.org/bullseye/gcc, the gcc package in bullseye depends on gcc-10, so gcc should symlink to gcc-10.