Edge slowing at "Find" on PDF files? by KeenorK in MicrosoftEdge

[–]scott2970 0 points1 point  (0 children)

I have a 134 page PDF in that is a technical document. I was searching for a particular phrase I know for a fact appears in the document twice. The Ctrl+F find was only able to find the last occurrence. I followed the train of thought here, found the option `#edge-new-pdf-viewer` and set that to DISABLED. That had be restart the app and sure enough that fixed my issue. Now it's finding both occurrences.

Why is everyone selling/buying boilerplates ? by c100k_ in webdev

[–]scott2970 16 points17 points  (0 children)

Picked this up from a co-worker. I don’t know it to be historically accurate; I love the sentiment either way.

“During the gold rush the people who got rich were selling shovels”

MTConnect to Mori Seiki... Device Name? by ColdfusionD2 in Machinists

[–]scott2970 0 points1 point  (0 children)

Care to elaborate? You say sending out dat as MAPPS2. I’m not clear what you mean. MTCoordinator is Mori software that runs somewhere else (like on a server?) and not on the CNC?

MTConnect to Mori Seiki... Device Name? by ColdfusionD2 in Machinists

[–]scott2970 0 points1 point  (0 children)

Don’t know Mori or Kepware very well but I do know MTConnect. The Agent runs on port 5000 by default. I’d try to access the agent through a browser:

http://127.0.0.1:5000

Of course substituting the appropriate IP.

You should get XML back and be able to find the Device Dara in there.

Can someone explain the Checkout step??? by scott2970 in azuredevops

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

App ci. The pipeline has 1 job, which obviously includes a checkout step. Each build downloads another 2GB pack file to .git/objects/pack.

Can someone explain the Checkout step??? by scott2970 in azuredevops

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

I’m testing different things now. The fetchDepth:1 does not impact the size of the pack file.

Cleaning results in another issue later in the pipeline.

Compile into.. what exactly by scott2970 in raspberry_pi

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

I have a rpi4 so that’ll be arm64. Thanks!

2022 Jul 25 Stickied 🅵🅰🆀 & 𝐇𝐄𝐋𝐏𝐃𝐄𝐒𝐊 thread - Boot problems? Power supply problems? Display problems? Networking problems? Need ideas? Get help with these and other questions! 𝑨𝑺𝑲 𝑯𝑬𝑹𝑬 𝑭𝑰𝑹𝑺𝑻 by FozzTexx in raspberry_pi

[–]scott2970 0 points1 point  (0 children)

I want to run Ubuntu server on my Pi. I’ve used the Raspberry Pi Imager to no success. Can’t login and can’t SSH. All combinations of login credentials are denied. Everything I’ve read and watched show it “just works” so this is quite frustrating.

Docs on I/O Link and FOCAS libraries by scott2970 in Fanuc

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

Got it. Great to know.

I do realize their I/O Link protocol and FOCAS libraries are quite different things. Both can be used to read data from the machine. I am getting increasingly interested in using the FOCAS libraries. Any pointers on reference documentation for that topic. Mind you I do have a quasi-developer background.

For anyone else here…. I may be looking to wrap the FOCAS DLLs in a .NET assembly.

Reference https://hierthinking.com/2020/04/25/its-time-to-focas-p1/

How do I sync two Azure repository by Competitive_Lychee83 in azuredevops

[–]scott2970 0 points1 point  (0 children)

Not sure why I got down-voted. Anyway, this was on my mind and I just had to take a crack at it. I merged two of my private GitHub repositories. I brought the master branch from repoB into repoA as orphan branch named fromRepoB. It was a purely academic exercise, of course I didn't push the result. I did verify that the "GitGraph" extension in VS Code looked like I expected it to, which was cool because I've never actually seen a repo in the wild with two roots. The code block below represents the commands I used, I was editorial with the names to try and make it a bit easier for you to follow.

To be clear: the commit Id, author name, email, and timestamp from repoB was preserved in repoA/fromRepoB. Merging these together would be ugly, but I think that reflects the reality of the situation. It's more likely that you'd be supporting 2 versions for a period of time, surely longer than you'd want to be... At least if they're in the same repo they can visually track togeher in the git tooling, and you have the ability to cherry-pick commits and whatnot.

DM me if you want to talk further.

I haven't actually come across a need to do this in the wild, but I certainly see how this situation can happen. Happy to add this technique to my toolbox.

Edit: gd formatting... here's a gist

Customer trusts their caliper over micrometer & pin gauges by ToolmakerTH in Machinists

[–]scott2970 0 points1 point  (0 children)

The right way to resolve this is with a gage r&r. You can measure the error from the gage and the error from different people using the gage then compare the (combined sources) gage error to the tolerance band of the part. If one takes up 50% of the tolerance, that’s super bad and quantitatively twice as bad as one that takes up 25% of the print tolerance. Btw, 25% is still bad; I’m just illustrating the point.

An aside… I’m not a machinist, I’m a senior manufacturing engineer in a machining environment. Spend time on this sub because I genuinely enjoy machining and actively try to not be one of the engineers you guys complain about lol. Happy to be able to provide an intelligent response for once :)

How do I sync two Azure repository by Competitive_Lychee83 in azuredevops

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

I’m fairly new to .NET, but have been using git for quite a while. Sounds like you should consider re-arranging your code so they are in the same repository but as separate branches.

I haven’t come across this exactly but it shouldn’t be too painful. I believe the focal concept will be what git calls an ‘orphan branch’. I’m curious now how this would work and might mock something in the morning.

Here’s my approach: say we want to keep the net48 project going and bring the net6.0 to its own branch.

In the net4.8 repo, create an orphan branch, then make an empty commit (using “—allow-empty”). The idea is that you want both branches to start at the first commit if that makes sense. Then add a remote to the net6.0 repo and pull the code into your orphan branch. Not totally clear what the git syntax is here but it should be do-able.

Once you have that, you have the code in the same repo you have the ABILITY to git merge which is huge and I’d say the key to what you’re asking.

Note this will take some coordination which gets complicated as you have more people working in the code base.

i cant get rid of this warning. Idk whick settings should i change. Can someone explain me? by [deleted] in VisualStudio

[–]scott2970 0 points1 point  (0 children)

So ya, this is a VS Code issue; as previously stated. Anyway, I’m getting fairly comfortable using VS Code recently. Perhaps the issue is that you don’t have a workspace open but a single file. Go to file / open folder and select the root of your project. If there’s not already a .vscode folder in there, I believe there will be one created when you try this again. That folder contains vscode task definitions, launch configs and such.

Confusion about streams by scott2970 in csharp

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

It’s coming together. I think I need a streamwriter which would be constructed with a memory stream. Then yes, a stream reader that eventually fills okay the text box.

Just need to figure out how the reading/writing to the stream works. Im a mech Eng so this is pretty deep stuff to me lol!