ChatGPT: how Google dies

Started by beej, December 07, 2022, 08:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Shazam/TPP

Doug ask about the 2020 elections and applying Benford's Law. should be an interesting response
Funny Funny x 1 View List
:sofa:  :cheers:

YoDoug

Quote from: Shazam/TPP on February 21, 2023, 12:26 PMDoug ask about the 2020 elections and applying Benford's Law. should be an interesting response

question from me;

what does Benford's law say when applied to the 2020 US presidential election

Answer;

Benford's law is a statistical phenomenon that describes the expected distribution of leading digits in numerical data sets. According to Benford's law, the frequency of occurrence of the leading digit 1 is expected to be higher than the frequency of occurrence of the leading digit 2, which in turn is expected to be higher than the frequency of occurrence of the leading digit 3, and so on. This pattern holds across a wide range of numerical data sets, including financial and population data.

When Benford's law is applied to election results, it has been used to identify potential irregularities or anomalies that might indicate election fraud. Specifically, if the leading digits of vote counts do not conform to the expected distribution predicted by Benford's law, this might suggest that the numbers have been manipulated or fabricated.

Some people have suggested that Benford's law analysis of the 2020 US presidential election results indicates possible fraud, particularly in certain swing states. However, it is important to note that Benford's law is not a foolproof test for election fraud, and deviations from the expected distribution can also occur due to other factors, such as data errors or irregularities in the way that data is collected or reported.

Furthermore, several studies have looked at the 2020 US presidential election results and found that the deviations from Benford's law were generally within the range of what would be expected by chance. Thus, while Benford's law can be a useful tool for identifying potential irregularities in numerical data sets, it is important to interpret the results with caution and to consider other factors that might be contributing to any observed deviations.
Shock Shock x 1 View List
"In all my years here and on the old forum I have heard, and likely said, some pretty unhinged stuff. But congrats, you're the new leader in clubhouse."  - ghuns, 6/06/2025

YoDoug

I asked it if it was familiar with Okuma CNC control language, it said yes. I then asked it to;

Can you write a macro for the Okuma OSP mill control that will face mill a 20" by 10" surface with three vertical step of .1" using a 2" diameter tool with a 40% radial stepover

This is what it cam back with;

#100 = 20.0  (X-axis travel distance)
#101 = 10.0  (Y-axis travel distance)
#102 = 0.1  (Vertical stepover distance)
#103 = 2.0  (Tool diameter)
#104 = 0.4  (Radial stepover percentage)
#105 = 0.0  (Current X position)
#106 = 0.0  (Current Y position)

G00 G90 G54 X0.0 Y0.0  (Rapid to home position)

N10 G00 X#100 Y#101  (Rapid to starting position)

N20 G43 Z#102 H01 D01  (Start spindle and lower tool to first stepover)

N30 G01 Z0.0 F50.0  (Move to zero position at feed rate of 50 in/min)

N40 G01 X#100 Y#101 F50.0  (Face mill in X-axis direction at feed rate of 50 in/min)

N50 G01 Z-#102 F50.0  (Move to next stepover at feed rate of 50 in/min)

N60 G01 X0.0 Y#101 F50.0  (Face mill in negative X-axis direction at feed rate of 50 in/min)

N70 G01 Z-#102 F50.0  (Move to next stepover at feed rate of 50 in/min)

N80 G01 X#100 Y#101 F50.0  (Face mill in positive X-axis direction at feed rate of 50 in/min)

N90 G00 Z#102  (Rapid to clearance height)

N100 M05  (Stop spindle)

N110 M30  (End of program)

Note; that is not Okuma macro, it is Fanuc code. Therefore I deem ChatGPT total Sh!t. Also, that code would not do what I aksed it. I guess our jobs are safe for a little while. Don't worry, I won't tell it that it is wrong. ;)
Thank  You Thank You x 1 View List
"In all my years here and on the old forum I have heard, and likely said, some pretty unhinged stuff. But congrats, you're the new leader in clubhouse."  - ghuns, 6/06/2025

