<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
	<channel>
		<title>Development: a random enough lottery picking script</title>
		<link>/blogentry/193575</link>
		<atom:link href="https://www.lotterypost.com/rss/blogcomments/193575" rel="self" type="application/rss+xml" />
		<description>hypersoniq's Blog: Development: a random enough lottery picking script</description>
		<dc:language>en-us</dc:language>
		<generator>Lottery Post RSS Generator</generator>
		<item>
			<title>Original Blog Entry: Development: a random enough lottery picking script</title>
			<link>/blogentry/193575</link>
			<guid isPermaLink="true">/blogentry/193575</guid>
			<pubDate>Mon, 28 Jul 2025 02:41:11 GMT</pubDate>
			<dc:creator>hypersoniq</dc:creator>
			<description><![CDATA[<p>I wonder how that would look in Python and what functions would need to be written..<br /><br />For the white balls in a jackpot game like Mega Millions, it is as easy as<br /><br />population = range(1, 71)<br /><br />k = 5<br /><br />unique_random_numbers = random.sample(population, k)<br /><br />print( unique_random_numbers )<br /><br />Where population is the range of possible numbers and k is the number of balls you want to pick.<br /><br />But this would be a bit different for a pick 3 game, and for a pick 5 game...<br /><br />It might be better to create a function and call it 3 or 5 different times (emulating a mechanical draw)<br /><br />Then there is the question of how random is random enough?<br /><br />Built in PRNG of Python?<br /><br />Using the entropy stack from the local Operating System? Caveat is if the stack gets depleted, it defaults back to PRNG...<br /><br />Remote API call(s) to an external source such as random.org?<br /><br />So the plan is to create this script, but replace the population range with a list of numbers that were classified as neutral from my last script. In this way I can try adding some randomness to the phase 2 selection process.<br /><br />For example, cutting the hots and colds from the last script, this leaves 5 to 7 neutrals in each position. So it would basically generate a home brew quick pick using the subset of all possible balls that classified as neutral in the previous step.<br /><br />I don&#x27;t think this will take too long to write, but it is the details that are important. My current pick 3 selections (769 mid day and 045 eve) have their last draws on Thursday. I should be able to try a custom QP for the next week.<br /><br />The entire Cash 4 Life test is 100% funded with house money, as will be the next 2 weeks of the pick 3. It was nice to get a shot at playing for free. Hope it happens again sometime soon.... &#x5b;&#xa0;<a href="/blogentry/193575">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>Blog Entry</category>
			<category>hypersoniq</category>
			<wfw:comment>https://www.lotterypost.com/blogentry/193575</wfw:comment>
		</item>
	</channel>
</rss>

