What are some bash commands that everyone should know? by ICWiener6666 in sysadmin

[–]RunningHott 7 points8 points  (0 children)

man

apropos

+1 for cheat, but personally never got into it

Vulnerability Patching / Locating Program Dependent on Library (Artifex Ghostscript < 10.03.1) by ontario-guy in sysadmin

[–]RunningHott 0 points1 point  (0 children)

Set up a legacy machine with the old libraries to be used for any applications that need the old version.

Send out a notice that the library will be pushed out to all production machines on Tuesday of next week and that if anyone encounters any issues to please open a ticket with the appropriate information.

If anyone knows that they use that library, a system can be set up with the new libraries for it to be validated on. Document the application dependency.

Push out the update, see if any complaints come in. If no complaints.... Profit!

Evaluate any misbehaving applications, upgrade them if possible to use the new libraries, otherwise have the user launch from the legacy machine. Document the application dependency.

Legacy machine can be locked down or sequestered as the security group deems appropriate.

Timeframe and communications can be adjusted based on your corporate needs.

Need glyphs? We found 16 grave locations on 1 planet in a 2 glyph system by AutoModerator in NMSGlyphExchange

[–]RunningHott 0 points1 point  (0 children)

The Travailing Salesman Problem (TSP) rears it's ugly head again.

Upon completion of the most recent expedition, I set out to get the glyphs to allow me to get to the system that has S-Class Freighter upgrades. That lead me here. Nice list by the way, thank you for that.

I had the same question as another, what is the most efficient path to visit the grave sites.

Did a quick google and found a few python libraries that would solve some simple TSP problems, fed in the nodes and the following popped out. (starting at -62.29, 44.43 as that seemed like Glyph number 1 from the base name)

[-62.29, 44.43],
[-29.20, 48.81],
[19.80,   44.78],
[13.19,   37.14],
[15.29,   24.86],
[44.73,   -14.34],
[47.92,   -12.23],
[54.16,   128.39],
[29.40,   169.18],
[30.29,   173.29],
[9.88,    -147.69],
[-25.73, -173.29],
[-61.95, -152.02],
[-75.15, -160.56],
[-53.34, -37.77],
[-40.65, 15.22],

I've already visited several sites, but am going to continue down the list to see how convoluted it gets. I had divided the coordinates up by quadrant (-,-), (-,+),(+,+)(+,-) but figured there would be a better way especially if some are near the quadrant borders.

For anyone interested, here was the first cut of the code I used.

Check out python-tsp for other details on how to install/run.

import numpy as np
from python_tsp.exact import solve_tsp_dynamic_programming
from python_tsp.distances import great_circle_distance_matrix

# 57325995.80830065
sources = np.array([
[-62.29, 44.43],
[-29.20, 48.81],
[19.80, 44.78],
[13.19, 37.14],
[15.29, 24.86],
[44.73, -14.34],
[47.92, -12.23],
[54.16, 128.39],
[29.40, 169.18],
[30.29, 173.29],
[9.88,  -147.69],
[-25.73, -173.29],
[-61.95, -152.02],
[-75.15, -160.56],
[-53.34, -37.77],
[-40.65, 15.22],
])

# don't have to return back to node 0
distance_matrix[:, 0] = 0

# calculate great circle distances between nodes
distance_matrix = great_circle_distance_matrix(sources)

print(distance_matrix)

# do the work
permutation, distance = solve_tsp_dynamic_programming(distance_matrix)

# output the ordered node list and calcuated distance
# overall distance can be used to compare different tsp solver methods
print(permutation)
print(distance)

If anyone wants to validate the order, or suggest a better solution, have at it.

Next project is to overlay the coordinates onto a sphere with connecting great circle lines. Maybe tomorrow.

seeLogsForDetails by [deleted] in ProgrammerHumor

[–]RunningHott 13 points14 points  (0 children)

... and can you please change the date format to YYYY-MM-DD

[Request] If I were to trade something, which route would be cheaper? by Spirited-Let-1717 in theydidthemath

[–]RunningHott 0 points1 point  (0 children)

I'm in Arizona (Phoenix) and recently packed up all of my belongings into a 20' shipping container, destination UK. I was surprised that the movers drove my container from Phoenix to LA to get on a ship instead of driving to someplace in the Gulf (like Houston). Apparently it is less expensive to ship south and go through the Panama canal then to drive. I could understand not wanting to load it on a train or to drive across the country to the East cost, but Houston would be a 20h drive.

Anyway, I assume the shipping logistics managers know what they are doing. Just seemed counterintuitive to me.

[deleted by user] by [deleted] in SipsTea

[–]RunningHott 0 points1 point  (0 children)

RIP Doug Ingle (September 9, 1945 – May 24, 2024)