YoDoug

I guess it's not wrong about everything, I asked;

what human diet has the most evidence to support the longest life with least chronic illness

Answer;

The human diet that has the most evidence to support the longest life with the least chronic illness is the whole-foods, plant-based diet. This diet is centered around whole, unprocessed plant foods such as fruits, vegetables, whole grains, legumes, nuts, and seeds.

Numerous studies have shown that this type of diet can reduce the risk of chronic diseases such as heart disease, diabetes, and some types of cancer. For example, a large prospective study published in JAMA Internal Medicine found that people who followed a plant-based diet had a 20% lower risk of developing cardiovascular disease compared to those who ate a diet rich in animal products.

Another study published in the Journal of Geriatric Cardiology found that a whole-foods, plant-based diet can improve longevity and reduce the risk of chronic diseases in older adults.

In addition to the health benefits, a whole-foods, plant-based diet is also more environmentally sustainable and ethical, as it reduces the impact of animal agriculture on the planet and reduces the suffering of animals.

It's worth noting that some people may need to supplement certain nutrients on a plant-based diet, such as vitamin B12 and omega-3 fatty acids. It's important to work with a healthcare professional to ensure that all nutrient needs are being met.
Sad Sad x 1 View List
"In all my years here and on the old forum I have heard, and likely said, some pretty unhinged stuff. But congrats, you're the new leader in clubhouse."  - ghuns, 6/06/2025

YoDoug

Quote from: Newbeeeeâ„¢ on February 21, 2023, 01:59 PMGlad.to see it not recommending Gatseys worms and crickets to eat....!

Did you ask it the sources it gets its large volumes of data from?

If you ask it for sources related to a specific question you asked it, it will give you a bunch of sources to support it's answer. If you ask it a more general sourcing question it goes into some wishy washy language about how it interoperates data differently than humans so therefore it won't be biased. It also claims it doesn't get info from the internet.
Like Like x 1 View List
"In all my years here and on the old forum I have heard, and likely said, some pretty unhinged stuff. But congrats, you're the new leader in clubhouse."  - ghuns, 6/06/2025

YoDoug

So the other day I thought how can chatGPT be useful for machinists and set up people. I fed it a CNC program. I asked it to build a table of all tool numbers, spindle speed, and feed rates. It didn't get one single one correct. I told it that it was wrong and gave it specifics, I told it the machine uses a G111 tool change command and to find all T numbers after a G111 command. It was still wrong, it made up tool numbers that were not even in the program. Then I asked it to find every line with the text "G111" and print that line to a list, it then said it couldn't find and G111. Not a very good showing in my opinion. However, what is odd is that if you ask it for C# code to parse a program and look for those strings of text, then write them to a file, it gets that code correct.
Like Like x 1 View List
"In all my years here and on the old forum I have heard, and likely said, some pretty unhinged stuff. But congrats, you're the new leader in clubhouse."  - ghuns, 6/06/2025

JParis

All that shows is what we've all know for years...iso gcode is maddening
 ;D
Funny Funny x 2 View List

Tim Johnson

Quote from: JParis on February 27, 2023, 08:34 AMAll that shows is what we've all know for years...iso gcode is maddening
 ;D
Especially on Okuma!!!
Funny Funny x 2 Thank  You Thank You x 1 View List
FJB

YoDoug

Quote from: Tim Johnson on February 27, 2023, 11:56 AMEspecially on Okuma!!!

Did you end up going with the Okuma horizontal?
"In all my years here and on the old forum I have heard, and likely said, some pretty unhinged stuff. But congrats, you're the new leader in clubhouse."  - ghuns, 6/06/2025

Tim Johnson

Quote from: YoDoug on February 27, 2023, 01:28 PMDid you end up going with the Okuma horizontal?
It will be either Okuma or Makino. I'm going to the Okuma tech center on Thursday for some education and hopefully learn some Kipware editing. There is a lot of redundant edits to be made and Kipware stated that they didn't know how to configure Okuma's Dprint, but for the most part the toolpaths aren't changed much. I was surprised at that. The program router got pounded though. I also have questions about their options. A lot of the options are standard on Fanuc controls.

