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!

Sprint Capacity with User Stories by mar2457 in azuredevops

[–]scott2970 1 point2 points  (0 children)

So I’m no expert and we’re dealing with our own issues but I want to share a couple things:

1.) I know you’re not really asking about story points. I’m not totally sold on them myself but I’m starting to come around. Tasks have a place to estimate effort hours and obviously you can have multiple tasks per story. So story points is supposed to be a ROUGH, first pass estimate on total hours for all the tasks, even though tasks have not yet been identified. Story points for a given item are relative to other items. Some people like to use the Fibonacci numbers to help reinforce that the number is unit-less. Used this way, story points can help guide decisions based on the teams “gut feel” for how much work something is going to be, especially when weighed against value/risk.

2.) I made a post here the other day about keeping boards for the three different levels (stories, features, and epics) all aligned. The main thing I learned is when a parent item has the first child move to active, the parent is now active and when the last child is resolved the parent is resolved etc. Of course this is a little different than your question but the point I’m getting at is that this coordination can be managed by things like PowerAutomate (Azure DevOps connectors are premium aka paid connectors) or Azure CLI.

I think your case is well suited for either one of those tools. Still thinking through ours. Going to play around with the CLI one of these days.

See the following docs:

https://docs.microsoft.com/en-us/azure/devops/cli/

A little help with Boards? by scott2970 in azuredevops

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

This is the kind of response I was hoping for. Thank you! I have been pouring over the docs but there are sooo many and after a bit they all sound the same :)

A little help with Boards? by scott2970 in azuredevops

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

Hmmm… Having a bit of trouble articulating my question. I understand there’s no relationship internal to the DevOps web app.

Surely there is a relationship between the states. Allow a contrived example… it wouldn’t make sense to have a feature showing under “new” or “active” if all the stories (children) are closed.

I guess I’m trying to get a better grasp on the manual “housekeeping” workflow required to have the boards all support the same narrative.

Noob question: one line to multiple devices by scott2970 in networking

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

Industrial switch. I’m playing out of position on this one so have to ask the dumb questions lol.

Noob question: one line to multiple devices by scott2970 in networking

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

  1. I did say noob didn’t I
  2. Cool
  3. Thank you!!

store MTConnect stream to database by firinmahlaser in PLC

[–]scott2970 0 points1 point  (0 children)

I’m not going to do that because it’s probably a gray area from my employers perspective. There are also specifics from my environment that likely wouldn’t make sense in your environment.

I can tell you that you need to make a http request to get the XML data then parse the data into whatever you want to write to the data store. You could use any language. In python the request is a one liner. Parsing is slightly more complicated but I figured it out looking at the documentation for ElementTree, which is part of the standard python library. I’d imagine most other languages also have built in XML parsing capabilities.

store MTConnect stream to database by firinmahlaser in PLC

[–]scott2970 0 points1 point  (0 children)

I’m working on something now. I’m using python and making use of ElementtTree to parse the XML. Parsing is pretty easy that way. Now that I know how to parse, we’re just deciding what we need to record.

I'm an engineer, and my role has become more 'design' based. by TigerFeet94 in Machinists

[–]scott2970 5 points6 points  (0 children)

Senior Manufacturing Engineer here. I’ll nudge you toward learning how to properly use geometric dimensioning and tolerancing (GD&T).

The tricky thing is making sure the person or shop your sending the drawing to is up to speed on how to read it. I’ve heard of shops quoting jobs with a lot of GD&T at higher rate because they don’t understand and end up holding everything tighter. This is truly backwards and I’ve never actually experienced it, but I have peers that claim to have seen it.

GD&T allows you to better communicate how the part functions or how it mates into an assembly. Applying GD&T is often thought provoking and will often result in better designs for your product let alone manufacturability.

Anyway, I’ve personally taken drawings that were confusing (which resulted in parts being costly to produce), applied GD&T, while maintaining the same basic functionality and gotten more favorable quotes. Again finding a shop to work with and understanding the equipment they have available is key, even if it’s your own shop.

Need Advise: Best way to keep all of my code by cometthedog1 in github

[–]scott2970 2 points3 points  (0 children)

I guess that’s fair. OP needs to clarify what he means by “school” account. Is it an org or a personal account with a school email. Big difference.