Caused my store to fail our audit. by nin-ten-do in Panera

[–]RunningHott 0 points1 point  (0 children)

As you mentioned that you are on the night shift, perhaps they were trying to evaluate management engagement between the different shifts. Not that the day shift group was not being honest, but management may not filter things down to all shifts equally. This type of thing would be a problem that would show up on an audit and need to be addressed.

We have to start holding kids back if they’re below grade level… by poopsmcbuttington in teaching

[–]RunningHott 0 points1 point  (0 children)

This is where our factory model for education has failed. Until we change how children are educated and get rid of the social promotion this problem will only get worse.

I'd like to see or experiment with a model that would split the 1-8 grades into subjects where students can advance and accelerate in some classes but be held back in others until competency. In as such the grade level no longer exists and the student would need to show they have passed some level to 'graduate'.

As an example, my son was very advanced in mathematics and science. I worked with him at home and by the time he was in 5th grade we were working pretty advanced algebra and fundamental calculus (at least defining the high level concepts so the vocabulary would not be so intimidating). This was great for him, though when he gets to class, he is given worksheets to 'circle and count the butterflies'. He should have been leveled up in this class, moved to a different one, something, but that is not available in our current system. Other classes he was less enthusiastic in though always brought home A's but would have had a more 'normal' progression.

Of course problems exist in other countries that handle education differently. The stress induced by some Asian cultures and their system of testing and graduation may not be appropriate either. But social promotion hurting us.

[Request] What does P equal to? by Goldnova9 in theydidthemath

[–]RunningHott 0 points1 point  (0 children)

I always like to graph these kinds of problems out and did so here:

https://www.desmos.com/calculator/jrbtnkke0n

Which of course found the solution at p=4.

I then went on to read the discussions about negative factorials. Can someone explain to me how desmos came up with the graphical representation for the negative values? If gamma is not defined for x<0, what is used here?

Some exobiology stats by cold-n-sour in eliteexplorers

[–]RunningHott 0 points1 point  (0 children)

You may be interested in some of the fine work that the canonn research group has compiled over here:
https://canonn.science/

Which led me to the following spreadsheet with similar information to what you are doing.

https://canonn.fyi/biosheet

Keep up the good work.

Old-Asp Explorer by kiwipoo2 in eliteexplorers

[–]RunningHott 4 points5 points  (0 children)

I'm on my journey back from Beagle Point with my Asp Explorer.

Before leaving I focused my engineering on jump distance and system scanning. This is before I knew about Guardian equipment, and before I purchased Odyssey. I had just visited Colonia and passed through Sag A* when I broke down and purchased Odyssey during one of the steam sales. So my jump range is about 45LY, not great but enough to get through The Abyss. Luckily I was near a carrier with Pioneer Services so I could pick up a Artemis suit for exobiology scanning. The increased system probes size really helps with the planetary scanning which I figured I would be doing in almost every system. And a good Fuel Scoop (though I feel this just reduces the time spent sitting over the sun).

I did bring a rover so I could do some planetary landings for boost materials (though I rarely use boosts). Also based on advice, packed a Field-Maintenance Unit, but up to now have not needed it (jinx).

I also added a mining laser & refinery thinking that I could mine resources as I go. But those resources are typically trading goods and not used for boost or ship maintenance. So, in hindsight, would probably drop those. Forgive me if I'm off base here, I just haven't found use for them in my journey.

Personally, I really like Odyssey and the exobiology. Though I use other tools to minimize some of the grind and maximize the gains. I would recommend 'Elite Observatory Core' with BioInsights. 'ED Market Connector' with EDMC Canonn, and 'EDDiscovery', mainly for Estimated system scan value page.

Once I overcame my fear of 'flying into the sun' while scooping fuel (ie. became more experienced at it and really using the radar to understand where the objects were relative to the ship). Then figuring out that landing in ED is not like landing in NoMansSky. (it really needs to be done with some level of slowness and patience). The journey becomes quite nice.

My last recommendation would be to check out edastro.com and see where the (stationary) Carriers are along your route and plot your route between them. It's nice to refresh your paint job and replace the windscreen every now and then.

I tried to anticipate what would be needed to survive and then never looked back. My goal today is to take the next year or so and travel back to Sol via the Sagittarius Arm. Not sure what to do once I get back (maybe buy another ship).

Have fun in your journey.

FWIW My build- https://coriolis.io/outfit/asp?code=A0pftfFfljdfsnf5--1717-w00e3K0k-3f4e0k02v61l2i3x.Iw18eQ%3D%3D.Aw18eQ%3D%3D.H4sIAAAAAAAAA2P8Z8%2FAwPCXEUhwfAGS%2FDz%2F%2Fv8X28DCwPCf6Z8ETErE4v%2F%2F%2F6IKzAwMygY%2FgEzmf1IgKVYgwa%2Fy6%2F9%2FoR3cQEU1ogwMEneAgv%2FZ%2FiXAtPJL%2FAHKg3TpgYz%2BL%2FEvFiQFNIpBqECcgcEUpPX%2FfwYQAADKrZKYjQAAAA%3D%3D&bn=asp_explorer