Quality wise I don't see much difference between the two horizontals and Okuma is much less costly at this point but I'm sure Makino will put up a fight. I think the Okuma people are more knowledgeable about their products than Makino and this Thursday I will find out more. We are a Fanuc shop though and that does carry some weight.
FJB

YoDoug

Quote from: Tim Johnson on February 27, 2023, 02:10 PMIt will be either Okuma or Makino. I'm going to the Okuma tech center on Thursday for some education and hopefully learn some Kipware editing. There is a lot of redundant edits to be made and Kipware stated that they didn't know how to configure Okuma's Dprint, but for the most part the toolpaths aren't changed much. I was surprised at that. The program router got pounded though. I also have questions about their options. A lot of the options are standard on Fanuc controls.

Quality wise I don't see much difference between the two horizontals and Okuma is much less costly at this point but I'm sure Makino will put up a fight. I think the Okuma people are more knowledgeable about their products than Makino and this Thursday I will find out more. We are a Fanuc shop though and that does carry some weight.

Okuma Dprint is called Read/Write/Get/Put. It's pretty easy to use. The main difference is you can actually read data in from RS232 or a text file that is initiated by Gcode. If you have any questions send me a PM. I have a program I wrote that loops through the offsets and writes them to a text file so you can copy/paste them into your program, similar to G10's in a fanuc. It eliminates the fat-finger typo possibility. I can send you program so you can see what the code looks like.
"In all my years here and on the old forum I have heard, and likely said, some pretty unhinged stuff. But congrats, you're the new leader in clubhouse."  - ghuns, 6/06/2025

Tim Johnson

Quote from: YoDoug on February 27, 2023, 02:30 PMOkuma Dprint is called Read/Write/Get/Put. It's pretty easy to use. The main difference is you can actually read data in from RS232 or a text file that is initiated by Gcode. If you have any questions send me a PM. I have a program I wrote that loops through the offsets and writes them to a text file so you can copy/paste them into your program, similar to G10's in a fanuc. It eliminates the fat-finger typo possibility. I can send you program so you can see what the code looks like.
Thanks. I'm sort of going blind into this session with Gosiger but I'm scheduled for all day so I'm expecting to know what we're getting into by the time I'm heading home.

Like Like x 1 View List
FJB

Tim Johnson

Quote from: YoDoug on February 27, 2023, 01:28 PMDid you end up going with the Okuma horizontal?
It's almost 100% that we will be getting the Okuma MA-8000H horizontal. We should have it here in October. Gosiger is going get the Kipware software setup for us. There also is a CNC Software post writer that has an office at the Okuma site in North Carolina . I was mailed his contact info.
FJB

YoDoug

Quote from: Tim Johnson on March 03, 2023, 11:00 AMIt's almost 100% that we will be getting the Okuma MA-8000H horizontal. We should have it here in October. Gosiger is going get the Kipware software setup for us. There also is a CNC Software post writer that has an office at the Okuma site in North Carolina . I was mailed his contact info.

Very nice. If you need anything from me shoot me PM. I have a lot of custom macros that can help save time. The offset output macro is great. I also have a Custom macro that mimics the Okuma Fixture Offset Function if your machine doesn't have the option. It uses the same inputs as the Okuma option so most CAM software posts will already handle the call correctly.
Like Like x 1 View List
"In all my years here and on the old forum I have heard, and likely said, some pretty unhinged stuff. But congrats, you're the new leader in clubhouse."  - ghuns, 6/06/2025

Tim Johnson

I'm not seeing Okuma Fixture Offset Function on our list but every tool has three offsets available. It also sucks the coolant out of the tool holder before a tool change which will keep the tool storage area a lot cleaner. Every option that I listed that I would need is standard. I asked him what the max tapping speed was and he stated "Well you are getting a 12000 rpm spindle". I had to laugh at that one.
FJB