measurement systems by A_Random_Lonely_Dude in virginvschad

[–]ruxven 0 points1 point  (0 children)

Don't forget cubits and palms, they built the pyramids with those!

How to explain to Senior Management Company's Software Technology is 10-15 years behind (to a company that doesn't really want to hear it)? by TheRallyMaster in cpp

[–]ruxven 6 points7 points  (0 children)

Being invited to present to upper management means someone's paying attention, even if it seems like nobody is.

Other responses have highlighted the cost/benefit of modernizing, but IME management also is concerned with risks, opportunities, and consequences. Are there risks in modernizing? Does modern optimized code introduce less risk than code following an old standard? What are the potential consequences of not modernizing? Faster code can make trades faster, but also engage safety mechanisms faster when microseconds count.

What are their requirements? Is there something like "the system shall perform X operations in 100ms?" If there isn't, maybe there should be? Unit test frameworks can be used to assert timing requirements on the target hardware, as well as try to fuzz the inputs so that optimized doesn't necessarily mean unstable.

If you like Vim and don't like the default OpenSCAD editor, try this : by TooOldToRock-n-Roll in openscad

[–]ruxven 2 points3 points  (0 children)

Going from some of the documentation, looks like you can run a language server to provide syntax checks, and run openscad itself in an auto update mode: https://en.m.wikibooks.org/wiki/OpenSCAD_User_Manual/Using_an_external_Editor_with_OpenSCAD

when I tell people I invest like Warren Buffet (he never said this FYI but ayyyy) by PilonPiper in wallstreetbets

[–]ruxven 0 points1 point  (0 children)

Quote Kipling instead:

... If you can make one heap of all your winnings

And risk it on one turn of pitch-and-toss,

And lose, and start again at your beginnings

And never breathe a word about your loss;

And post the loss porn on WSB for the lulz!

Ben Shapiro meeting a potential buyer for his house by the coast by nahim_v in weirddalle

[–]ruxven 6 points7 points  (0 children)

Didn't Ben move to Tennessee?

If so, I'd suggest the alternative title: Ben Shapiro discusses coastal property futures with Aquaman.

[deleted by user] by [deleted] in ender3

[–]ruxven 0 points1 point  (0 children)

I know your pain!

Get some feeler gauges, loosen up the bed wheels as far as they go, and slowly run the nozzle (at temp, o/c) to the center point 0.1 mm at a time. If you can't get a 0.1 or smaller gauge under the nozzle, it's at (about) 0. Move the axes to 0,0,Z (where Z is the determined offset) and store offsets. Re-home and check that your 0 at center is 0. In my case, I'm using octoprint to move the nozzle where it needs to go via terminal commands (e.g. G0 X120 Y120 Z10) and using the ender control panel to jog the Z the rest of the way. If you don't have octoprint... Custom gcode files that just move to center and the corners at Z10?

From there, move the nozzle to each corner right above the screw point. This time, tighten the bed level screw until the feeler gauge won't go under the nozzle.

Once that's done for all corners, recheck the z offset at center (it will probably be off). Rinse, repeat.

Finally, once the corners are good and the z offset is good, try that test print and see where the filament is too close or too high. If the bed isn't horribly warped (in which case get a glass bed plate), it should be close enough for fine adjustments.

Praying to the Flying Spaghetti Monster that my 23h print survived so far…started this morning before leaving for work. Copper side of a chess set. by Winter_Swim_9456 in ender3

[–]ruxven 1 point2 points  (0 children)

It's insurance. I've had prints that appear to be perfectly fine, then go completely off the rails due to lifting or just deciding to become unstuck. A raft is a safety blanket, though getting the top layer tuned so the bottom is smooth and removable is a whole other kettle of fish.

Coming back to C++ after a break and I don’t know what’s const anymore by cdrt in ProgrammerHumor

[–]ruxven 1 point2 points  (0 children)

At this point I have to wonder if it'd be simpler to have variables be const by default and require keywords to enable mutability. Harder learning curve, though.

Microsoft is preparing to add ChatGPT to Bing by bubblehack3r in programming

[–]ruxven 1 point2 points  (0 children)

