Gentoo Archives: gentoo-user

From: Alan Grimes <ALONZOTG@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: [OT] How to be a penguin.
Date: Tue, 31 May 2016 13:32:32
Message-Id: 574D9271.9020906@verizon.net
In Reply to: Re: [gentoo-user] Re: [OT] How to be a penguin. by "J. Roeleveld"
1 J. Roeleveld wrote:
2 > On Monday, May 30, 2016 08:57:01 PM Alan Grimes wrote:
3 >> Gregory Woodbury wrote:
4 >>> What the...?
5 >>> Do you have every package there is installed? The worst updates I
6 >>> have seen
7 >>> are only 40-50 packages. 403 being 25% implies around 1600 - 1700
8 >>> packages.
9 >>> Actually that seems about right, but why are you getting that many
10 >>> updates? You
11 >>> may have maladjusted USE flags or keywords to make portage think that many
12 >>> need an update. I'm running with ~amd64 set and I check updates once
13 >>> a day.
14 >> Well, I'm running some stupid number theory code that uses 110% of my
15 >> cpu and ram,
16 > If it's stupid, why waste CPU and RAM on it?
17 > Or is it only stupid because you don't understand it? Just like, in your
18 > opinion, Linux is stupid because you don't understand it?
19
20 Looking for numbers that are palindromes in both binary and ternary. It
21 is an exceptionally sparse set.
22
23 0
24
25 1
26
27 6643
28 1100111110011
29 100010001
30 size: 13 popcnt: 9
31
32 1422773
33 101011011010110110101
34 2200021200022
35 size: 21 popcnt: 13
36
37 5415589
38 10100101010001010100101
39 101012010210101
40 size: 23 popcnt: 10
41
42 90396755477
43 1010100001100000100010000011000010101
44 22122022220102222022122
45 size: 37 popcnt: 12
46
47 381920985378904469
48 10101001100110110110001110011011001110001101101100110010101
49 2112200222001222121212221002220022112
50 size: 59 popcnt: 32
51
52 1922624336133018996235
53
54 11010000011100111000101110001110011011001110001110100011100111000001011
55
56 122120102102011212112010211212110201201021221
57
58 size: 71 popcnt:
59 36
60
61
62 >>> number discovered by me and a my fast cpu and a marginally stupid
63 algorithm.
64
65 2004595370006815987563563
66
67 110101000011111010101010100101111011110111011110111101001010101010111110000101011
68
69 221010112100202002120002212200021200202001211010122
70
71 size: 81 popcnt:
72 49
73
74
75 >>> number discovered by evil roomate using slow cpu and good algorithm
76 8022581057533823761829436662099
77
78 1100101010000100101101110000011011011111111011000011100001101111111101101100000111011010010000101010011
79
80 21000020210011222122220212010000100001021202222122211001202000012
81
82 size: 103 popcnt:
83 55
84
85
86
87 >>> this discovered by me on my cpu using keith's algorithm implemented
88 by me.
89
90 392629621582222667733213907054116073
91
92 10010111001111000100010100010100000011011011000101011011100000111011010100011011011000000101000101000100011110011101001
93
94 122102120011102000101101000002010021111120010200000101101000201110021201221
95
96 size: 119 popcnt:
97 54
98
99
100
101 32456836304775204439912231201966254787
102
103 11000011010101111010110010100010010011011010101001101000001000100010000010110010101011011001001000101001101011110101011000011
104
105 1222100201002211120110022121002012121101011212102001212200110211122001020012221
106
107 size: 125 popcnt:
108 57
109
110
111
112 428027336071597254024922793107218595973
113
114 101000010000000110001000011111100101011110011100001110100011100010001110001011100001110011110101001111110000100011000000010000101
115
116 222001200110022102121001000200200202022111220202002002000100121201220011002100222
117
118 size: 129 popcnt:
119 57
120
121
122
123 1597863243206403857787246920544522912361
124
125 10010110010000110010100010001000111010010000111000010010100010111011101000101001000011100001001011100010001000101001100001001101001
126
127 10121021220121202021201220210001211020122122102011210001202210212020212102212012101
128
129 size: 131 popcnt:
130 52
131
132
133
134 30412638162199251273509758127730300026189
135
136 101100101011111111011010000110101101100101010100101101010000001000000000100000010101101001010101001101101011000010110111111110101001101
137
138 2112120210211212121000000011202022210210101010120122202021100000001212121120120212112
139
140 size: 135 popcnt:
141 66
142
143
144
145 32345684491703244980406880704479906642045
146 101111100001110001100000011101111000001111001000110100111001010101101101010100111001011000100111100000111101110000001100011100001111101
147 2200221111210202000010122020002221112212101012122111222000202210100002020121111220022
148 size: 135 popcnt: 68
149
150 24014998963383302600955162866787153652444049
151 1000100111010110110111101001100011100110100000011011001010100101011001100011001101010010101001101100000010110011100011001011110110110101110010001
152 2202021211210100110100002202101000110000220121210220000110001012022000010110010121121202022
153 size: 145 popcnt: 72
154
155 I'm currently searching the area around 3^95/ 2^151.
156
157 I expect a hit around 3^99 but I need to exhaustively search everything
158 that can't be excluded a-priory up to there.
159
160 The distribution, is exponential with a mean logarithmic gap of about 6.3.
161
162 So yeah, all six cores are fully committed on this problem. =P
163
164 >> So right now I'm using the -30% of my cpu remaining
165 >> to run e-builds. =P (205/250 atm...)
166 > Guess I was right, number theory is too difficult. Percentages especially...
167
168 It's called a joke, mofo.
169
170 --
171 IQ is a measure of how stupid you feel.
172
173 Powers are not rights.

Replies

Subject Author
[gentoo-user] Re: [OT] How to be a penguin. James <wireless@×××××××××××.com>