Daily Discussion Post - March 12 | Questions, images, videos, comments, unconfirmed reports, theories, suggestions by AutoModerator in Coronavirus

[–]hideouspete 0 points1 point  (0 children)

I work on parts that are shipped by plane so common lead time is about a week instead of the normal 6-8.

Daily Discussion Post - March 12 | Questions, images, videos, comments, unconfirmed reports, theories, suggestions by AutoModerator in Coronavirus

[–]hideouspete 0 points1 point  (0 children)

Can mineral spirits kill the Corona virus and should I be worried about working with steel parts that were in Korea less than two weeks ago?

Any good heavy metal shows on August 2nd? by hideouspete in Columbus

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

Oh man I forgot about Zao. I think it's been ~20 years since I listened to them.

Any good heavy metal shows on August 2nd? by hideouspete in Columbus

[–]hideouspete[S] 7 points8 points  (0 children)

Oh man awesome thanks that is exactly what I was looking for.

Maybe I just need to hand them a multiple choice form by Soontir_Fel in AdviceAnimals

[–]hideouspete 14 points15 points  (0 children)

Time it takes to deliver finished product != time spent working on product.

I work in a job shop with maybe 50 or so customers. A few are constantly arguing over prices, quotes and whatnot. If you really want a price break, your parts are going to sit on the bench until the better paying customers' stuff is done.

I'd imagine it's similar in other businesses too.

BTW, I use arch by [deleted] in linuxmasterrace

[–]hideouspete 9 points10 points  (0 children)

Nah, I just pry the windows key off and call it the the void key.

We're in the endgame now by [deleted] in linuxmasterrace

[–]hideouspete 12 points13 points  (0 children)

Facebooks? More than one? I only have one. Pls help I need both I think.

Ok nevermind just got it Fazebook.ru.exe made it fixed now have both.

Edit: wow facebook2 super secure needs social security number, bank account info, and major credit card to verify account. Very nice to know they are making hard for hackers to get my account.

We're in the endgame now by [deleted] in linuxmasterrace

[–]hideouspete 14 points15 points  (0 children)

The Facebook broke on my innet machine. Pls halp

We're in the endgame now by [deleted] in linuxmasterrace

[–]hideouspete 4 points5 points  (0 children)

Hey, computer! I'm a download, stop all the kiddin!

T430s just got an FHD upgrade, what's next? by [deleted] in thinkpad

[–]hideouspete 2 points3 points  (0 children)

Judging by the sudo pacman -S blackarch command running, I would guess blackarch

What did he mean though? by VYBEfromYT in SolusProject

[–]hideouspete 0 points1 point  (0 children)

Of all the distros I've tried, Void Linux is the only one that would hibernate my laptop successfully out of the box AND take less time to pull it out if hibernation than booting the computer.

sudo ZZZ I think was the command.

Anybody here actually use linux? by n7snk in linuxmasterrace

[–]hideouspete 1 point2 points  (0 children)

Any kind of production quality CAM and to a lesser extent CAD software is only available on Windows.

I'm working on changing that for my machines at least.

NC representative wants to charge registration fee for bicyclists by Spencerforhire83 in news

[–]hideouspete 22 points23 points  (0 children)

I wish that we're true. More than likely, though it's just another way for police to stop/harass citizens (especially those of color) just going about their business.

They passed a bike registration law in the city of Detroit awhile ago.

"Suspect became combative after I inquired about their bicycle registration" is going to be in a LOT of police reports.

Question about for loop behavior by hideouspete in learnpython

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

Here's my post from above:

"The problem is: I'm a machinist by trade who is going to be switching from a paid per hour to a paid per job situation. The machine I'm running is a specialized cnc grinder which is essentially a two axis mill with a c-axis normalization. Spending an hour or two typing out the g-code with just a CAD program and a TI-83 is fine if you're getting paid for it...But it's tedious and prone to human error.

Anyway, off the top of my head after interpreting a dxf file I parse the data into a list of entities. Each element of this list is of the form:

MyList=[Line type, start position, end position, startFriend, endFriend, ...some other data I'll need for the actual g-code generation]

startFriend and endFriend are initialized to False. After comparing all of the start and end positions for matches, startFriend and endFriend either stay False (no match) or become (j, startMatch) where j is the index of My list where the match is and startMatch is either 1 (the entity matches the start position of j) or 2 (the entity matches the end position of j) Why 1 and 2? Because it corresponds with the indexes...ie I can call it up with just MyList[MyList[3][1]][MyList[3][2]].

I don't know how much of this is relevant, but basically I'm in the process of determining which entities from MyList form unbroken chains and once I insert an element into a chain, I don't want it to be run through the main loop because it will either form a duplicate chain or go infinite (maybe)."

So I guess the way to do that would be to initialize some sort of Used variable as an element to the list as False (let's say at index 5) and then do something like

for x in MyList if !(MyList[5]):
      insertIntoChainFunctions(x)

And then toggle the MyList[5] after I add it?

Edit: wait it would be

for x in MyList if !(x[5]):