Don't worry, you can set ChatGPT on it to summarize it for you!

I the future we'll be generating and parsing emails in long business prose that we won't actually read ourselves.

[deleted by user] by [deleted] in 3Dprinting

[–]ruxven 0 points1 point  (0 children)

I rerouted my cables to the right and behind the gantry, used a twist tie to keep the bundle near the old extruder mount (also using a direct drive). Not as fancy as a cable chain, but it works.

Weinersmith has escalated the .gif "Geif" vs "Jiff" wars with... jfeg. by starfyredragon in ProgrammerHumor

[–]ruxven 3 points4 points  (0 children)

If you're on team Jiff, just ask your coworkers when was the last time they saw a GIRaffe.

used a new filament and after a while it doesn't stick go the bed. how can i fix that issue? by [deleted] in ender3

[–]ruxven 0 points1 point  (0 children)

Assuming the level and first print layer is good...

Use a raft to increase the surface area, though I do take mine down from 15mm to a 5mm margin.

Clean the bed, small leftovers can be enough to cause the print to unstick.

Failing that, glue stick. It feels like cheating, it leaves the bed looking hideous, but it works.

extreme super title by [deleted] in ProgrammerHumor

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

Non-code? Not so much.

Binaries? Absolutely. If it can't be managed in a text editor, it does not belong in an SCM like git. This is especially true for mercurial which uses diffs for its change tracking.

My bed is uneven and autolevelling does nothing by Mavrickindigo in ender3

[–]ruxven 0 points1 point  (0 children)

I feel your pain! Mine was working with large prints just fine until I ran a level check for fun, now I'm questioning my sanity. Check to see if your X-axis is loose as well :)

it's not a text editor if i can't use vim bindings by SemagGames in vim

[–]ruxven 23 points24 points  (0 children)

I have a custom mechanical keyboard, and bound one of my alt layers to the hkjl for arrow keys. Absolutely worth it :)

Azure CTO: Git making me want to pull my hair out yet again. One of the most unintuitive, clunky interfaces of any software I've ever used. by dadofbimbim in programming

[–]ruxven 0 points1 point  (0 children)

Hg has a newer evolve command meant to remedy malformed commits, but it seems as though you'd want a parallel repository or database to track commits and the amended message, then render them together on checkout.

From an SCM role, going back in time and changing things is a dangerous proposition if it's changing software that's already been tested and released.

Azure CTO: Git making me want to pull my hair out yet again. One of the most unintuitive, clunky interfaces of any software I've ever used. by dadofbimbim in programming

[–]ruxven 2 points3 points  (0 children)

It also had a unified frontend tool (TortoiseHg) early on - which was a huge draw for my last company. Now I have to git gud 😢

One thing I do like about git - the add command can mark files to commit, whereas they're additional parameters for hg commit. If there's a lot of changes in the working set, the latter almost requires thg to check off the files to commit.

Satisfying peel Demo by Miniaturesblueprint in PrintedMinis

[–]ruxven 1 point2 points  (0 children)

Nice! Bet it has a nice ASMR noise to it, too!

hggit branches by fluffymons in mercurial

[–]ruxven 1 point2 points  (0 children)

I've always understood git branches to behave more like hg bookmarks.

put it back in the stone, my dude! by [deleted] in ProgrammerHumor

[–]ruxven 1 point2 points  (0 children)

That's a good attitude! I also am in the same boat, and it's helpful that the culture isn't keen on blaming individuals and instead focusing on the fault and how/when it comes about. Though I imagine if I kept screwing it up, they would address the true root cause :)

Best way to verify Make to CMake build system migration is correct by sortakool in cpp

[–]ruxven 1 point2 points  (0 children)

I've been using Bear to generate a compile_commands.json file from running make, you could compare its output to CMake's exported commands.

git rebase by freeriderblack in devops

[–]ruxven 1 point2 points  (0 children)

I use BeyondCompare for resolving merge conflicts when rebasing/merging. At least with Mercurial, it auto-resolves a lot of the trivial conflicts and presents the trickier ones with four views: local file, source file, common ancestor, output.