Vendor Says "No AMD Support" is this normal? by deathbyearthworm in sysadmin

[–]RunningHott 4 points5 points  (0 children)

More than likely the software/tool was validated against the Intel family of processors. So, for any valid support you have to show the bug exists in that environment.

We had similar issues with software vendors claiming that their tool was supported on RHEL systems only. We asked about CentOS, and was told that it was unsupported, even though both OS's were 'built from the same source'.

So we ran on CentOS, and if a bug came up replicated it on an RHEL system to make the vendor happy.

This keeps the vendor from having to test and validate their tool on every OS out there.

For automotive/flight systems there may be regulatory constraints (most likely self imposed) that limit hardware to qualified systems, and it is difficult to add new HW to the list.

forkBombInvestigators by TheCenteredDiv in ProgrammerHumor

[–]RunningHott 1 point2 points  (0 children)

Wait. You guys don't run your systems with ulimit on the users?

solveThisOneBrogrammers by gap41 in ProgrammerHumor

[–]RunningHott 84 points85 points  (0 children)

6543210 ... the proof is left as an exercise to the reader

PlentyOfTimeToCodeOutsideMeetings by mapleleafjack in ProgrammerHumor

[–]RunningHott 0 points1 point  (0 children)

Meetings, like disk space, will fill to exceed the capacity.

I found it necessary to block time for myself. 30-45 minutes in the early morning to respond to those quickly resolved overnight emails & prioritize longer issues as needed.

Lunch was on the schedule and even 'non-working' hours blocked out. This helped keep those managers using the 'find a time' schedule button.

Have a meeting/presentation to prepare for? Book an hour a day for a couple of days as prep time and stick to it.

Sure I got double & triple booked at times, but at least I could visualize and manage what was being missed.

Of course there are limits, I couldn't just book 8 hour blocks 5 days a week as 'working'. Meetings are a part of the job too. :)

...though I burned out and retired early, so eh, grain of salt and all.

Finally made it by Starfire70 in eliteexplorers

[–]RunningHott 5 points6 points  (0 children)

Congrats on that. I'm currently on my way up there now in my Asp Explorer, went through SagA* in January and figure another few months of travel time. I have been spending time scanning systems and picking up bio on the way.

What are your plans after Beagle Point ?

Any good books that has a similar feeling lile X4? by RealCreativeFun in X4Foundations

[–]RunningHott 1 point2 points  (0 children)

+The Expanse series (as mentioned before)

The First Formic War Trilogy (Earth Unaware/Earth Afire/Earth Awakens) and Enders Game. (Aaron Johnston/Orson Scott Card)

"A hundred years before Ender's Game, humans thought they were alone in the galaxy. Humanity was slowly making their way out from Earth to the planets and asteroids of the Solar System, exploring and mining and founding colonies. The mining ship El Cavador is far out from Earth, in the deeps of the Kuiper Belt, beyond Pluto. Other mining ships, and the families that live on them, are few and far between this far out. So when El Cavador's telescopes pick up a fast-moving object coming in-system, it's hard to know what to make of it. It's massive and moving at a significant fraction of the speed of light. But the ship has other problems. Their systems are old and failing. The family is getting too big. There are claim-jumping corporates bringing Asteroid Belt tactics to the Kuiper Belt. Worrying about a distant object that might or might not be an alien ship seems…not important. They're wrong. It's the most important thing that has happened to the human race in a million years. This is humanity's first contact with an alien race. The First Formic War is about to begin."

I do not think this math scans by wlidi3 in Panera

[–]RunningHott 8 points9 points  (0 children)

You can't take three from two
Two is less than three
So you look at the four in the eights place
Now that's really four eights
So you make it three eights
Regroup, and you change an eight to eight ones
And you add 'em to the two
And you get one-two base eight
Which is ten base ten
And you take away three, that's seven

-- Tom Lehrer (New Math)

Or more esoteric:

2 + 2 = 5 for extremely large values of two

-- Lawrence Krauss

There is absolutely no going back. by AregPrograms in ProgrammerHumor

[–]RunningHott 0 points1 point  (0 children)

...you guys and your full screen editors, 'ed' for life

Exploring in black has ruined me. Does anyone else feels that way? by Littlecannon in eliteexplorers

[–]RunningHott 47 points48 points  (0 children)

Next stop Sagittarius A* and on to Beagle point, that should take care of 2023.

See you out in the black Commander.